Closed
Bug 334188
Opened 19 years ago
Closed 19 years ago
nsNSSASN1PrintableItem::SetData misuses nsMemory::Realloc
Categories
(Core Graveyard :: Security: UI, defect)
Tracking
(Not tracked)
VERIFIED
DUPLICATE
of bug 283565
People
(Reporter: timeless, Assigned: KaiE)
References
()
Details
(Keywords: coverity, crash, Whiteboard: [CID 663])
proper behavior for Realloc is:
void *a = realloc(b, size);
if (!a) {
/* handle oom */
} else {
b = a;
}
the code doesn't do that.
Comment 1•19 years ago
|
||
*** This bug has been marked as a duplicate of 283565 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
grumble. this is what happens when i don't post patches to bugs i file. they come back to haunt me years later.
Status: RESOLVED → VERIFIED
Updated•19 years ago
|
Whiteboard: [CID 663]
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•