summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2014-06-12 09:06:35 +0200
committerLars Knoll <lars.knoll@digia.com>2014-10-30 13:46:42 +0100
commit1487a93e46bafb4ee7beb63e59b90265f0ae1fd3 (patch)
tree0fe6ae487b58751d618370531910774474d4649d /qmake
parent848d29cca3afa92f1ae729a1c882e8e3e56fb3e3 (diff)
Fix a possible use after free
Found by coverity. The cachedIcon can be deleted when being inserted into the icon cache (in QCache::insert). So copy it to icon before trying to insert it into the cache. Change-Id: I5ed13c0c7ecb8f8f13285ca5d06237493dbea479 Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'qmake')
0 files changed, 0 insertions, 0 deletions