mirror of https://github.com/Cisco-Talos/clamav
Since strcpy only writes a null-byte to the first terminating byte, valgrind is throwing errors about uninitialized reads for strncpy's that could potentially read beyond the null-byte. Initializing the whole array to 0 resolves this.pull/230/head
parent
4c8444957a
commit
ee15dd7e0d
Loading…
Reference in new issue