Closed Bug 303432 Opened 19 years ago Closed 19 years ago

nsPrintSettings::GetPrinterName lacks an OOM check

Categories

(Core :: Printing: Output, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bastiaan, Assigned: bastiaan)

Details

(Keywords: fixed1.8)

Attachments

(1 file)

nsPrintSettings::GetPrinterName should return OOM (and not NS_OK) when
allocation fails.
Attached patch fixSplinter Review
Attachment #191604 - Flags: superreview?(dmose)
Attachment #191604 - Flags: review?(dmose)
Comment on attachment 191604 [details] [diff] [review]
fix

r+sr=dmose
Attachment #191604 - Flags: superreview?(dmose)
Attachment #191604 - Flags: superreview+
Attachment #191604 - Flags: review?(dmose)
Attachment #191604 - Flags: review+
Attachment #191604 - Flags: approval1.8b4?
Checked in on (1.9) trunk by timeless (2005-08-12 16:11). Leaving this open,
because I don't know whether or not drivers want this for 1.8b4.
Comment on attachment 191604 [details] [diff] [review]
fix

this isn't really a blocker and we really don't care about taking these kinds
of fixes so late in the game. Soon we'll start saying no.
Attachment #191604 - Flags: approval1.8b4? → approval1.8b4+
MOZILLA_1_8_BRANCH:
Checking in gfx/src/nsPrintSettingsImpl.cpp;
/cvsroot/mozilla/gfx/src/nsPrintSettingsImpl.cpp,v  <-- 
nsPrintSettingsImpl.cppnew revision: 1.24.20.1; previous revision: 1.24
done
Keywords: fixed1.8
Thanks biesi!
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: