diff options
author | Konstantin Ritt <ritt.ks@gmail.com> | 2012-11-16 20:44:12 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-21 11:03:48 +0100 |
commit | f4a2352cd1efee9bbffe89e7d430b8be0cacc5bd (patch) | |
tree | 26fed6c9ca89e0d1663aaebe6a69bb0dfe3bf4fd /src/widgets/styles/styles.pri | |
parent | cc7d085ca21bff029e1a67b92b4facebfdc51c6f (diff) |
Fix possible crash/assertion in qt_fontHasNarrowOutlines()
1. cloneWithSize() may return 0
1bis. QRawFont::setPixelSize() may ivalidate the font (due to 1.)
2. using the data obtained from a temporary QString is never safe!
Change-Id: I0cd5f807d8077ef5112704e475f1904bd6fc4b1b
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Diffstat (limited to 'src/widgets/styles/styles.pri')
0 files changed, 0 insertions, 0 deletions