Go to file
Shawn Rutledge 7447e2b337 QTextMarkdownImporter: fix use after free; add fuzz-generated tests
It was possible to end up with a dangling pointer in m_listStack.
This is now avoided by using QPointer and doing nullptr checks before
accessing any QTextList pointer stored there.

We have 2 specimens of garbage that caused crashes before; now they don't.
But only fuzz20450 triggered the dangling pointer in the list stack.
The crash caused by fuzz20580 was fixed by updating md4c from upstream:
4b0fc03077

Change-Id: I8e1eca23b281256a03aea0f55e9ae20f1bdd2a38
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
2020-02-28 09:31:59 +01:00
bin
config.tests
dist Add 5.14.0 changelog entry about MinGW 2020-02-18 18:34:50 +01:00
doc Doc: Fix copy-paste error in QOpenGLTexture::Target docs 2020-01-28 18:42:58 +01:00
examples Doc: remove link to Qt Quarterly in example 2020-02-14 13:59:17 +01:00
lib
mkspecs MinGW: Fix debug-and-release configuration 2020-02-27 09:59:08 +01:00
qmake Windows: Add install/uninstall rules for target.targets 2020-02-14 15:03:10 +00:00
src QTextMarkdownImporter: fix use after free; add fuzz-generated tests 2020-02-28 09:31:59 +01:00
tests QTextMarkdownImporter: fix use after free; add fuzz-generated tests 2020-02-28 09:31:59 +01:00
util Enable system locale to skip digit-grouping if configured to do so 2020-02-03 15:34:02 +01:00
.gitattributes
.gitignore
.qmake.conf Bump version 2020-02-02 13:41:14 +01:00
.tag
config_help.txt Doc: Fix botched attempt of documenting the 'relocatable' feature 2020-02-13 09:41:10 +00:00
configure
configure.bat
configure.json Doc: Fix botched attempt of documenting the 'relocatable' feature 2020-02-13 09:41:10 +00:00
configure.pri
header.BSD
header.COMM
header.FDL
header.GPL
header.GPL-EXCEPT
header.LGPL
header.LGPL3
header.LGPL3-COMM
header.LGPL-NOGPL2
header.LGPL-ONLY
header.MIT
INSTALL
LICENSE.FDL
LICENSE.GPL2
LICENSE.GPL3
LICENSE.GPL3-EXCEPT
LICENSE.LGPL3
LICENSE.LGPLv3
LICENSE.QT-LICENSE-AGREEMENT
qtbase.pro
sync.profile