diff options
author | Colin Snover | 2017-09-06 16:19:01 -0500 |
---|---|---|
committer | Colin Snover | 2017-09-08 16:02:32 -0500 |
commit | d97f192f45f553a0900b3f6e35af7dc4fb982dfe (patch) | |
tree | 0d8bc2182006cfa081e6ffe1647542497fdb9824 /devtools/tasmrecover | |
parent | d98d4bc25d750c1e27d21920fb5214cdbb71a961 (diff) | |
download | scummvm-rg350-d97f192f45f553a0900b3f6e35af7dc4fb982dfe.tar.gz scummvm-rg350-d97f192f45f553a0900b3f6e35af7dc4fb982dfe.tar.bz2 scummvm-rg350-d97f192f45f553a0900b3f6e35af7dc4fb982dfe.zip |
SCI: Improve array bounds safety check
There is no practical risk now since the enum and array sizes are
the same, but there is no reason to rely on a separate data
structure to avoid potential out-of-bounds index use here instead
of just checking the array size directly, which is always safe.
Diffstat (limited to 'devtools/tasmrecover')
0 files changed, 0 insertions, 0 deletions