diff options
author | Colin Snover | 2016-11-26 12:56:25 -0600 |
---|---|---|
committer | Willem Jan Palenstijn | 2017-01-05 22:07:24 +0100 |
commit | 9d3893459f34b6ada2dad2d9d27216c774a7c4bd (patch) | |
tree | cf09a5960aa37cff29666211da50fd488c5f05e9 /gui/options.h | |
parent | 28d2f1d0df4a62c622a714e82ec6a7ab04967730 (diff) | |
download | scummvm-rg350-9d3893459f34b6ada2dad2d9d27216c774a7c4bd.tar.gz scummvm-rg350-9d3893459f34b6ada2dad2d9d27216c774a7c4bd.tar.bz2 scummvm-rg350-9d3893459f34b6ada2dad2d9d27216c774a7c4bd.zip |
COMMON: Add strnlen for safer C string length reads
This API is intended for use in cases where C strings come
from untrusted sources like game files, where malformed data
missing the null terminator would cause strlen to read out of
bounds.
Diffstat (limited to 'gui/options.h')
0 files changed, 0 insertions, 0 deletions