Closed
Bug 336141
Opened 18 years ago
Closed 2 years ago
Missing out-of-memory check at gfx/src/qt/nsDeviceContextQt.cpp:115
Categories
(Core Graveyard :: Ports: Qt, defect)
Core Graveyard
Ports: Qt
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
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 pWidget = new QWidget(); bCleanUp = PR_TRUE; ... QStyle &style = pWidget->style(); mScrollbarWidth = mScrollbarHeight = style.pixelMetric(QStyle::PM_ScrollBarExtent); DeviceContextImpl::CommonInit(); if (bCleanUp) delete pWidget; Reproducible: Always
Updated•18 years ago
|
Assignee: nobody → general
Component: General → GFX
Product: Firefox → Core
QA Contact: general → ian
Version: unspecified → Trunk
Updated•18 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•18 years ago
|
Assignee: general → zack
Component: GFX → Ports: Qt
QA Contact: ian → cbiesinger
Reporter | ||
Comment 1•18 years ago
|
||
pWidget is never checked for NULL, pWidget->style() may deref a NULL ptr
Updated•18 years ago
|
QA Contact: cbiesinger → ports-qt
Updated•16 years ago
|
Product: Core → Core Graveyard
Comment 2•2 years ago
|
||
This bug lies at rest in the graveyard.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•