]> icculus.org git repositories - btb/d2x.git/commit
Fix string overflow check
authorBradley Bell <btb@icculus.org>
Sat, 2 May 2015 02:43:29 +0000 (19:43 -0700)
committerBradley Bell <btb@icculus.org>
Sat, 2 May 2015 02:43:29 +0000 (19:43 -0700)
commit327f394aff2145e1bd69fd9314989eb2942bfad9
treed40a4ea1b5aa270075ebea1fc129f87535ca7bdd
parent2df0db24f0266b385f477a001d85cf239508c8d3
Fix string overflow check

Fixes:
    inlined from ‘key_cmd_bind’ at arch/sdl/key.c:441:10:
/usr/include/x86_64-linux-gnu/bits/string3.h:152:3: error: call to __builtin___strncat_chk might overflow destination buffer [-Werror]
arch/sdl/key.c