Closed Bug 349821 Opened 19 years ago Closed 15 years ago

jsfile.c: crash getting position of not seekable file

Categories

(Core :: JavaScript Engine, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED WONTFIX

People

(Reporter: Mook, Unassigned)

References

()

Details

(Whiteboard: [ccbr][sg:nse (npob)])

(See URL) In jsfile.c, when getting property FILE_POSITION, if the file is not seekable it attempts to issue a warning. However, the format string includes a %s (to be substituted with the file name) but does not provide an argument. This causes a random read of memory and, in my case, crash. Reproducible: Always (Setting severity to minor as it's NPOB)
Whiteboard: [ccbr]
jsfile.c is going away in bug 482810, or before then. It's broken in many ways, hasn't compiled in months, and probably isn't worth fixing.
Depends on: 482810
Whiteboard: [ccbr] → [ccbr][sg:nse (npob)]
jsfile.c has been removed.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.