cppcheck analysis of vpb-driver_4.2.52-2.dsc
- ./src/libpri/pri_facility.c:730 [error] - Array index -1 is out of bounds
- ./src/libpri/pri_facility.c:746 [error] - Array index -2 is out of bounds
- ./src/libpri/pri_facility.c:771 [error] - Array index -3 is out of bounds
- ./src/libpri/pri_facility.c:788 [error] - Array index -4 is out of bounds
- ./src/libpri/pri_facility.c:830 [error] - Array index -1 is out of bounds
- ./src/libpri/pri_facility.c:851 [error] - Array index -2 is out of bounds
- ./src/libpri/pri_facility.c:852 [error] - Array index -3 is out of bounds
- ./src/libpri/pri_facility.c:887 [error] - Array index -1 is out of bounds
- ./src/libpri/pri_facility.c:904 [error] - Array index -2 is out of bounds
- ./src/libpri/pri_facility.c:905 [error] - Array index -3 is out of bounds
- ./src/libpri/pridump.c:62 [error] - Resource leak: dfd
- ./src/libvpb/coff.cpp:314 [error] - Memory leak: pw
- ./src/libvpb/coff.cpp:451 [error] - Memory leak: pw
- ./src/libvpb/coff.cpp:458 [error] - Memory leak: pr
- ./src/utils/measerl.cpp:161 [error] - Uninitialized variable: s
- ./src/utils/measerl.cpp:162 [error] - Uninitialized variable: s
- ./src/vtcore/vtcore_main.c:1797 [error] - Buffer access out-of-bounds: chan.txbuf
- ./src/vtcore/vtcore_main.c:1903 [error] - Buffer access out-of-bounds: chan.rxbuf
- ./unittest/OpenPri/bridging.cpp:133 [error] - Mismatching allocation and deallocation: h
- ./unittest/OpenPri/dialans.cpp:228 [error] - Memory leak: h
- ./unittest/OpenPri/dialans.cpp:228 [error] - Memory leak: state
- ./unittest/OpenPri/loopback.cpp:101 [error] - Mismatching allocation and deallocation: h
- ./unittest/OpenPri/playdtmf.cpp:114 [error] - Mismatching allocation and deallocation: h
- ./unittest/OpenPri/prilog.cpp:136 [error] - Mismatching allocation and deallocation: h
- ./unittest/OpenPri/privoxlog.cpp:125 [error] - Mismatching allocation and deallocation: h
- ./unittest/cid/cidg2test.cpp:104 [error] - Memory leak: sil
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Mon, 17 Jan 2011 06:58:16 +0000, based on results by cppcheck 1.46