qt5base-lts/tests/auto/corelib
Luca Bellonda d4302ec693 QtCore: Fix QXmlStreamReader for invalid characters in XML 1.0
The XML parser uses fastScanLiteralContent() to read a block of
text. The routine was not checking the range of valid characters as
defined in the XML standard:
https://www.w3.org/TR/2008/REC-xml-20081126/#NT-Char
A check has been added to stop reading the bad character.
Note that the characters are legal in XML 1.1, but QXmlStreamReader
is a well-formed XML 1.0 parser

[ChangeLog][QtCore][QXmlStreamReader]
Fixed a bug in the XML parser that prevented to load XML that
contained invalid characters for XML 1.0.

Change-Id: I10aaf84fbf95ccdaf9f6d683ea7c31925efff36d
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2016-07-17 14:54:36 +00:00
..
animation Extend tst_QPauseAnimation::pauseAndPropertyAnimations blacklist 2015-06-20 15:25:58 +00:00
codecs Fix utf8->utf16 BOM/ZWNBSP decoding. 2015-12-21 09:56:49 +00:00
global Fix qSetMessagePattern to have many time/backtrace parts 2016-03-25 11:03:43 +00:00
io QUrl: Test that we do correctly accept valid schemes 2016-07-02 16:36:50 +00:00
itemmodels tst_QItemModel: Use a QTemporaryDir for test data of QDirModel. 2015-11-27 22:50:26 +00:00
json Update testdata 2016-02-17 04:50:50 +00:00
kernel Fix crash when connecting a non-PMF with Qt::UniqueConnection... 2016-05-30 00:19:39 +00:00
mimetypes QMimeDatabase: fix mimeTypeForUrl for mailto URLs 2016-04-23 08:44:45 +00:00
plugin Fix qplugin autotest on Windows 2016-06-08 19:40:29 +00:00
statemachine Merge remote-tracking branch 'origin/5.5' into 5.6 2016-01-19 10:03:01 +01:00
thread tst_QAtomicInteger: fix UBs (signed overflow) 2016-03-24 16:16:15 +00:00
tools QString::replace(): protect sought text and replacement 2016-07-12 10:22:25 +00:00
xml QtCore: Fix QXmlStreamReader for invalid characters in XML 1.0 2016-07-17 14:54:36 +00:00
corelib.pro iOS: Enable building of basic tests 2014-01-22 12:35:17 +01:00