• 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
..
qa/embedding Loading commit data...
source Loading commit data...
test Loading commit data...
util Loading commit data...
Library_embobj.mk Loading commit data...
Library_emboleobj.mk Loading commit data...
Makefile Loading commit data...
Module_embeddedobj.mk Loading commit data...
README Loading commit data...