cppcheck analysis of rsyslog_5.7.3-1.dsc
- ./plugins/imfile/imfile.c:389 [error] - syntax error
- ./plugins/imklog/ksym.c:521 [error] - Common realloc mistake: "sym_array" nulled but not freed upon failure
- ./plugins/imuxsock/imuxsock.c:779 [error] - syntax error
- ./plugins/omoracle/omoracle.c:324 [error] - syntax error
- ./runtime/conf.c:501 [error] - Resource leak: cf
- ./runtime/debug.c:172 [error] - Memory leak: pThrd
- ./runtime/debug.c:743 [error] - Memory leak: pThrd
- ./runtime/debug.c:1111 [error] - Memory leak: pThrd
- ./runtime/debug.c:1138 [error] - Memory leak: pThrd
- ./runtime/net.c:1666 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./runtime/net.c:1666 [error] - Invalid number of character ({) when these macros are defined: 'AI_ADDRCONFIG'.
- ./runtime/net.c:1666 [error] - Invalid number of character ({) when these macros are defined: 'DEBUG'.
- ./runtime/net.c:1666 [error] - Invalid number of character ({) when these macros are defined: 'FNM_CASEFOLD'.
- ./runtime/net.c:1666 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_ATOMIC_BUILTINS'.
- ./runtime/net.c:1666 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_ATOMIC_BUILTINS_64BIT'.
- ./runtime/net.c:1666 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_PTHREAD_SETSCHEDPARAM'.
- ./runtime/net.c:1666 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_STRUCT_SOCKADDR_SA_LEN'.
- ./runtime/net.c:1666 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_SYSLOG_H'.
- ./runtime/net.c:1666 [error] - Invalid number of character ({) when these macros are defined: 'IPV6_V6ONLY'.
- ./runtime/net.c:1666 [error] - Invalid number of character ({) when these macros are defined: 'LOG_FAC'.
- ./runtime/net.c:1666 [error] - Invalid number of character ({) when these macros are defined: 'LOG_MAKEPRI'.
- ./runtime/netstrms.c:329 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./runtime/netstrms.c:329 [error] - Invalid number of character ({) when these macros are defined: 'DEBUG'.
- ./runtime/netstrms.c:329 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_ATOMIC_BUILTINS'.
- ./runtime/netstrms.c:329 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_ATOMIC_BUILTINS_64BIT'.
- ./runtime/netstrms.c:329 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_PTHREAD_SETSCHEDPARAM'.
- ./runtime/netstrms.c:329 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_SYSLOG_H'.
- ./runtime/netstrms.c:329 [error] - Invalid number of character ({) when these macros are defined: 'LOG_FAC'.
- ./runtime/netstrms.c:329 [error] - Invalid number of character ({) when these macros are defined: 'LOG_MAKEPRI'.
- ./runtime/netstrms.c:329 [error] - Invalid number of character ({) when these macros are defined: 'LOG_PRI'.
- ./runtime/netstrms.c:329 [error] - Invalid number of character ({) when these macros are defined: 'MEMCHECK'.
- ./runtime/netstrms.c:329 [error] - Invalid number of character ({) when these macros are defined: 'NDEBUG'.
- ./runtime/netstrms.c:329 [error] - Invalid number of character ({) when these macros are defined: 'OS_SOLARIS'.
- ./runtime/nsd_gtls.c:1750 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./runtime/nsd_gtls.c:1750 [error] - Invalid number of character ({) when these macros are defined: 'DEBUG'.
- ./runtime/nsd_gtls.c:1750 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_ATOMIC_BUILTINS'.
- ./runtime/nsd_gtls.c:1750 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_ATOMIC_BUILTINS_64BIT'.
- ./runtime/nsd_gtls.c:1750 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_PTHREAD_SETSCHEDPARAM'.
- ./runtime/nsd_gtls.c:1750 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_STRUCT_SOCKADDR_SA_LEN'.
- ./runtime/nsd_gtls.c:1750 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_SYSLOG_H'.
- ./runtime/nsd_gtls.c:1750 [error] - Invalid number of character ({) when these macros are defined: 'LOG_FAC'.
- ./runtime/nsd_gtls.c:1750 [error] - Invalid number of character ({) when these macros are defined: 'LOG_MAKEPRI'.
- ./runtime/nsd_gtls.c:1750 [error] - Invalid number of character ({) when these macros are defined: 'LOG_PRI'.
- ./runtime/nsd_gtls.c:1750 [error] - Invalid number of character ({) when these macros are defined: 'MEMCHECK'.
- ./runtime/nsd_gtls.c:1750 [error] - Invalid number of character ({) when these macros are defined: 'NDEBUG'.
- ./runtime/nsd_ptcp.c:852 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./runtime/nsd_ptcp.c:852 [error] - Invalid number of character ({) when these macros are defined: 'BSD'.
- ./runtime/nsd_ptcp.c:852 [error] - Invalid number of character ({) when these macros are defined: 'DEBUG'.
- ./runtime/nsd_ptcp.c:852 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_ATOMIC_BUILTINS'.
- ./runtime/nsd_ptcp.c:852 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_ATOMIC_BUILTINS_64BIT'.
- ./runtime/nsd_ptcp.c:852 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_EPOLL_CREATE'.
- ./runtime/nsd_ptcp.c:852 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_PTHREAD_SETSCHEDPARAM'.
- ./runtime/nsd_ptcp.c:852 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_STRUCT_SOCKADDR_SA_LEN'.
- ./runtime/nsd_ptcp.c:852 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_SYSLOG_H'.
- ./runtime/nsd_ptcp.c:852 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_SYS_EPOLL_H'.
- ./runtime/nsd_ptcp.c:852 [error] - Invalid number of character ({) when these macros are defined: 'IPV6_V6ONLY'.
- ./runtime/nsd_ptcp.c:852 [error] - Invalid number of character ({) when these macros are defined: 'LOG_FAC'.
- ./runtime/regexp.c:100 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./runtime/regexp.c:100 [error] - Invalid number of character ({) when these macros are defined: 'DEBUG'.
- ./runtime/regexp.c:100 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_ATOMIC_BUILTINS'.
- ./runtime/regexp.c:100 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_ATOMIC_BUILTINS_64BIT'.
- ./runtime/regexp.c:100 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_PTHREAD_SETSCHEDPARAM'.
- ./runtime/regexp.c:100 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_SYSLOG_H'.
- ./runtime/regexp.c:100 [error] - Invalid number of character ({) when these macros are defined: 'LOG_FAC'.
- ./runtime/regexp.c:100 [error] - Invalid number of character ({) when these macros are defined: 'LOG_MAKEPRI'.
- ./runtime/regexp.c:100 [error] - Invalid number of character ({) when these macros are defined: 'LOG_PRI'.
- ./runtime/regexp.c:100 [error] - Invalid number of character ({) when these macros are defined: 'MEMCHECK'.
- ./runtime/regexp.c:100 [error] - Invalid number of character ({) when these macros are defined: 'NDEBUG'.
- ./runtime/regexp.c:100 [error] - Invalid number of character ({) when these macros are defined: 'OS_SOLARIS'.
- ./runtime/strmsrv.c:963 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./runtime/strmsrv.c:963 [error] - Invalid number of character ({) when these macros are defined: 'DEBUG'.
- ./runtime/strmsrv.c:963 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_ATOMIC_BUILTINS'.
- ./runtime/strmsrv.c:963 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_ATOMIC_BUILTINS_64BIT'.
- ./runtime/strmsrv.c:963 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_FCNTL_H'.
- ./runtime/strmsrv.c:963 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_PTHREAD_SETSCHEDPARAM'.
- ./runtime/strmsrv.c:963 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_STRUCT_SOCKADDR_SA_LEN'.
- ./runtime/strmsrv.c:963 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_SYSLOG_H'.
- ./runtime/strmsrv.c:963 [error] - Invalid number of character ({) when these macros are defined: 'LOG_FAC'.
- ./runtime/strmsrv.c:963 [error] - Invalid number of character ({) when these macros are defined: 'LOG_MAKEPRI'.
- ./runtime/strmsrv.c:963 [error] - Invalid number of character ({) when these macros are defined: 'LOG_PRI'.
- ./runtime/strmsrv.c:963 [error] - Invalid number of character ({) when these macros are defined: 'MEMCHECK'.
- ./runtime/zlibw.c:123 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./runtime/zlibw.c:123 [error] - Invalid number of character ({) when these macros are defined: 'DEBUG'.
- ./runtime/zlibw.c:123 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_ATOMIC_BUILTINS'.
- ./runtime/zlibw.c:123 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_ATOMIC_BUILTINS_64BIT'.
- ./runtime/zlibw.c:123 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_PTHREAD_SETSCHEDPARAM'.
- ./runtime/zlibw.c:123 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_SYSLOG_H'.
- ./runtime/zlibw.c:123 [error] - Invalid number of character ({) when these macros are defined: 'LOG_FAC'.
- ./runtime/zlibw.c:123 [error] - Invalid number of character ({) when these macros are defined: 'LOG_MAKEPRI'.
- ./runtime/zlibw.c:123 [error] - Invalid number of character ({) when these macros are defined: 'LOG_PRI'.
- ./runtime/zlibw.c:123 [error] - Invalid number of character ({) when these macros are defined: 'MEMCHECK'.
- ./runtime/zlibw.c:123 [error] - Invalid number of character ({) when these macros are defined: 'NDEBUG'.
- ./runtime/zlibw.c:123 [error] - Invalid number of character ({) when these macros are defined: 'OS_SOLARIS'.
- ./template.c:463 [error] - Memory leak: pTpe
- ./template.c:846 [error] - Memory leak: pTpe
- ./template.c:943 [error] - Memory leak: pTpl
- ./tests/randomgen.c:98 [error] - Resource leak: rfp
- ./tools/omusrmsg.c:123 [error] - syntax error
- ./tools/syslogd.c:399 [error] - Uninitialized variable: count
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Fri, 11 Feb 2011 06:58:14 +0000, based on results by cppcheck 1.46