| ccdf8a55 | 08-Jun-2026 |
Jim Jagielski <jimjag@gmail.com> |
Fix crash, uninitialized-return, and buffer bugs in update check and macOS x86 bridge
updateprotocol.cxx: guard XNodeList dereferences so a swallowed XPathException no longer leaves a null reference
Fix crash, uninitialized-return, and buffer bugs in update check and macOS x86 bridge
updateprotocol.cxx: guard XNodeList dereferences so a swallowed XPathException no longer leaves a null reference to be dereferenced (crash on malformed/hostile update descriptors); clear the list before the relnote query so a thrown exception can't leave us iterating the previous (sources) node list.
cpp2uno.cxx: the queryInterface fast-path guard used 'break', which exited the switch and skipped the default case, returning an uninitialized typelib_TypeClass. Guard the block with 'if (bHasHiddenReturn)' instead so control falls through to default and eRet is always assigned.
updatecheck.cxx (getImageFromFileName): use bitwise '|' instead of logical '||' when combining osl_Process flags; rewrite the trailing CR/LF trim so it never reads/writes before the start of the buffer (e.g. when osl_readFile returns 0 bytes).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
show more ...
|
| 51a1e52e | 10-Dec-2013 |
Herbert Dürr <hdu@apache.org> |
#i122195# provide proper type_info for UNO exceptions on OSX 64bit
on OSX 64bit the class_type_info classes are specified in http://refspecs.linuxbase.org/cxxabi-1.86.html#rtti but these details are
#i122195# provide proper type_info for UNO exceptions on OSX 64bit
on OSX 64bit the class_type_info classes are specified in http://refspecs.linuxbase.org/cxxabi-1.86.html#rtti but these details are not generally available in a public header of most development environments. So we define them locally.
git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1549940 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|