1
0
Fork 0
dosbox-staging/src/shell
Patryk Obara e2196a77e2 Silence buffer overflow false-positives
Coverity reports a number of buffer overflows here.

The code was written in a way, that effectively made it hard for static
analysis to prove the buffer overflow does not happen, but the code
itself was safe.

Update it to avoid repetition and use snprintf, that guarantees no
buffer overflow will happen, and buffer will always be zero-delimited.
2020-02-26 11:08:28 +01:00
..
.gitignore Import svn:ignore props to .gitignore files 2019-09-15 20:34:57 +02:00
Makefile.am removed shell_inc.h 2004-01-06 11:21:58 +00:00
shell.cpp Silence few false-positive buffer overflow issues 2020-02-26 11:08:28 +01:00
shell_batch.cpp Fix a number of effc++ warnings in shell code 2019-12-27 07:34:48 +01:00
shell_cmds.cpp Fix buffer overflow in CMD_PATH 2020-02-26 11:08:28 +01:00
shell_misc.cpp Silence buffer overflow false-positives 2020-02-26 11:08:28 +01:00