• Michael Stahl's avatar
    xmloff: fix stack-use-after-return in SvXMLExport::exportDoc() · ee599ea4
    Michael Stahl yazdı
    PropertySetInfo(PropertyMapEntry const * pMap) stores the pointers,
    and its lifetime is controlled by refcounting, so the lifetime
    of aInfoMap can't be automatic.
    
    ERROR: AddressSanitizer: stack-use-after-return on address ...
    ... is located in stack of thread T46
    at offset 224 in frame SvXMLExport::exportDoc(xmloff::token::XMLTokenEnum)
    
    This frame has 39 object(s):
      ...
      [224, 288) 'aInfoMap' <== Memory access at offset 224 is inside this variable
    
    Change-Id: I4eaa9d38bab708b222d999b0982100d7ef97e95c
    ee599ea4
Adı
Son kayıt (commit)
Son güncelleme
..
dtd Loading commit data...
inc Loading commit data...
qa Loading commit data...
source Loading commit data...
util Loading commit data...
CppunitTest_xmloff_uxmloff.mk Loading commit data...
CustomTarget_generated.mk Loading commit data...
JunitTest_xmloff_unoapi.mk Loading commit data...
Library_xo.mk Loading commit data...
Library_xof.mk Loading commit data...
Makefile Loading commit data...
Module_xmloff.mk Loading commit data...
Package_dtd.mk Loading commit data...
README.md Loading commit data...