Closed Bug 1646407 Opened 3 months ago Closed 3 months ago

Fix a snprintf complaint in nsTimerImpl.cpp

Categories

(Core :: XPCOM, defect)

defect

Tracking

()

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: dmajor, Assigned: dmajor)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

No description provided.

We have a clang-plugin check that wants to prefer SprintfLiteral over snprintf, but for some reason this wasn't caught before clang-11. I think it has to do with previous versions not being able to see that buflen was constant, but I'm not really sure.

Pushed by dmajor@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b30e122b5d37
Fix a snprintf complaint in nsTimerImpl.cpp r=njn
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in before you can comment on or make changes to this bug.