Apache OpenOffice (AOO) Bugzilla – Issue 65462
EnsureNoFinalSlash and NULL argument
Last modified: 2008-08-18 15:11:59 UTC
Hi, rtl/source/bootstrap.cxx contains several instances of oslSecurity security = osl_getCurrentSecurity(); osl_getConfigDir(security, ppValue); EnsureNoFinalSlash(ppValue); -> if the osl_getCurrentSecurity fails for some reason (like #i65004#), Ensure... function can crash because it doesn't check its argument and it dereferences it.
.
*** Issue 74242 has been marked as a duplicate of this issue. ***
fixed as of sal/rtl/source/bootstrap.cxx:1.43