cppcheck analysis of aprsd_2.2.5-13-5.1.dsc
- ./src/aprsString.cpp:304 [error] - Mismatching allocation and deallocation: errormsg
- ./src/aprsString.cpp:1091 [possible error] - Memory leak: temp
- ./src/aprsString.cpp:1370 [error] - Mismatching allocation and deallocation: buf1
- ./src/aprsString.cpp:1382 [error] - Mismatching allocation and deallocation: buf2
- ./src/aprsd.cpp:171 [possible error] - Memory leak: abuff
- ./src/aprsd.cpp:703 [possible error] - Memory leak: s
- ./src/aprsd.cpp:712 [possible error] - Memory leak: s
- ./src/aprsd.cpp:722 [possible error] - Memory leak: s
- ./src/aprsd.cpp:1128 [possible error] - Memory leak: monStats
- ./src/aprsd.cpp:1157 [possible error] - Memory leak: netbc
- ./src/aprsd.cpp:1165 [possible error] - Memory leak: tncbc
- ./src/aprsd.cpp:1186 [possible error] - Memory leak: monStats
- ./src/cpqueue.cpp:80 [possible error] - Mismatching allocation and deallocation: cpQueue::base_p
- ./src/dupCheck.cpp:64 [possible error] - Mismatching allocation and deallocation: dupCheck::hashtime
- ./src/history.cpp:400 [error] - Mismatching allocation and deallocation: hr
- ./src/history.cpp:618 [error] - Mismatching allocation and deallocation: data
- ./src/httpserver.cpp:158 [possible error] - Memory leak: gmt
- ./src/httpserver.cpp:459 [possible error] - Memory leak: gmt
- ./src/queryResp.cpp:182 [possible error] - Memory leak: rfpacket
- ./src/queryResp.cpp:181 [error] - Mismatching allocation and deallocation: hostname
- ./src/queryResp.cpp:179 [error] - Mismatching allocation and deallocation: cp
- ./src/queryResp.cpp:180 [error] - Mismatching allocation and deallocation: cpAck
- ./src/servers.cpp:788 [possible error] - Memory leak: msgbuf
- ./src/servers.cpp:1082 [possible error] - Memory leak: ack
- ./src/servers.cpp:1193 [error] - Mismatching allocation and deallocation: rfbuf
- ./src/servers.cpp:1520 [error] - Mismatching allocation and deallocation: pWelcome
- ./src/servers.cpp:1523 [error] - Mismatching allocation and deallocation: pWelcome
- ./src/servers.cpp:1523 [error] - Deallocating a deallocated pointer: pWelcome
- ./src/servers.cpp:1974 [possible error] - Memory leak: amsg
- ./src/servers.cpp:2020 [possible error] - Memory leak: inetpacket
- ./src/servers.cpp:2052 [possible error] - Memory leak: inetpacket
- ./src/servers.cpp:2422 [possible error] - Memory leak: abuff
- ./src/servers.cpp:2844 [possible error] - Memory leak: inetpacket
- ./src/servers.cpp:2971 [possible error] - Memory leak: rfpacket
- ./src/utils.cpp:124 [error] - Mismatching allocation and deallocation: cp
- ./src/utils.cpp:125 [error] - Mismatching allocation and deallocation: pLogFile
- ./src/utils.cpp:185 [error] - Mismatching allocation and deallocation: cp
- ./src/utils.cpp:205 [error] - Mismatching allocation and deallocation: cp
- ./src/utils.cpp:271 [error] - Mismatching allocation and deallocation: temp
- ./src/utils.cpp:446 [error] - Mismatching allocation and deallocation: a
- ./src/utils.cpp:447 [error] - Mismatching allocation and deallocation: b
- ./src/utils.cpp:219 [error] - Dangerous usage of 'cp' (strncpy doesn't always 0-terminate it)
- ./src/utils.cpp:233 [error] - Dangerous usage of 'call' (strncpy doesn't always 0-terminate it)
- ./src/validate.cpp:173 [error] - Mismatching allocation and deallocation: buffer1
- ./src/validate.cpp:189 [error] - Mismatching allocation and deallocation: buffer1
- ./src/validate.cpp:205 [error] - Mismatching allocation and deallocation: buffer1
- ./src/validate.cpp:251 [error] - Mismatching allocation and deallocation: buffer1
- ./src/validate.cpp:293 [error] - Mismatching allocation and deallocation: buffer1
- ./src/validate.cpp:188 [error] - Mismatching allocation and deallocation: buffer2
- ./src/validate.cpp:206 [error] - Mismatching allocation and deallocation: buffer2
- ./src/validate.cpp:252 [error] - Mismatching allocation and deallocation: buffer2
- ./src/validate.cpp:294 [error] - Mismatching allocation and deallocation: buffer2
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:46:06 +0000, based on results by cppcheck 1.41-modif