To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=81258
                 Issue #|81258
                 Summary|valgrind: value used before unitialised in ctor chain
               Component|Word processor
                 Version|OOo 2.3.0 RC1
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|os
             Reported by|cmc





------- Additional comments from [EMAIL PROTECTED] Tue Sep  4 13:40:42 +0000 
2007 -------
i.e. 

==6731== Conditional jump or move depends on uninitialised value(s)
==6731==    at 0x223CCE62: SwContentViewConfig::Load() (usrpref.hxx:202)
==6731==    by 0x223CD29B: SwContentViewConfig::SwContentViewConfig(unsigned
char, SwMasterUsrPref&) (usrpref.cxx:158)
==6731==    by 0x223CD497: SwMasterUsrPref::SwMasterUsrPref(unsigned char)
(usrpref.cxx:91)
==6731==    by 0x2239E323: SwModule::GetUsrPref(unsigned char) const
(apphdl.cxx:1072)
==6731==    by 0x223B0E66: SwDocShell::SubInitNew() (docshini.cxx:916)
==6731==    by 0x223B1217:
SwDocShell::InitNew(com::sun::star::uno::Reference<com::sun::star::embed::XStorage>
const&) (docshini.cxx:295)

nFldUpdateFlags of SwMasterUsrPref is used in SwContentViewConfig::Load from
aContentConfig ctor but nFldUpdateFlags is in the member initialization list
*after* aContentConfig is called, so it is used uninited. 

Patch added to reorder the members so that it can be initialized before
aContentConfig's ctor is called so as to make it safe

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to