Closed Bug 336143 Opened 18 years ago Closed 10 years ago

Missing out-of-memory check at gfx/src/qt/nsDeviceContextQt.cpp:198

Categories

(Core Graveyard :: Ports: Qt, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: vda, Assigned: zack)

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

    QPainter *gc = new QPainter();

    // init the nsDrawingSurfaceQt
    if (pDev)
      rv = surf->Init(pDev,gc);
    else
      rv = surf->Init(gc,10,10,0);

gc can be NULL. This is never checked

Reproducible: Always
Assignee: nobody → general
Component: General → GFX
Product: Firefox → Core
QA Contact: general → ian
Version: unspecified → Trunk
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee: general → zack
Component: GFX → Ports: Qt
QA Contact: ian → cbiesinger
QA Contact: cbiesinger → ports-qt
Product: Core → Core Graveyard
This bug has been buried in the graveyard and has not been updated in over 5 years. It is probably safe to assume that it will never be fixed, so resolving as WONTFIX.

[Mass-change filter: graveyard-wontfix-2014-09-24]
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.