qt6-bb10/tests/auto/gui/text/qrawfont
Eskil Abrahamsen Blomfeldt 909b0de5d1 Windows: Fix another crash when creating QRawFont from invalid data
The sanity check added in d16508a285
didn't actually catch the case where the invalid data is large
enough to contain the offset table and table directory. Added sanity
checks to all the code that accesses the font data now, so this
should fix crashes with partial data as well as invalid data.

Task-number: QTBUG-37190
Change-Id: Ie43f10d8cf0b09007783b9b1c4d91bfed8c6b0f0
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
2014-05-28 16:52:04 +02:00
..
qrawfont.pro
testfont.ttf
testfont_bold_italic.ttf
tst_qrawfont.cpp Windows: Fix another crash when creating QRawFont from invalid data 2014-05-28 16:52:04 +02:00