summaryrefslogtreecommitdiffhomepage
path: root/parser/output/raylib_api.lua
diff options
context:
space:
mode:
authorHarriP <[email protected]>2022-08-13 18:36:29 +0300
committerGitHub <[email protected]>2022-08-13 17:36:29 +0200
commite0b487c6411811af7e9a9ecc24e53a0367676985 (patch)
tree9e6cf965dcfa825b26cb39742ff3d07d4ad8d618 /parser/output/raylib_api.lua
parent56072a631dbcde21c4b65917c1ce97262d064a5a (diff)
downloadraylib-e0b487c6411811af7e9a9ecc24e53a0367676985.tar.gz
raylib-e0b487c6411811af7e9a9ecc24e53a0367676985.zip
Fix string lacking null termination in IsFileExtension (#2637)
When file extension is longer or equal length compared to buffer holding lowercased string, strncpy does not null terminate the string. Increased buffer size by 1 to ensure it will always be null-terminated, so that following strcmp does not read out of buffer bounds.
Diffstat (limited to 'parser/output/raylib_api.lua')
0 files changed, 0 insertions, 0 deletions