Closed Bug 413255 Opened 17 years ago Closed 16 years ago

[valgrind] pref_savePref: Conditional jump or move depends on uninitialised value

Categories

(Core :: Preferences: Backend, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9beta4

People

(Reporter: sayrer, Assigned: MatsPalmgren_bugz)

Details

(Keywords: valgrind)

Attachments

(1 file)

==7262== Conditional jump or move depends on uninitialised value(s)
==7262==    at 0x6CEE148: pref_savePref(PLDHashTable*, PLDHashEntryHdr*, unsigned, void*) (prefapi.cpp:364)
==7262==    by 0x4143218: PL_DHashTableEnumerate (pldhash.c:724)
==7262==    by 0x6CEA6F3: nsPrefService::WritePrefFile(nsIFile*) (nsPrefService.cpp:536)
==7262==    by 0x6CEA91C: nsPrefService::SavePrefFileInternal(nsIFile*) (nsPrefService.cpp:461)
==7262==    by 0x6CEA968: nsPrefService::SavePrefFile(nsIFile*) (nsPrefService.cpp:250)
==7262==    by 0x5D7A1A0: nsNavHistory::Observe(nsISupports*, char const*, unsigned short const*) (nsNavHistory.cpp:3586)
==7262==    by 0x415952F: nsObserverList::NotifyObservers(nsISupports*, char const*, unsigned short const*) (nsObserverList.cpp:128)
==7262==    by 0x415A1CB: nsObserverService::NotifyObservers(nsISupports*, char const*, unsigned short const*) (nsObserverService.cpp:181)
==7262==    by 0x5CEC4E7: nsAppStartup::Quit(unsigned) (nsAppStartup.cpp:311)
==7262==    by 0x5CEBCB1: nsAppStartup::ExitLastWindowClosingSurvivalArea() (nsAppStartup.cpp:406)
==7262==    by 0x5CEC36D: nsAppStartup::Observe(nsISupports*, char const*, unsigned short const*) (nsAppStartup.cpp:499)
==7262==    by 0x415952F: nsObserverList::NotifyObservers(nsISupports*, char const*, unsigned short const*) (nsObserverList.cpp:128)
Keywords: valgrind
Version: unspecified → Trunk
STR?
Sorry. 

1.) apply patch from bug 413170
2.) clear profile
3.) print attachment 296882 [details] [details] from bug 411369.
4.) Quit
Attached patch Patch rev. 1Splinter Review
'mDownloadFonts' is never initialized, which causes the default value
for the "print.printer_*.print_downloadfonts" pref to be uninitialized.
Assignee: nobody → mats.palmgren
Status: NEW → ASSIGNED
Attachment #302728 - Flags: superreview?(roc)
Attachment #302728 - Flags: review?(roc)
Flags: blocking1.9?
Flags: blocking1.9? → blocking1.9+
Attachment #302728 - Flags: superreview?(roc)
Attachment #302728 - Flags: superreview+
Attachment #302728 - Flags: review?(roc)
Attachment #302728 - Flags: review+
mozilla/widget/src/xpwidgets/nsPrintSettingsImpl.cpp 	1.43 

-> FIXED
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9beta4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: