summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2013-11-08 15:57:04 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2013-11-08 16:08:15 +0100
commitffbad093368fc307ddeb128c6654d67f967f2c9f (patch)
tree65f4b074d328a6266d12e44ae22330e779540057 /sd
parent797681b4f569212a0f306151167534e23a2e37af (diff)
SwDoc::DelNumRule: fix out-of-bounds index access
When nPos == USHRT_MAX, even if later we checked for that case, just for the sake of an assert(), we already called operator[] with nPos. (To reproduce: right click on List 1 -> New -> Cancel, results in a crash.) Change-Id: I465b5519000b79bd8b2eaa3b3c1ceb80a182a25a
Diffstat (limited to 'sd')
0 files changed, 0 insertions, 0 deletions