To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=105117
                 Issue #|105117
                 Summary|sw: lcl_FindDdeBookmark logic wrong
               Component|Word processor
                 Version|DEV300m58
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|ama
             Reported by|cmc





------- Additional comments from [email protected] Wed Sep 16 09:20:40 +0000 
2009 -------
if(pBkmk &&
    (bCaseSensitive && (pBkmk->GetName() == sNameLc)) ||
    (!bCaseSensitive && GetAppCharClass().lower(pBkmk->GetName()) == String(
sNameLc ))) 
    return pBkmk;

default operator precedence binds this as...

if (
    (pBkmk && (bCaseSensitive && (pBkmk->GetName() == sNameLc)))
    ||
    (!bCaseSensitive && GetAppCharClass().lower(pBkmk->GetName()) == String(
sNameLc ))
   )
    return pBkmk;

leaving a potentially NULL pBkmk getting dereferenced in the 2nd branch

---------------------------------------------------------------------
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