aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorTorbjörn Andersson2017-08-06 20:04:40 +0200
committerTorbjörn Andersson2017-08-06 20:06:18 +0200
commit0b07029274bda575b9df8e9d0f615a0f3af75c20 (patch)
tree49a520e70c3642463270bdae1349d5b758f6a04a /base
parent9ac4a772334c0a5ac48a38f321a3a8078385e66c (diff)
downloadscummvm-rg350-0b07029274bda575b9df8e9d0f615a0f3af75c20.tar.gz
scummvm-rg350-0b07029274bda575b9df8e9d0f615a0f3af75c20.tar.bz2
scummvm-rg350-0b07029274bda575b9df8e9d0f615a0f3af75c20.zip
QUEEN: Silence GCC 7 warnings about potential buffer overflow
Use snprintf() instead of sprintf() to limit how much is written to the buffer. Note that there are other places where it looks like it could overflow, but they did not trigger warnings and I'm guessing that it doesn't overflow in reality.
Diffstat (limited to 'base')
0 files changed, 0 insertions, 0 deletions