Closed
Bug 504453
Opened 17 years ago
Closed 17 years ago
nsAttrAndChildArray::GrowBy worries coverity
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
People
(Reporter: timeless, Assigned: timeless)
References
(Blocks 1 open bug, )
Details
(Keywords: coverity)
Attachments
(1 file)
|
956 bytes,
patch
|
sicking
:
review+
sicking
:
superreview+
|
Details | Diff | Splinter Review |
the code currently touches a pointer that has been realloc'd, which upsets coverity
it also spends time deciding if it should use Realloc or not, but it doesn't have to, realloc will act as malloc if passed a null in pointer:
http://www.mozilla.org/projects/nspr/reference/html/prmem2.html
Attachment #388825 -
Flags: review?(jonas)
Attachment #388825 -
Flags: superreview+
Attachment #388825 -
Flags: review?(jonas)
Attachment #388825 -
Flags: review+
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Blocks: coverity-analysis
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•