Issue 31063 - Memory error in PropertySetMerger.cxx
Summary: Memory error in PropertySetMerger.cxx
Status: CLOSED FIXED
Alias: None
Product: xml
Classification: Code
Component: code (show other issues)
Version: current
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: jogi
QA Contact: issues@xml
URL:
Keywords:
Depends on:
Blocks: 30874
  Show dependency tree
 
Reported: 2004-07-03 15:27 UTC by foskey
Modified: 2004-12-03 13:56 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description foskey 2004-07-03 15:27:57 UTC
xmloff/source/core/PropertySetMerger.cxx
$ cat CVS/Repository
xml/xmloff/source/core

There is a problem with the logic:

/data/office/xmloff/source/core/PropertySetMerger.cxx:270: warning:
`com::sun::star::beans::Property*pProperties' might be used uninitialized in
this function

pProperties is never set:

	Property* pProperties;

	for( nIndex = 0; nIndex < nCount1; nIndex++ )
		*pProperties++ = *pProps1++;

	for( nIndex = 0; nIndex < nCount2; nIndex++ )
		*pProperties++ = *pProps2++;

	return aProperties;
Comment 1 jogi 2004-07-19 07:01:22 UTC
MIB: An issue only one of 'xmloff' can verify correctly.
Comment 2 michael.brauer 2004-07-19 13:55:35 UTC
.
Comment 3 michael.brauer 2004-10-14 11:10:02 UTC
Resolved in CWS oasisbf1
Comment 4 michael.brauer 2004-10-22 07:34:16 UTC
This issue decribed a implementation detail. It cannot be verified in a
different way when checking the source code ...

reopened ...
Comment 5 michael.brauer 2004-10-22 07:34:54 UTC
.. reassigned ...
Comment 6 michael.brauer 2004-10-22 07:35:19 UTC
... resolved again
Comment 7 michael.brauer 2004-10-22 07:36:07 UTC
I have verified that my source code change is contained in the CWS source code.
Comment 8 jogi 2004-12-03 13:56:30 UTC
closing (m64)