cppcheck analysis of firebird2.1_2.1.3.18185-0.ds1-11.dsc
- ./examples/api/api1.c:53 [error] - Buffer overrun possible for long cmd-line args
- ./examples/api/api10.c:61 [error] - Buffer overrun possible for long cmd-line args
- ./examples/api/api11.c:49 [error] - Buffer overrun possible for long cmd-line args
- ./examples/api/api12.c:79 [error] - Buffer overrun possible for long cmd-line args
- ./examples/api/api13.c:59 [error] - Buffer overrun possible for long cmd-line args
- ./examples/api/api15.c:81 [error] - Buffer overrun possible for long cmd-line args
- ./examples/api/api15.c:97 [error] - Null pointer dereference
- ./examples/api/api16.c:80 [error] - Buffer overrun possible for long cmd-line args
- ./examples/api/api16t.c:58 [error] - Buffer overrun possible for long cmd-line args
- ./examples/api/api2.c:56 [error] - Buffer overrun possible for long cmd-line args
- ./examples/api/api3.c:63 [error] - Buffer overrun possible for long cmd-line args
- ./examples/api/api4.c:62 [error] - Buffer overrun possible for long cmd-line args
- ./examples/api/api5.c:52 [error] - Buffer overrun possible for long cmd-line args
- ./examples/api/api6.c:80 [error] - Buffer overrun possible for long cmd-line args
- ./examples/api/api7.c:60 [error] - Buffer overrun possible for long cmd-line args
- ./examples/api/api8.c:81 [error] - Buffer overrun possible for long cmd-line args
- ./examples/api/api9.c:67 [error] - Buffer overrun possible for long cmd-line args
- ./examples/api/api9f.c:283 [error] - Resource leak: file
- ./examples/api/apifull.c:90 [error] - Buffer overrun possible for long cmd-line args
- ./examples/api/apifull.c:229 [error] - Common realloc mistake: "sqlda" nulled but not freed upon failure
- ./examples/udf/udflib.c:151 [error] - Memory leak: buffer
- ./examples/udf/udflib.c:428 [error] - Memory leak: buf
- ./examples/udf/udflib.c:422 [error] - Memory leak: buffer
- ./extern/btyacc/mstring.c:57 [error] - Memory leak: n.ptr
- ./extern/btyacc/readskel.c:113 [error] - Resource leak: fp
- ./src/common/classes/string_test.cpp:349 [error] - Invalid iterator: x
- ./src/config/InputFile.cpp:147 [error] - Resource leak: input
- ./src/config/Stream.cpp:282 [error] - Memory leak: segment
- ./src/jrd/os/posix/isc_ipc.cpp:534 [error] - Uninitialized variable: sig
- ./src/jrd/os/posix/unix.cpp:851 [error] - Uninitialized variable: spare_buffer
- ./src/jrd/os/vms/extvms.cpp:871 [error] - Uninitialized variable: status
- ./src/jrd/os/vms/map.cpp:210 [error] - Uninitialized variable: new_blr
- ./src/jrd/os/vms/vms.cpp:842 [error] - Uninitialized variable: devlock
- ./src/jrd/os/vms/vms.cpp:619 [error] - Uninitialized variable: spare_buffer
- ./src/jrd/os/vms/vmslock.cpp:129 [error] - Invalid number of character (() when these macros are defined: ''.
- ./src/jrd/os/vms/vmsthread.cpp:133 [error] - Uninitialized variable: callback
- ./src/jrd/os/vms/vmsthread.cpp:269 [error] - Uninitialized variable: tcb
- ./src/jrd/os/win32/winnt.cpp:968 [error] - Uninitialized variable: spare_buffer
- ./src/remote/os/win32/wnet.cpp:705 [error] - Possible null pointer dereference: new_port
- ./src/remote/os/win32/wnet.cpp:706 [error] - Possible null pointer dereference: new_port
- ./src/remote/os/win32/wnet.cpp:710 [error] - Possible null pointer dereference: new_port
- ./src/remote/os/win32/wnet.cpp:715 [error] - Possible null pointer dereference: new_port
- ./src/remote/os/win32/wnet.cpp:716 [error] - Possible null pointer dereference: new_port
- ./src/utilities/gsec/call_service.cpp:224 [error] - Dangerous usage of 'service' (strncpy doesn't always 0-terminate it)
- ./src/utilities/ibmgr/srvrmgr.cpp:341 [error] - Buffer access out-of-bounds: svc_name
- ./src/utilities/ibmgr/srvrmgr.cpp:351 [error] - Buffer access out-of-bounds: svc_name
- ./src/utilities/ibmgr/srvrmgr.cpp:625 [error] - Buffer access out-of-bounds: svc_name
- ./src/utilities/install/install_svc.cpp:216 [error] - Buffer access out-of-bounds: full_username
- ./src/utilities/rebuild/rebuild.cpp:216 [error] - Possible null pointer dereference: header
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, 20 Dec 2010 21:14:01 +0000, based on results by cppcheck 1.46