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)

defect
Not set
normal

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
BTW, rest of this file is also rather optimistic about malloc never failing.
Assignee: nobody → roland.mainz
Component: General → GFX: Xlib
Product: Firefox → Core
QA Contact: general → xlib
Version: unspecified → Trunk
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
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.