Closed
Bug 336131
Opened 19 years ago
Closed 18 years ago
Missing out-of-memory check at gfx/src/xlibrgb/xlibrgb.c:529
Categories
(Core Graveyard :: GFX: Xlib, defect)
Core Graveyard
GFX: Xlib
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: vda, Assigned: roland.mainz)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20060320 Firefox/1.5
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20060320 Firefox/1.5
colors = malloc(sizeof(XColor) * visual->colormap_size);
for (i=0; i < visual->colormap_size; i++){
colors[i].pixel = i;
}
Reproducible: Always
| Reporter | ||
Comment 1•19 years ago
|
||
BTW, rest of this file is also rather optimistic about malloc never failing.
Updated•19 years ago
|
Assignee: nobody → roland.mainz
Component: General → GFX: Xlib
Product: Firefox → Core
QA Contact: general → xlib
Version: unspecified → Trunk
Comment 2•18 years ago
|
||
Gtk1/xlib widget code has been removed on trunk and this bug doesn't seem
like a branch candidate.
-> WONTFIX
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → WONTFIX
Updated•17 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•