Closed Bug 1612667 Opened 9 months ago Closed 9 months ago

js/src/jit/*CacheIRCompiler.cpp: format not a string literal and no format arguments [-Wformat-security]

Categories

(Core :: JavaScript Engine: JIT, enhancement)

72 Branch
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: mozilla-bugzilla, Assigned: mozilla-bugzilla)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0

Steps to reproduce:

Build firefox (with --enable-debug --enable-profiling)

Actual results:

Various 'format not a string literal and no format arguments' warnings

Expected results:

No such warnings

(I'll try and provide a patch)

Component: Untriaged → JavaScript Engine: JIT
Product: Firefox → Core

To fix 'format not a string literal and no format arguments' warnings

Assignee: nobody → mozilla-bugzilla
Pushed by aiakab@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/113b0a453411
use explicit format string in JitSpew calls r=iain
Status: UNCONFIRMED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
You need to log in before you can comment on or make changes to this bug.