aboutsummaryrefslogtreecommitdiff
path: root/devtools/skycpt
diff options
context:
space:
mode:
authorD G Turner2019-10-05 00:38:40 +0100
committerD G Turner2019-10-05 00:38:40 +0100
commit3911b564448417cf52e7153339f3cb1714d0917d (patch)
tree26ab9eb260d66c4bd0cc75c9a5561ca96a4377b3 /devtools/skycpt
parent452b380976bd27874b42087b835007d880b75c08 (diff)
downloadscummvm-rg350-3911b564448417cf52e7153339f3cb1714d0917d.tar.gz
scummvm-rg350-3911b564448417cf52e7153339f3cb1714d0917d.tar.bz2
scummvm-rg350-3911b564448417cf52e7153339f3cb1714d0917d.zip
GRAPHICS: MACGUI: Fix Possible Out of Bounds Read with Trailing Ampersand
Since the ampersand is used as an escape character, it is repeated when it actually appears in the string. Unfortunately, this requires a one character lookahead which could result in reading beyond the string if this ampersand is the last character (which would be malformed, but possible). To avoid an out of bounds read, this is now qualified by the string length. Trailing ampersands will now be ignored without issue.
Diffstat (limited to 'devtools/skycpt')
0 files changed, 0 insertions, 0 deletions