cppcheck analysis of lprng_3.8.B-1.dsc
- ./src/common/checkpc.c:1442 [error] - Mismatching allocation and deallocation: tf
- ./src/common/checkpc.c:1451 [error] - Mismatching allocation and deallocation: tf
- ./src/common/checkpc.c:1436 [error] - Mismatching allocation and deallocation: tf
- ./src/common/errormsg.c:101 [error] - Invalid number of character (() when these macros are defined: ''.
- ./src/common/errormsg.c:101 [error] - Invalid number of character (() when these macros are defined: 'HAVE_STDARGS'.
- ./src/common/errormsg.c:101 [error] - Invalid number of character (() when these macros are defined: 'HAVE_STRERROR'.
- ./src/common/errormsg.c:101 [error] - Invalid number of character (() when these macros are defined: 'HAVE_SYS_SIGLIST'.
- ./src/common/errormsg.c:101 [error] - Invalid number of character (() when these macros are defined: 'HAVE_SYS_SIGLIST;HAVE_SYS_SIGLIST_DEF'.
- ./src/common/errormsg.c:101 [error] - Invalid number of character (() when these macros are defined: 'HAVE__SYS_SIGLIST'.
- ./src/common/errormsg.c:101 [error] - Invalid number of character (() when these macros are defined: 'HAVE__SYS_SIGLIST;HAVE__SYS_SIGLIST_DEF'.
- ./src/common/errormsg.c:101 [error] - Invalid number of character (() when these macros are defined: 'SIGABRT'.
- ./src/common/errormsg.c:101 [error] - Invalid number of character (() when these macros are defined: 'SIGALRM'.
- ./src/common/errormsg.c:101 [error] - Invalid number of character (() when these macros are defined: 'SIGBUS'.
- ./src/common/gethostinfo.c:167 [error] - Possible null pointer dereference: host_ent - otherwise it is redundant to check if host_ent is null at line 168
- ./src/common/linelist.c:613 [error] - Possible null pointer dereference: l - otherwise it is redundant to check if l is null at line 614
- ./src/common/linelist.c:623 [error] - Possible null pointer dereference: l - otherwise it is redundant to check if l is null at line 624
- ./src/common/lpd.c:734 [error] - Allocation with open, if doesn't release it.
- ./src/common/lpd_dispatch.c:228 [error] - Possible null pointer dereference: addr
- ./src/common/monitor.c:69 [error] - Common realloc mistake: "inbuffers" nulled but not freed upon failure
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, 24 Mar 2011 06:58:24 +0000, based on results by cppcheck 1.46