Closed
Bug 351744
Opened 18 years ago
Closed 18 years ago
Memory leak in |inFileSearch::SetFilenameCriteria| (inFileSearch.cpp)
Categories
(Other Applications :: DOM Inspector, defect)
Other Applications
DOM Inspector
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: kherron+mozilla, Assigned: db48x)
References
()
Details
(Keywords: coverity, fixed1.8.1.1)
Attachments
(1 file)
724 bytes,
patch
|
db48x
:
review+
Biesinger
:
superreview+
dveditz
:
approval1.8.0.9-
mtschrep
:
approval1.8.1-
dveditz
:
approval1.8.1.1+
|
Details | Diff | Splinter Review |
This is coverity ID 244. Please see the sample URL. The allocation at line 274 is leaked if the test on the next line succeeds (i.e. the parser is at the end of the string being parsed). Additionally, the writes into |buf| aren't bounds-checked, but I don't know if that's really a problem.
Assignee | ||
Comment 1•18 years ago
|
||
Attachment #237315 -
Flags: review?
Assignee | ||
Updated•18 years ago
|
Attachment #237315 -
Flags: review? → review?(timeless)
Assignee | ||
Comment 2•18 years ago
|
||
Comment on attachment 237315 [details] [diff] [review] 351744-1.diff r=timeless via irc
Attachment #237315 -
Flags: superreview?(cbiesinger)
Attachment #237315 -
Flags: review?(timeless)
Attachment #237315 -
Flags: review+
Comment 3•18 years ago
|
||
Comment on attachment 237315 [details] [diff] [review] 351744-1.diff sr=biesi this code should really consider using break; instead of this going variable...
Attachment #237315 -
Flags: superreview?(cbiesinger) → superreview+
Assignee | ||
Updated•18 years ago
|
Assignee: dom-inspector → db48x
Assignee | ||
Comment 4•18 years ago
|
||
Comment on attachment 237315 [details] [diff] [review] 351744-1.diff checked in to the trunk. requesting approval for the 1.8 branches
Attachment #237315 -
Flags: approval1.8.1?
Attachment #237315 -
Flags: approval1.8.0.8?
Comment 5•18 years ago
|
||
Comment on attachment 237315 [details] [diff] [review] 351744-1.diff 181 is closed for RC1.
Attachment #237315 -
Flags: approval1.8.1? → approval1.8.1-
Updated•18 years ago
|
Flags: blocking1.8.1.1?
Comment 6•18 years ago
|
||
Comment on attachment 237315 [details] [diff] [review] 351744-1.diff Ok for FF2+, not worth bothering with in FF150x. a=dveditz for drivers for checking into the 1.8 branch
Attachment #237315 -
Flags: approval1.8.1.1+
Attachment #237315 -
Flags: approval1.8.0.9?
Attachment #237315 -
Flags: approval1.8.0.9-
Comment 7•18 years ago
|
||
Won't block on this, but will take for FF2+
Flags: blocking1.8.1.1? → blocking1.8.1.1-
Assignee | ||
Comment 8•18 years ago
|
||
Checking in layout/inspector/src/inFileSearch.cpp; /cvsroot/mozilla/layout/inspector/src/inFileSearch.cpp,v <-- inFileSearch.cpp new revision: 1.17.6.2; previous revision: 1.17.6.1
Updated•17 years ago
|
QA Contact: timeless → dom-inspector
You need to log in
before you can comment on or make changes to this bug.
Description
•