Apache OpenOffice (AOO) Bugzilla – Issue 46948
PDF export crashes for document with unicode surrogate pair
Last modified: 2005-10-19 15:09:00 UTC
Reproduction: - install the latest Doulos font from http://scripts.sil.org/DoulosSILfont - load the first sample document from issue 45983 - export this as PDF => OOo crashes in MultiSalLayout::GetNextGlyphs()
Found in SRC680m91 wntmsci10.pro.
Found it: An integer overflow resulted in a negative index value and accessing of the value there causes the crash. The fix gets into CWS vcl39.
Also the fallback levels was allowed too deep because only one half of the surrogate pair was recognized as unresolved.
HDU->US: please verify that the crash is fixed in CWS vcl39. re-open issue and reassign to us@openoffice.org
reassign to us@openoffice.org
reset resolution to FIXED
US->HI: could you pls. verify this one on WinXP. Looks good on Un*x. Thanks. re-open issue and reassign to hi@openoffice.org
reassign to hi@openoffice.org
Verified with vcl39 = No crash -> OK
Verified with 680m133_8966 = broken
Back to HDU
With the increased number of existing GF alternatives the overflow is now triggered after more fallback levels...
I did an wrong comment on Tue Oct 11 05
The pdf export still not crash with master 680m134_8969