diff options
author | Albert Astals Cid <aacid@kde.org> | 2019-04-03 19:41:36 +0200 |
---|---|---|
committer | Albert Astals Cid <albert.astals.cid@kdab.com> | 2019-04-05 08:53:01 +0000 |
commit | bdee1189bf52a00fa89a8898e92bf75c36930666 (patch) | |
tree | 3d9f1f05c92d8c5c066c5dcf0ac1956d9ce1ff93 /src/corelib | |
parent | 6d049ad63d1044da2287f5736b9863323be2be0c (diff) |
png handler: initialize all the variables passed to png_get_IHDR
oss-fuzz found at least width is sometimes not initialized, and we're
initializing almost all of them in most cases so be complete.
the oss-fuzz instance was
==1==WARNING: MemorySanitizer: use-of-uninitialized-value
#0 0x667c43 in operator!= /src/qtbase/src/corelib/tools/qsize.h:173:25
#1 0x667c43 in setup_qt /src/qtbase/src/gui/image/qpnghandler.cpp:403
Change-Id: Idb9aaf5ab85509d9c893beaf8d9118339ba46be7
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/corelib')
0 files changed, 0 insertions, 0 deletions