Closed Bug 334188 Opened 19 years ago Closed 19 years ago

nsNSSASN1PrintableItem::SetData misuses nsMemory::Realloc

Categories

(Core Graveyard :: Security: UI, defect)

x86
Linux
defect
Not set
critical

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.
*** 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
Whiteboard: [CID 663]
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.