diff options
author | Christoph Schleifenbaum <christoph.schleifenbaum@kdab.com> | 2020-09-24 07:14:48 +0200 |
---|---|---|
committer | Christoph Schleifenbaum <christoph.schleifenbaum@kdab.com> | 2020-09-25 05:03:26 +0000 |
commit | 34b4dc11d9ee1eef5ac787848406e028d21f87df (patch) | |
tree | c8cadc088ab5e0a088f9fbd44d7a32075babd8b2 /src/corelib/text/qstring.h | |
parent | dae078e521c3932c66436cbdbfaf5294a1842901 (diff) |
QFontEngine: Do not call getSfntTable with uninitalized value
On FreeType font engine this results in a call to FT_Load_Sfnt_Table
with a pointer to an uninitialized value passed in as FT_ULong* length,
crashing. Instead initialize value to 0.
Change-Id: I50d6df3b2296a05640d939e862bc50adb0fec921
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
(cherry picked from commit e041f5459660eaa7108fa5888e77e64f7d1b3d1d)
Diffstat (limited to 'src/corelib/text/qstring.h')
0 files changed, 0 insertions, 0 deletions