cppcheck analysis of firebird2.5_2.5.0.26054~ReleaseCandidate3.ds2-1.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/binreloc/binreloc.c:252 [error] - Common realloc mistake: "address_string" nulled but not freed upon failure
- ./extern/btyacc/mstring.c:58 [error] - Memory leak: n.ptr
- ./src/common/classes/string_test.cpp:364 [error] - Invalid iterator: x
- ./src/config/Stream.cpp:291 [error] - Memory leak: segment
- ./src/jrd/os/posix/isc_ipc.cpp:319 [error] - Uninitialized variable: sig
- ./src/jrd/os/posix/unix.cpp:759 [error] - Uninitialized variable: spare_buffer
- ./src/jrd/os/vms/extvms.cpp:868 [error] - Uninitialized variable: status
- ./src/jrd/os/vms/vmslock.cpp:129 [error] - Invalid number of character (() when these macros are defined: ''.
- ./src/jrd/os/win32/winnt.cpp:844 [error] - Uninitialized variable: spare_buffer
- ./src/jrd/os/win32/win9x_nt.h:130 [error] - Possible null pointer dereference: fileMutex
- ./src/jrd/os/win32/win9x_nt.h:169 [error] - Possible null pointer dereference: fileMutex
- ./src/utilities/gsec/call_service.cpp:231 [error] - Dangerous usage of 'service' (strncpy doesn't always 0-terminate it)
- ./src/utilities/ibmgr/srvrmgr.cpp:343 [error] - Buffer access out-of-bounds: svc_name
- ./src/utilities/ibmgr/srvrmgr.cpp:353 [error] - Buffer access out-of-bounds: svc_name
- ./src/utilities/ibmgr/srvrmgr.cpp:640 [error] - Buffer access out-of-bounds: svc_name
- ./src/utilities/install/install_svc.cpp:241 [error] - Buffer access out-of-bounds: full_username
- ./src/utilities/rebuild/rebuild.cpp:218 [error] - Possible null pointer dereference: header
- ./src/utilities/rebuild/rebuild.cpp:219 [error] - Possible null pointer dereference: rbdb
- ./src/utilities/rebuild/rebuild.cpp:223 [error] - Possible null pointer dereference: rbdb
- ./src/utilities/rebuild/rebuild.cpp:225 [error] - Possible null pointer dereference: rbdb
- ./src/utilities/rebuild/rebuild.cpp:228 [error] - Possible null pointer dereference: rbdb
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 09:58:04 +0000, based on results by cppcheck 1.46