cppcheck analysis of pmacct_0.12.1-1.dsc
- ./src/bgp/bgp_aspath.c:571 [error] - Common realloc mistake: "str_buf" nulled but not freed upon failure
- ./src/bgp/bgp_aspath.c:855 [error] - Memory leak: seg
- ./src/bgp/bgp_aspath.c:1288 [error] - Memory leak: newseg
- ./src/bgp/bgp_ecommunity.c:660 [error] - Common realloc mistake: "str_buf" nulled but not freed upon failure
- ./src/bgp/bgp_prefix.c:245 [error] - Dangerous usage of 'cp' (strncpy doesn't always 0-terminate it)
- ./src/bgp/bgp_prefix.c:390 [error] - Dangerous usage of 'cp' (strncpy doesn't always 0-terminate it)
- ./src/cfg_handlers.c:1363 [error] - Uninitialized variable: value
- ./src/net_aggr.c:224 [error] - Uninitialized variable: current
- ./src/net_aggr.c:226 [error] - Uninitialized variable: current
- ./src/net_aggr.c:226 [error] - Uninitialized variable: next
- ./src/net_aggr.c:227 [error] - Uninitialized variable: current
- ./src/net_aggr.c:228 [error] - Uninitialized variable: current
- ./src/net_aggr.c:229 [error] - Uninitialized variable: next
- ./src/net_aggr.c:233 [error] - Uninitialized variable: prev
- ./src/net_aggr.c:988 [error] - Uninitialized variable: current
- ./src/net_aggr.c:990 [error] - Uninitialized variable: current
- ./src/net_aggr.c:990 [error] - Uninitialized variable: next
- ./src/net_aggr.c:991 [error] - Uninitialized variable: current
- ./src/net_aggr.c:992 [error] - Uninitialized variable: current
- ./src/net_aggr.c:993 [error] - Uninitialized variable: next
- ./src/net_aggr.c:997 [error] - Uninitialized variable: prev
- ./src/thread_pool.c:115 [error] - Uninitialized variable: worker
- ./src/util.c:562 [error] - Uninitialized variable: ret
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Tue, 21 Dec 2010 15:59:09 +0000, based on results by cppcheck 1.46