summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qtextdocumentfragment.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2019-11-14 12:21:04 +0100
committerLars Knoll <lars.knoll@qt.io>2019-12-07 14:18:35 +0100
commitcde2fde3f0ee1551b4907b3d8b82f0be5f20af25 (patch)
tree72ff767da509db4eadf433d3e4b41287219c8678 /src/gui/text/qtextdocumentfragment.cpp
parent551c665b7d3730e45e99dc87ccc144dd53f8e432 (diff)
Fix a use-after-free problem in QByteArray::replaceHEADdev
if the string pointed to by after is part of the QByteArray, we were trying to protect against a use-after-free by copying after. Unfortunately, it was not used later on in the code instead of the original after. Change-Id: I2f2263e4bb1855e802bba2fc08db34762c66887a Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/gui/text/qtextdocumentfragment.cpp')
0 files changed, 0 insertions, 0 deletions