Closed
Bug 256757
Opened 21 years ago
Closed 21 years ago
misused printf causes crash [@ nsXPCWrappedJSClass::CheckForException]
Categories
(Core :: XPConnect, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jruderman, Assigned: jruderman)
Details
(Keywords: crash, fixed-aviary1.0, fixed1.7.5)
Crash Data
Attachments
(1 file, 1 obsolete file)
|
1.28 KB,
patch
|
Details | Diff | Splinter Review |
This line in nsXPCWrappedJSClass::CheckForException crashes when my extension
causes an error:
printf(text);
because text contains "C:\Documents%20and%20Settings\...".
| Assignee | ||
Comment 1•21 years ago
|
||
| Assignee | ||
Updated•21 years ago
|
Attachment #156914 -
Flags: review?(jst)
Comment 2•21 years ago
|
||
Comment on attachment 156914 [details] [diff] [review]
patch: replace printf(...) with fputs(..., stderr)
r+sr=jst, but why make this go to stderr now when it used to go to stdout? I'd
say s/stderr/stdout/ in the diff unless there are good reasons not to.
Attachment #156914 -
Flags: superreview+
Attachment #156914 -
Flags: review?(jst)
Attachment #156914 -
Flags: review+
| Assignee | ||
Comment 3•21 years ago
|
||
Attachment #156914 -
Attachment is obsolete: true
| Assignee | ||
Comment 4•21 years ago
|
||
Checked in on trunk.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Version: 1.7 Branch → Trunk
| Assignee | ||
Comment 5•21 years ago
|
||
Since this was a safe crash/security fix, I got a=tor and checked in on 1.7.x
and aviary.
Keywords: fixed-aviary1.0,
fixed1.7.x
Updated•14 years ago
|
Crash Signature: [@ nsXPCWrappedJSClass::CheckForException]
You need to log in
before you can comment on or make changes to this bug.
Description
•