Task #130656 - added.err
back to task #130656download
Error: GCC_ANALYZER_WARNING (CWE-775):
bluez-5.87/btio/btio.c:255:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘g_io_channel_unix_get_fd(io)’
bluez-5.87/btio/btio.c:255:12: branch_false: following ‘false’ branch...
bluez-5.87/btio/btio.c:275:20: branch_false: ...to here
bluez-5.87/btio/btio.c:255:13: danger: ‘g_io_channel_unix_get_fd(io)’ leaks here
# 253| srv_sock = g_io_channel_unix_get_fd(io);
# 254|
# 255|-> if (cond & G_IO_ERR) {
# 256| int err, sk_err;
# 257| socklen_t len = sizeof(sk_err);
Error: GCC_ANALYZER_WARNING (CWE-401):
bluez-5.87/src/shared/bap.c:1008:9: warning[-Wanalyzer-malloc-leak]: leak of '*((struct bap_metadata_process)*(void *)user_data).rsp.iov_base'
bluez-5.87/src/shared/bap.c:3423:13: enter_function: entry to 'bap_metadata_process'
bluez-5.87/src/shared/bap.c:3433:20: branch_true: following 'true' branch (when 'l != 2')...
bluez-5.87/src/shared/bap.c:3434:53: branch_true: ...to here
bluez-5.87/src/shared/bap.c:3434:25: call_function: calling 'ascs_ase_rsp_add' from 'bap_metadata_process'
# 1006| rsp->ase = id;
# 1007| rsp->code = code;
# 1008|-> rsp->reason = reason;
# 1009| }
# 1010|
Error: CPPCHECK_WARNING (CWE-476):
bluez-5.87/tools/mesh/mesh-db.c:2604: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: hdr
# 2602| */
# 2603|
# 2604|-> pos = strrchr(hdr, '}');
# 2605| if (!pos)
# 2606| goto done;