To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=76133
Issue #|76133
Summary|valgrind: Invalid read of size 2 in SwpHints::Insert
Component|Word processor
Version|OOo 2.2
Platform|All
URL|
OS/Version|All
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|PATCH
Priority|P3
Subcomponent|code
Assigned to|mru
Reported by|cmc
------- Additional comments from [EMAIL PROTECTED] Thu Apr 5 14:25:54 +0000
2007 -------
i.e. sw/source/core/txtnode/thints.cxx
// I need this value later on for notification but the pointer may become
// invalid
const xub_StrLen nHintEnd = *pHtEnd;
...
BuildPortions( rNode, *pHint, nMode );
if ( nHtStart < nHintEnd ) // skip merging for 0-length attributes
MergePortions( rNode );
and thints.cxx:2141 is the if ( nHtStart < nHintEnd ) line in the following
attached valgrind trace. Also possible patch (unset patch if invalid solution)
also attached.
---------------------------------------------------------------------
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]