nsPrintOptionsImpl member mPrintSilent is not initialised

VERIFIED FIXED

Status

()

Core
Printing: Output
VERIFIED FIXED
17 years ago
17 years ago

People

(Reporter: Adam Lock, Assigned: dcone (gone))

Tracking

Trunk
x86
Windows 2000
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

17 years ago
The mPrintSilent member of nsPrintOptionsImpl is not initialised in its 
constructor. The first caller to GetPrintSilent gets garbage.

http://lxr.mozilla.org/seamonkey/source/gfx/src/nsPrintOptionsImpl.cpp
(Assignee)

Comment 1

17 years ago
Created attachment 41266 [details] [diff] [review]
Patch to initialize

Comment 2

17 years ago
r=peterl

Comment 3

17 years ago
sr=attinasi
(Assignee)

Comment 4

17 years ago
Checked in fix
Status: NEW → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → FIXED

Comment 5

17 years ago
Adam, can you verify this one and mark this VERIFIED-FIXED for QA...this is code
level stuff..

thanks
(Reporter)

Comment 6

17 years ago
Verifying that mPrintSilent is initialised during construction.

http://lxr.mozilla.org/seamonkey/source/gfx/src/nsPrintOptionsImpl.cpp#111
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.