cppcheck analysis of rsyslog_5.8.0-1.dsc
- ./plugins/imfile/imfile.c:401 [error] - syntax error
- ./plugins/imklog/ksym.c:521 [error] - Common realloc mistake: "sym_array" nulled but not freed upon failure
- ./plugins/imuxsock/imuxsock.c:787 [error] - syntax error
- ./plugins/omoracle/omoracle.c:325 [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/msg.c:2438 [error] - Uninitialized variable: pRes
- ./runtime/net.c:1667 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./runtime/net.c:1667 [error] - Invalid number of character ({) when these macros are defined: 'AI_ADDRCONFIG'.
- ./runtime/net.c:1667 [error] - Invalid number of character ({) when these macros are defined: 'DEBUG'.
- ./runtime/net.c:1667 [error] - Invalid number of character ({) when these macros are defined: 'FNM_CASEFOLD'.
- ./runtime/net.c:1667 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_ATOMIC_BUILTINS'.
- ./runtime/net.c:1667 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_ATOMIC_BUILTINS_64BIT'.
- ./runtime/net.c:1667 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_PTHREAD_SETSCHEDPARAM'.
- ./runtime/net.c:1667 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_STRUCT_SOCKADDR_SA_LEN'.
- ./runtime/net.c:1667 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_SYSLOG_H'.
- ./runtime/net.c:1667 [error] - Invalid number of character ({) when these macros are defined: 'IPV6_V6ONLY'.
- ./runtime/net.c:1667 [error] - Invalid number of character ({) when these macros are defined: 'LOG_FAC'.
- ./runtime/net.c:1667 [error] - Invalid number of character ({) when these macros are defined: 'LOG_MAKEPRI'.
- ./runtime/netstrms.c:330 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./runtime/netstrms.c:330 [error] - Invalid number of character ({) when these macros are defined: 'DEBUG'.
- ./runtime/netstrms.c:330 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_ATOMIC_BUILTINS'.
- ./runtime/netstrms.c:330 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_ATOMIC_BUILTINS_64BIT'.
- ./runtime/netstrms.c:330 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_PTHREAD_SETSCHEDPARAM'.
- ./runtime/netstrms.c:330 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_SYSLOG_H'.
- ./runtime/netstrms.c:330 [error] - Invalid number of character ({) when these macros are defined: 'LOG_FAC'.
- ./runtime/netstrms.c:330 [error] - Invalid number of character ({) when these macros are defined: 'LOG_MAKEPRI'.
- ./runtime/netstrms.c:330 [error] - Invalid number of character ({) when these macros are defined: 'LOG_PRI'.
- ./runtime/netstrms.c:330 [error] - Invalid number of character ({) when these macros are defined: 'MEMCHECK'.
- ./runtime/netstrms.c:330 [error] - Invalid number of character ({) when these macros are defined: 'NDEBUG'.
- ./runtime/netstrms.c:330 [error] - Invalid number of character ({) when these macros are defined: 'OS_SOLARIS'.
- ./runtime/nsd_gtls.c:1751 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./runtime/nsd_gtls.c:1751 [error] - Invalid number of character ({) when these macros are defined: 'DEBUG'.
- ./runtime/nsd_gtls.c:1751 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_ATOMIC_BUILTINS'.
- ./runtime/nsd_gtls.c:1751 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_ATOMIC_BUILTINS_64BIT'.
- ./runtime/nsd_gtls.c:1751 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_PTHREAD_SETSCHEDPARAM'.
- ./runtime/nsd_gtls.c:1751 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_STRUCT_SOCKADDR_SA_LEN'.
- ./runtime/nsd_gtls.c:1751 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_SYSLOG_H'.
- ./runtime/nsd_gtls.c:1751 [error] - Invalid number of character ({) when these macros are defined: 'LOG_FAC'.
- ./runtime/nsd_gtls.c:1751 [error] - Invalid number of character ({) when these macros are defined: 'LOG_MAKEPRI'.
- ./runtime/nsd_gtls.c:1751 [error] - Invalid number of character ({) when these macros are defined: 'LOG_PRI'.
- ./runtime/nsd_gtls.c:1751 [error] - Invalid number of character ({) when these macros are defined: 'MEMCHECK'.
- ./runtime/nsd_gtls.c:1751 [error] - Invalid number of character ({) when these macros are defined: 'NDEBUG'.
- ./runtime/nsd_ptcp.c:853 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./runtime/nsd_ptcp.c:853 [error] - Invalid number of character ({) when these macros are defined: 'BSD'.
- ./runtime/nsd_ptcp.c:853 [error] - Invalid number of character ({) when these macros are defined: 'DEBUG'.
- ./runtime/nsd_ptcp.c:853 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_ATOMIC_BUILTINS'.
- ./runtime/nsd_ptcp.c:853 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_ATOMIC_BUILTINS_64BIT'.
- ./runtime/nsd_ptcp.c:853 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_EPOLL_CREATE'.
- ./runtime/nsd_ptcp.c:853 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_PTHREAD_SETSCHEDPARAM'.
- ./runtime/nsd_ptcp.c:853 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_STRUCT_SOCKADDR_SA_LEN'.
- ./runtime/nsd_ptcp.c:853 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_SYSLOG_H'.
- ./runtime/nsd_ptcp.c:853 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_SYS_EPOLL_H'.
- ./runtime/nsd_ptcp.c:853 [error] - Invalid number of character ({) when these macros are defined: 'IPV6_V6ONLY'.
- ./runtime/nsd_ptcp.c:853 [error] - Invalid number of character ({) when these macros are defined: 'LOG_FAC'.
- ./runtime/regexp.c:101 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./runtime/regexp.c:101 [error] - Invalid number of character ({) when these macros are defined: 'DEBUG'.
- ./runtime/regexp.c:101 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_ATOMIC_BUILTINS'.
- ./runtime/regexp.c:101 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_ATOMIC_BUILTINS_64BIT'.
- ./runtime/regexp.c:101 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_PTHREAD_SETSCHEDPARAM'.
- ./runtime/regexp.c:101 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_SYSLOG_H'.
- ./runtime/regexp.c:101 [error] - Invalid number of character ({) when these macros are defined: 'LOG_FAC'.
- ./runtime/regexp.c:101 [error] - Invalid number of character ({) when these macros are defined: 'LOG_MAKEPRI'.
- ./runtime/regexp.c:101 [error] - Invalid number of character ({) when these macros are defined: 'LOG_PRI'.
- ./runtime/regexp.c:101 [error] - Invalid number of character ({) when these macros are defined: 'MEMCHECK'.
- ./runtime/regexp.c:101 [error] - Invalid number of character ({) when these macros are defined: 'NDEBUG'.
- ./runtime/regexp.c:101 [error] - Invalid number of character ({) when these macros are defined: 'OS_SOLARIS'.
- ./runtime/strmsrv.c:964 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./runtime/strmsrv.c:964 [error] - Invalid number of character ({) when these macros are defined: 'DEBUG'.
- ./runtime/strmsrv.c:964 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_ATOMIC_BUILTINS'.
- ./runtime/strmsrv.c:964 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_ATOMIC_BUILTINS_64BIT'.
- ./runtime/strmsrv.c:964 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_FCNTL_H'.
- ./runtime/strmsrv.c:964 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_PTHREAD_SETSCHEDPARAM'.
- ./runtime/strmsrv.c:964 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_STRUCT_SOCKADDR_SA_LEN'.
- ./runtime/strmsrv.c:964 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_SYSLOG_H'.
- ./runtime/strmsrv.c:964 [error] - Invalid number of character ({) when these macros are defined: 'LOG_FAC'.
- ./runtime/strmsrv.c:964 [error] - Invalid number of character ({) when these macros are defined: 'LOG_MAKEPRI'.
- ./runtime/strmsrv.c:964 [error] - Invalid number of character ({) when these macros are defined: 'LOG_PRI'.
- ./runtime/strmsrv.c:964 [error] - Invalid number of character ({) when these macros are defined: 'MEMCHECK'.
- ./runtime/zlibw.c:124 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./runtime/zlibw.c:124 [error] - Invalid number of character ({) when these macros are defined: 'DEBUG'.
- ./runtime/zlibw.c:124 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_ATOMIC_BUILTINS'.
- ./runtime/zlibw.c:124 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_ATOMIC_BUILTINS_64BIT'.
- ./runtime/zlibw.c:124 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_PTHREAD_SETSCHEDPARAM'.
- ./runtime/zlibw.c:124 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_SYSLOG_H'.
- ./runtime/zlibw.c:124 [error] - Invalid number of character ({) when these macros are defined: 'LOG_FAC'.
- ./runtime/zlibw.c:124 [error] - Invalid number of character ({) when these macros are defined: 'LOG_MAKEPRI'.
- ./runtime/zlibw.c:124 [error] - Invalid number of character ({) when these macros are defined: 'LOG_PRI'.
- ./runtime/zlibw.c:124 [error] - Invalid number of character ({) when these macros are defined: 'MEMCHECK'.
- ./runtime/zlibw.c:124 [error] - Invalid number of character ({) when these macros are defined: 'NDEBUG'.
- ./runtime/zlibw.c:124 [error] - Invalid number of character ({) when these macros are defined: 'OS_SOLARIS'.
- ./template.c:466 [error] - Memory leak: pTpe
- ./template.c:848 [error] - Memory leak: pTpe
- ./template.c:962 [error] - Memory leak: pTpl
- ./tests/randomgen.c:98 [error] - Resource leak: rfp
- ./tools/omusrmsg.c:124 [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 Sat, 16 Apr 2011 06:58:15 +0000, based on results by cppcheck 1.46