summaryrefslogtreecommitdiff
path: root/doc/src/snippets/code/doc_src_examples_imageviewer.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2011-06-28 11:21:00 +0200
committerOlivier Goffart <olivier.goffart@nokia.com>2011-06-28 15:34:12 +0200
commitbe3bd368485d373e63b3e4ff5c7db2da1d119feb (patch)
tree493096d0cd1466eae8538a99ee6f3e49897f4a94 /doc/src/snippets/code/doc_src_examples_imageviewer.cpp
parent7590cfcea9d40e59af8edd7cdd3d11ffbc5aaa04 (diff)
downloadqt4-tools-be3bd368485d373e63b3e4ff5c7db2da1d119feb.tar.gz
Fix invalid read in QUrl::removeAllEncodedQueryItems
The remove will detach the string making the query pointer invalid. Note: the "test3" case is commented out because it does not remove the & at the end, and i do not want to enforce this behaviour in the test Task-number: QTBUG-20065 Change-Id: I195c5c3b468f46c797c7c4f8075303f2b1f4724c Reviewed-on: http://codereview.qt.nokia.com/822 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Peter Hartmann <peter.hartmann@nokia.com> (cherry picked from commit 2dd90a27a82289a5088b929c3bd27c1fd05967f6) Conflicts: tests/auto/qurl/tst_qurl.cpp
Diffstat (limited to 'doc/src/snippets/code/doc_src_examples_imageviewer.cpp')
0 files changed, 0 insertions, 0 deletions