• Tor Lillqvist's avatar
    bnc#648251: Avoid crash when attempting to open embedded OLE object as "text" · 46ad5472
    Tor Lillqvist yazdı
    On non-Windows, when double-clicking an embedded OLE object, our glorious
    content type detection logic detects it as "Text". As a side-effect, we start
    to calculate text statistics on it. Which surely could produce interesting
    numbers (you know what they say about statistics), but sadly causes a crash
    involving the ICU RuleBasedBreakIterator, SwScanner,
    sw::DocumentStatisticsManager and whatnot.
    
    Avoid this by checking for a detected filter of type "Text" explicitly, and
    avoiding the fun code paths in that case.
    
    This leads to double-clicks being just ignored. Maybe it would be more useful
    to produce a "General OLE Error" message box?
    
    Change-Id: Iae0726b5e9c511a92bdff7229d2978cbf76cb07b
    46ad5472
Adı
Son kayıt (commit)
Son güncelleme
..
advisesink.cxx Loading commit data...
advisesink.hxx Loading commit data...
closepreventer.cxx Loading commit data...
emboleobj.component Loading commit data...
emboleobj.windows.component Loading commit data...
graphconvert.cxx Loading commit data...
mtnotification.hxx Loading commit data...
olecomponent.cxx Loading commit data...
olecomponent.hxx Loading commit data...
oleembed.cxx Loading commit data...
olemisc.cxx Loading commit data...
olepersist.cxx Loading commit data...
olepersist.hxx Loading commit data...
oleregister.cxx Loading commit data...
olevisual.cxx Loading commit data...
olewrapclient.cxx Loading commit data...
olewrapclient.hxx Loading commit data...
ownview.cxx Loading commit data...
ownview.hxx Loading commit data...
platform.h Loading commit data...
xdialogcreator.cxx Loading commit data...
xdialogcreator.hxx Loading commit data...
xolefactory.cxx Loading commit data...
xolefactory.hxx Loading commit data...