summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qsimd_p.h
diff options
context:
space:
mode:
authorFrank Osterfeld <frank@kdab.net>2010-08-05 11:42:58 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2010-08-05 11:44:17 (GMT)
commit637d207e397c13c09a8dcbd718ee85bce2548e90 (patch)
treeb2f1622b6099ff6711e159e3393c2357563cfa6d /src/corelib/tools/qsimd_p.h
parente5071275f719ec36ff5e14b1e92258f270ef22b6 (diff)
downloadQt-637d207e397c13c09a8dcbd718ee85bce2548e90.zip
Qt-637d207e397c13c09a8dcbd718ee85bce2548e90.tar.gz
Qt-637d207e397c13c09a8dcbd718ee85bce2548e90.tar.bz2
QDom: Do not crash on "<a:>text</a:>"
"a:" is not a valid tagname. The function creating the element node notices that and returns 0, but the parser ignores it and continues, and then crashes later when processing the "text". This patch aborts the parsing immediately when creating the element node failed and fixes the crash. Merge-request: 2431 Reviewed-by: Olivier Goffart <olivier.goffart@nokia.com>
Diffstat (limited to 'src/corelib/tools/qsimd_p.h')
0 files changed, 0 insertions, 0 deletions