• Julien Nabet's avatar
    Resolves: fdo#79137 Crash in oox::vml::InputStream::updateBuffer · 50e72816
    Julien Nabet yazdı
    bt shows:
    Program received signal SIGSEGV, Segmentation fault.
    0x00002aaadba213fb in oox::vml::InputStream::updateBuffer (this=0x8d7fd80) at /home/julien/compile-libreoffice/libreoffice/oox/source/vml/vmlinputstream.cxx:339
    339	    while( (mnBufferPos >= maBuffer.getLength()) && !mxTextStrm->isEOF() )
    (gdb) bt
    0x00002aaadba213fb in oox::vml::InputStream::updateBuffer (this=0x8d7fd80) at /home/julien/compile-libreoffice/libreoffice/oox/source/vml/vmlinputstream.cxx:339
    0x00002aaadba21048 in oox::vml::InputStream::available (this=0x8d7fd80) at /home/julien/compile-libreoffice/libreoffice/oox/source/vml/vmlinputstream.cxx:326
    0x00002aaacf5a0249 in sax_fastparser::FastSaxParserImpl::parseStream (this=0x89aea30, maStructSource=...)
    at /home/julien/compile-libreoffice/libreoffice/sax/source/fastparser/fastparser.cxx:810
    
    Indeed, mxTextStrm is invalid, so let's test its validity in InputStream constructor
    
    Change-Id: Ifed79603e33b64d11eb07656df17824b7f98058f
    50e72816
Adı
Son kayıt (commit)
Son güncelleme
..
core Loading commit data...
crypto Loading commit data...
docprop Loading commit data...
drawingml Loading commit data...
dump Loading commit data...
export Loading commit data...
helper Loading commit data...
mathml Loading commit data...
ole Loading commit data...
ppt Loading commit data...
shape Loading commit data...
token Loading commit data...
vml Loading commit data...