diff options
| author | HarriP <[email protected]> | 2022-08-13 18:36:29 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-08-13 17:36:29 +0200 |
| commit | e0b487c6411811af7e9a9ecc24e53a0367676985 (patch) | |
| tree | 9e6cf965dcfa825b26cb39742ff3d07d4ad8d618 /parser/output/raylib_api.json | |
| parent | 56072a631dbcde21c4b65917c1ce97262d064a5a (diff) | |
| download | raylib-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.json')
0 files changed, 0 insertions, 0 deletions
