diff options
author | Alexander Volkov <a.volkov@rusbitech.ru> | 2019-08-30 19:51:19 +0300 |
---|---|---|
committer | Alexander Volkov <a.volkov@rusbitech.ru> | 2019-09-02 20:51:59 +0300 |
commit | 98c5f22161e25c0f6867c0bf7db7aa8d6fcf6074 (patch) | |
tree | c73cd508a5f380c1242ac21dfa657166ebaaefd7 /src/platformsupport | |
parent | dbfa374a8610948f6e03ea1b3f3bc2905ce05be0 (diff) |
Avoid invalid memory access in QIconCacheGtkReader::lookup()
If name argument is empty, e.g. an icon is created by
QIcon::fromTheme(""), then icon_name_hash() will access
a byte at index 1, which is outside of the string.
Change-Id: I109c476718939d7dd252007ebac48c3dbbeceb72
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'src/platformsupport')
0 files changed, 0 insertions, 0 deletions