aboutsummaryrefslogtreecommitdiff
path: root/engines/prince/saveload.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2014-10-25 20:57:52 +0200
committerTorbjörn Andersson2014-10-25 20:57:52 +0200
commit0579bf6f18e56410e1b94e97034c8db774e73b06 (patch)
treed44e6612a9052a5b26982a77972b91f61343a4dd /engines/prince/saveload.cpp
parentb6302c6e5155af097940c0043e1b7941c2c1fefe (diff)
downloadscummvm-rg350-0579bf6f18e56410e1b94e97034c8db774e73b06.tar.gz
scummvm-rg350-0579bf6f18e56410e1b94e97034c8db774e73b06.tar.bz2
scummvm-rg350-0579bf6f18e56410e1b94e97034c8db774e73b06.zip
PRINCE: Fix potential out-of-bounds reads (CID 1248500, 1248503)
Since heroSetTable[] is an array of int, use >= ARRAYSIZE() instead of > sizeof().
Diffstat (limited to 'engines/prince/saveload.cpp')
0 files changed, 0 insertions, 0 deletions