clamav/sigtool
Micah Snyder 01ca0a2edd Fix issues spotted by Coverity from fmap recursion fix
CID 361074: fmap.c: Possible invalid dereference if status != success
and the new map was not yet allocated.

CID 361077: others.c: Structurally dead code revealed a bug in the
cli_recursion_stack_get_size() function.

CID 361080, 361078, 361083: sigtool.c: Inverted check for if engine
needs to be free'd, could leak the engine structure.

CID 361075: sigtool.c: Missed a `return -1` that should've been `goto
done;` and would leak the new_map buffer.

CID 361079: sigtool/vba.c: Checking if we should free the new_map on
failure only if ctx also needs to be free'd, which would leak the
new_map if ctx was not allocated yet.
2021-10-29 12:35:15 -07:00
..
CMakeLists.txt CMake: support macOS code signing during build 2021-10-11 11:28:37 -07:00
sigtool.c Fix issues spotted by Coverity from fmap recursion fix 2021-10-29 12:35:15 -07:00
vba.c Fix issues spotted by Coverity from fmap recursion fix 2021-10-29 12:35:15 -07:00
vba.h libclamav: Fix scan recursion tracking 2021-10-25 16:02:29 -07:00