cppcheck analysis of ntp_4.2.6+dfsg-1.dsc
- ./lib/isc/win32/condition.c:85 [error] - Data is allocated but not initialized: newthread
- ./libntp/authkeys.c:207 [error] - Memory leak: sk
- ./libntp/icom.c:92 [error] - Buffer access out-of-bounds
- ./libopts/tokenize.c:230 [error] - Data is allocated but not initialized: res
- ./ntpd/ntp_io.c:737 [error] - Dangerous usage of 'tmpbuf' (strncpy doesn't always 0-terminate it)
- ./ntpd/ntp_util.c:342 [error] - Resource leak: fp
- ./ntpd/ntpd.c:382 [error] - Return of the address of an auto-variable
- ./ntpsnmpd/ntpSnmpSubagentObject.c:125 [error] - Dangerous usage of 'string' (strncpy doesn't always 0-terminate it)
- ./ntpsnmpd/ntpSnmpSubagentObject.c:222 [error] - Dangerous usage of 'string' (strncpy doesn't always 0-terminate it)
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Thu, 16 Dec 2010 05:59:23 +0000, based on results by cppcheck 1.41-modif