Closed Bug 336155 Opened 20 years ago Closed 18 years ago

Missing out-of-memory check at gfx/src/ps/nsPostScriptObj.cpp:297

Categories

(Core Graveyard :: GFX, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: vda, Unassigned)

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 mPrintContext = new PSContext(); memset(mPrintContext, 0, sizeof(struct PSContext_)); There more of the same later in this file: URL_Struct_* url = new URL_Struct_; memset(url, 0, sizeof(URL_Struct_)); ... ncode = new PRInt32; *ncode = code; ... linfo = new PS_LangGroupInfo; linfo->mEncoder = nsnull; linfo->mU2Ntable = nsnull; Reproducible: Always
Assignee: nobody → general
Component: General → GFX
Product: Firefox → Core
QA Contact: general → ian
Version: unspecified → Trunk
nsPostScriptObj.cpp is gone in the trunk.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → INVALID
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.