Closed
Bug 985858
Opened 10 years ago
Closed 10 years ago
Snapshots.cpp:411:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
Categories
(Core :: JavaScript Engine: JIT, defect)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
mozilla31
People
(Reporter: dholbert, Assigned: dholbert)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
842 bytes,
patch
|
nbp
:
review+
|
Details | Diff | Splinter Review |
New build warning, introduced by bug 962555: ============= js/src/jit/Snapshots.cpp:411:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(fp, ValTypeToString(p.type)); ^~~~~~~~~~~~~~~~~~~~~~~ ============= (I'm using clang 3.4 on Linux.)
Assignee | ||
Updated•10 years ago
|
Blocks: buildwarning
Assignee | ||
Comment 1•10 years ago
|
||
IIRC we can fix this by adding "%s", before the ValTypeToString invocation.
Assignee | ||
Comment 2•10 years ago
|
||
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Attachment #8393998 -
Flags: review?(nicolas.b.pierron)
Updated•10 years ago
|
Attachment #8393998 -
Flags: review?(nicolas.b.pierron) → review+
Assignee | ||
Comment 3•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/0d51a9df37b8
Flags: in-testsuite-
Comment 4•10 years ago
|
||
Or just fputs?
Comment 5•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/0d51a9df37b8
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
You need to log in
before you can comment on or make changes to this bug.
Description
•