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. |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile.am | ||
shell.cpp | ||
shell_batch.cpp | ||
shell_cmds.cpp | ||
shell_misc.cpp |