CESNET / ipfixcol

IPFIXcol is an implementation of an IPFIX (RFC 7011) collector
Other
64 stars 37 forks source link

Bunch of buffer overflow vulnerability fixes #19

Closed ghost closed 9 years ago

ghost commented 9 years ago

Several vulnerabilities have been fixed, mostly related to (potential) buffer overflows. To avoid repeating error-prone code for fixing every instance of str(n)cpy, I've implemented util-function strncpy_safe and replaced every instance of str(n)cpy with it.