Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | remove implicit rtl::O*String conversions to char/utf-16 pointers | ||
---|---|---|---|
Product: | General | Reporter: | hdu <hdu> |
Component: | code | Assignee: | hdu <hdu> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | Normal | ||
Priority: | P3 | CC: | issues |
Version: | 4.0.0 | ||
Target Milestone: | 4.1.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | TASK | Latest Confirmation in: | 4.0.0 |
Developer Difficulty: | --- | ||
Issue Depends on: | |||
Issue Blocks: | 123107, 122208 |
Description
hdu@apache.org
2013-08-19 16:24:44 UTC
"hdu" committed SVN revision 1515767 into branches/rejuvenate01: #i123068# remove implicit conversions from rtl strings to their elements Fixed with the commit above. It shows that additionally to the three problem categories outlined above an implicit conversion from the reference counted rtl strings to unmanaged plain pointers introduces the risk that lifetime issues for the character buffer are introduced. An example for that risk is the assignment to SfxSlot's pName member in SfxShell::setVerbs(). It was converted 1:1 for now but the lifetime of the buffer is so suspicious that it needs to be analyzed "hdu" committed SVN revision 1516138 into branches/rejuvenate01: #i123068# remove more implicit conversions from rtl strings to their elements "hdu" committed SVN revision 1516387 into branches/rejuvenate01: #i123068# replace implicit conversion in migration/wizard "hdu" committed SVN revision 1546390 into trunk: #i123068# remove implicit conversions from rtl strings to their elements "hdu" committed SVN revision 1546578 into trunk: #i123068# allow OString argument for tools' DbgOut() function "hdu" committed SVN revision 1564650 into trunk: #i123068# remove implicit conversion from aUTF8String to its char pointer Closing the resolved issue. |