bluez-5.85-1.fc44
List of Findings
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1]
bluez-5.85/attrib/gattrib.c:199:24: warning[-Wanalyzer-malloc-leak]: leak of ‘construct_full_pdu(opcode, pdu, length)’
bluez-5.85/attrib/gattrib.c:212:13: enter_function: entry to ‘attrib_callback_result’
bluez-5.85/attrib/gattrib.c:222:15: call_function: calling ‘construct_full_pdu’ from ‘attrib_callback_result’
bluez-5.85/attrib/gattrib.c:222:15: return_function: returning to ‘attrib_callback_result’ from ‘construct_full_pdu’
bluez-5.85/attrib/gattrib.c:223:12: branch_false: following ‘false’ branch...
bluez-5.85/attrib/gattrib.c:226:12: branch_false: ...to here
bluez-5.85/attrib/gattrib.c:234:12: branch_true: following ‘true’ branch...
bluez-5.85/attrib/gattrib.c:235:17: branch_true: ...to here
bluez-5.85/attrib/gattrib.c:235:17: throw: if the called function throws an exception...
bluez-5.85/attrib/gattrib.c:199:24: danger: ‘construct_full_pdu(opcode, pdu, length)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def2]
bluez-5.85/attrib/gattrib.c:207:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pdu’
bluez-5.85/attrib/gattrib.c:348:13: enter_function: entry to ‘client_notify_cb’
bluez-5.85/attrib/gattrib.c:355:12: branch_false: following ‘false’ branch (when ‘length == 0’)...
bluez-5.85/attrib/gattrib.c:358:9: branch_false: ...to here
bluez-5.85/attrib/gattrib.c:358:9: call_function: calling ‘attrib_callback_notify’ from ‘client_notify_cb’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def3]
bluez-5.85/btio/btio.c:255:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘g_io_channel_unix_get_fd(io)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def4]
bluez-5.85/btio/btio.c:262:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘accept(g_io_channel_unix_get_fd(io), 0, 0)’
bluez-5.85/btio/btio.c:256:12: branch_false: following ‘false’ branch...
bluez-5.85/btio/btio.c:262:18: branch_false: ...to here
bluez-5.85/btio/btio.c:262:18: danger: ‘accept(g_io_channel_unix_get_fd(io), 0, 0)’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def5]
bluez-5.85/btio/btio.c:346:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
bluez-5.85/btio/btio.c:1979:20: enter_function: entry to ‘create_io’
bluez-5.85/btio/btio.c:1987:24: acquire_resource: socket created here
bluez-5.85/btio/btio.c:1988:20: branch_false: following ‘false’ branch (when ‘sock >= 0’)...
bluez-5.85/btio/btio.c:1992:21: branch_false: ...to here
bluez-5.85/btio/btio.c:1992:21: call_function: calling ‘l2cap_bind’ from ‘create_io’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def6]
bluez-5.85/btio/btio.c:462:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
bluez-5.85/btio/btio.c:1979:20: enter_function: entry to ‘create_io’
bluez-5.85/btio/btio.c:2002:24: acquire_resource: stream socket created here
bluez-5.85/btio/btio.c:2003:20: branch_false: following ‘false’ branch (when ‘sock >= 0’)...
bluez-5.85/btio/btio.c:2007:21: branch_false: ...to here
bluez-5.85/btio/btio.c:2007:21: call_function: calling ‘rfcomm_bind’ from ‘create_io’
bluez-5.85/btio/btio.c:2007:21: return_function: returning to ‘create_io’ from ‘rfcomm_bind’
bluez-5.85/btio/btio.c:2007:20: branch_false: following ‘false’ branch...
bluez-5.85/btio/btio.c:2010:22: branch_false: ...to here
bluez-5.85/btio/btio.c:2010:22: call_function: calling ‘rfcomm_set’ from ‘create_io’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def7]
bluez-5.85/btio/btio.c:742:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
bluez-5.85/btio/btio.c:1979:20: enter_function: entry to ‘create_io’
bluez-5.85/btio/btio.c:2002:24: acquire_resource: stream socket created here
bluez-5.85/btio/btio.c:2003:20: branch_false: following ‘false’ branch (when ‘sock >= 0’)...
bluez-5.85/btio/btio.c:2007:21: branch_false: ...to here
bluez-5.85/btio/btio.c:2007:21: call_function: calling ‘rfcomm_bind’ from ‘create_io’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def8]
bluez-5.85/btio/btio.c:789:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
bluez-5.85/btio/btio.c:1979:20: enter_function: entry to ‘create_io’
bluez-5.85/btio/btio.c:2014:24: acquire_resource: socket created here
bluez-5.85/btio/btio.c:2015:20: branch_false: following ‘false’ branch (when ‘sock >= 0’)...
bluez-5.85/btio/btio.c:2019:36: branch_false: ...to here
bluez-5.85/btio/btio.c:2019:21: call_function: calling ‘sco_bind’ from ‘create_io’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def9]
bluez-5.85/btio/btio.c:838:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
bluez-5.85/btio/btio.c:1979:20: enter_function: entry to ‘create_io’
bluez-5.85/btio/btio.c:2025:24: acquire_resource: socket created here
bluez-5.85/btio/btio.c:2026:20: branch_false: following ‘false’ branch (when ‘sock >= 0’)...
bluez-5.85/btio/btio.c:2033:52: branch_false: ...to here
bluez-5.85/btio/btio.c:2031:21: call_function: calling ‘iso_bind’ from ‘create_io’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def10]
bluez-5.85/btio/btio.c:838:9: warning[-Wanalyzer-malloc-leak]: leak of ‘addr’
bluez-5.85/btio/btio.c:1979:20: enter_function: entry to ‘create_io’
bluez-5.85/btio/btio.c:2026:20: branch_false: following ‘false’ branch (when ‘sock >= 0’)...
bluez-5.85/btio/btio.c:2033:52: branch_false: ...to here
bluez-5.85/btio/btio.c:2031:21: call_function: calling ‘iso_bind’ from ‘create_io’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def11]
bluez-5.85/btio/btio.c:960:25: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
bluez-5.85/btio/btio.c:2130:13: enter_function: entry to ‘bt_io_listen’
bluez-5.85/btio/btio.c:2140:9: acquire_resource: ‘va_start’ called here
bluez-5.85/btio/btio.c:2141:15: call_function: calling ‘parse_set_opts’ from ‘bt_io_listen’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def12]
bluez-5.85/btio/btio.c:969:25: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
bluez-5.85/btio/btio.c:2130:13: enter_function: entry to ‘bt_io_listen’
bluez-5.85/btio/btio.c:2140:9: acquire_resource: ‘va_start’ called here
bluez-5.85/btio/btio.c:2141:15: call_function: calling ‘parse_set_opts’ from ‘bt_io_listen’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def13]
bluez-5.85/btio/btio.c:1056:25: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
bluez-5.85/btio/btio.c:2130:13: enter_function: entry to ‘bt_io_listen’
bluez-5.85/btio/btio.c:2140:9: acquire_resource: ‘va_start’ called here
bluez-5.85/btio/btio.c:2141:15: call_function: calling ‘parse_set_opts’ from ‘bt_io_listen’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def14]
bluez-5.85/btio/btio.c:1870:25: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
bluez-5.85/btio/btio.c:1849:10: enter_function: entry to ‘bt_io_bcast_accept’
bluez-5.85/btio/btio.c:1861:9: acquire_resource: ‘va_start’ called here
bluez-5.85/btio/btio.c:1863:16: branch_true: following ‘true’ branch (when ‘opt != 0’)...
bluez-5.85/btio/btio.c:1864:20: branch_true: ...to here
bluez-5.85/btio/btio.c:1864:20: branch_false: following ‘false’ branch (when ‘opt != 29’)...
bluez-5.85/btio/btio.c:1866:27: branch_false: ...to here
bluez-5.85/btio/btio.c:1866:27: branch_false: following ‘false’ branch (when ‘opt != 30’)...
bluez-5.85/btio/btio.c:1870:25: call_function: inlined call to ‘bt_io_error_quark’ from ‘bt_io_bcast_accept’
bluez-5.85/btio/btio.c:1870:25: throw: if ‘g_set_error’ throws an exception...
bluez-5.85/btio/btio.c:1870:25: danger: missing call to ‘va_end’ to match ‘va_start’ at [(2)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def15]
bluez-5.85/btio/btio.c:1902:25: warning[-Wanalyzer-malloc-leak]: leak of ‘addr’
bluez-5.85/btio/btio.c:1863:16: branch_true: following ‘true’ branch (when ‘opt != 0’)...
bluez-5.85/btio/btio.c:1864:20: branch_true: ...to here
bluez-5.85/btio/btio.c:1880:12: branch_false: following ‘false’ branch...
bluez-5.85/btio/btio.c:1883:16: branch_false: ...to here
bluez-5.85/btio/btio.c:1885:12: branch_true: following ‘true’ branch (when ‘bc_num_bis != 0’)...
bluez-5.85/btio/btio.c:1886:24: branch_true: ...to here
bluez-5.85/btio/btio.c:1886:24: acquire_memory: allocated here
bluez-5.85/btio/btio.c:1888:20: branch_false: following ‘false’ branch (when ‘addr’ is non-NULL)...
bluez-5.85/btio/btio.c:1888:20: branch_false: ...to here
bluez-5.85/btio/btio.c:1900:20: branch_true: following ‘true’ branch...
bluez-5.85/btio/btio.c:1902:25: branch_true: ...to here
bluez-5.85/btio/btio.c:1902:25: throw: if ‘g_set_error’ throws an exception...
bluez-5.85/btio/btio.c:1902:25: danger: ‘addr’ leaks here; was allocated at [(7)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING: [#def16]
bluez-5.85/btio/btio.c:1911:13: warning[-Wanalyzer-fd-use-without-check]: ‘read’ on possibly invalid file descriptor ‘g_io_channel_unix_get_fd(io)’
bluez-5.85/btio/btio.c:1863:16: branch_true: following ‘true’ branch (when ‘opt != 0’)...
bluez-5.85/btio/btio.c:1864:20: branch_true: ...to here
bluez-5.85/btio/btio.c:1880:12: branch_false: following ‘false’ branch...
bluez-5.85/btio/btio.c:1883:16: branch_false: ...to here
bluez-5.85/btio/btio.c:1885:12: branch_true: following ‘true’ branch (when ‘bc_num_bis != 0’)...
bluez-5.85/btio/btio.c:1886:24: branch_true: ...to here
bluez-5.85/btio/btio.c:1888:20: branch_false: following ‘false’ branch (when ‘addr’ is non-NULL)...
bluez-5.85/btio/btio.c:1888:20: branch_false: ...to here
bluez-5.85/btio/btio.c:1900:21: acquire_resource: socket created here
bluez-5.85/btio/btio.c:1900:20: branch_true: following ‘true’ branch...
bluez-5.85/btio/btio.c:1902:25: branch_true: ...to here
bluez-5.85/btio/btio.c:1907:20: branch_false: following ‘false’ branch...
bluez-5.85/btio/btio.c:1911:13: branch_false: ...to here
bluez-5.85/btio/btio.c:1911:13: danger: ‘g_io_channel_unix_get_fd(io)’ could be invalid
Error: GCC_ANALYZER_WARNING (CWE-775): [#def17]
bluez-5.85/btio/btio.c:2048:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
bluez-5.85/btio/btio.c:1979:20: enter_function: entry to ‘create_io’
bluez-5.85/btio/btio.c:2014:24: acquire_resource: socket created here
bluez-5.85/btio/btio.c:2015:20: branch_false: following ‘false’ branch (when ‘sock >= 0’)...
bluez-5.85/btio/btio.c:2019:36: branch_false: ...to here
bluez-5.85/btio/btio.c:2019:21: call_function: calling ‘sco_bind’ from ‘create_io’
bluez-5.85/btio/btio.c:2019:21: return_function: returning to ‘create_io’ from ‘sco_bind’
bluez-5.85/btio/btio.c:2019:20: branch_false: following ‘false’ branch...
bluez-5.85/btio/btio.c:2021:22: branch_false: ...to here
bluez-5.85/btio/btio.c:2021:22: call_function: calling ‘sco_set’ from ‘create_io’
bluez-5.85/btio/btio.c:2021:22: return_function: returning to ‘create_io’ from ‘sco_set’
bluez-5.85/btio/btio.c:2021:20: branch_false: following ‘false’ branch...
bluez-5.85/btio/btio.c:2048:14: branch_false: ...to here
bluez-5.85/btio/btio.c:2048:14: throw: if ‘g_io_channel_unix_new’ throws an exception...
bluez-5.85/btio/btio.c:2048:14: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def18]
bluez-5.85/btio/btio.c:2056:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
bluez-5.85/btio/btio.c:1979:20: enter_function: entry to ‘create_io’
bluez-5.85/btio/btio.c:2002:24: acquire_resource: stream socket created here
bluez-5.85/btio/btio.c:2003:20: branch_false: following ‘false’ branch (when ‘sock >= 0’)...
bluez-5.85/btio/btio.c:2007:21: branch_false: ...to here
bluez-5.85/btio/btio.c:2007:21: call_function: calling ‘rfcomm_bind’ from ‘create_io’
bluez-5.85/btio/btio.c:2007:21: return_function: returning to ‘create_io’ from ‘rfcomm_bind’
bluez-5.85/btio/btio.c:2007:20: branch_true: following ‘true’ branch...
bluez-5.85/btio/btio.c:2009:25: branch_true: ...to here
bluez-5.85/btio/btio.c:2056:9: throw: if ‘close’ throws an exception...
bluez-5.85/btio/btio.c:2056:9: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def19]
bluez-5.85/btio/btio.c:2173:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
bluez-5.85/btio/btio.c:1979:20: enter_function: entry to ‘create_io’
bluez-5.85/btio/btio.c:2014:24: acquire_resource: socket created here
bluez-5.85/btio/btio.c:2015:20: branch_false: following ‘false’ branch (when ‘sock >= 0’)...
bluez-5.85/btio/btio.c:2019:36: branch_false: ...to here
bluez-5.85/btio/btio.c:2019:21: call_function: calling ‘sco_bind’ from ‘create_io’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def20]
bluez-5.85/btio/btio.c:2173:16: warning[-Wanalyzer-malloc-leak]: leak of ‘addr’
bluez-5.85/btio/btio.c:1979:20: enter_function: entry to ‘create_io’
bluez-5.85/btio/btio.c:2026:20: branch_false: following ‘false’ branch (when ‘sock >= 0’)...
bluez-5.85/btio/btio.c:2033:52: branch_false: ...to here
bluez-5.85/btio/btio.c:2031:21: call_function: calling ‘iso_bind’ from ‘create_io’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def21]
bluez-5.85/btio/btio.c:2173:16: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
bluez-5.85/btio/btio.c:1849:10: enter_function: entry to ‘bt_io_bcast_accept’
bluez-5.85/btio/btio.c:1861:9: acquire_resource: ‘va_start’ called here
bluez-5.85/btio/btio.c:1863:16: branch_true: following ‘true’ branch (when ‘opt != 0’)...
bluez-5.85/btio/btio.c:1864:20: branch_true: ...to here
bluez-5.85/btio/btio.c:1864:20: branch_false: following ‘false’ branch (when ‘opt != 29’)...
bluez-5.85/btio/btio.c:1866:27: branch_false: ...to here
bluez-5.85/btio/btio.c:1866:27: branch_false: following ‘false’ branch (when ‘opt != 30’)...
bluez-5.85/btio/btio.c:1870:25: call_function: inlined call to ‘bt_io_error_quark’ from ‘bt_io_bcast_accept’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def22]
bluez-5.85/client/advertising.c:709:14: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
bluez-5.85/client/advertising.c:699:6: enter_function: entry to ‘ad_register’
bluez-5.85/client/advertising.c:701:12: branch_false: following ‘false’ branch...
bluez-5.85/client/advertising.c:706:9: branch_false: ...to here
bluez-5.85/client/advertising.c:707:9: release_memory: using NULL here
bluez-5.85/client/advertising.c:709:14: danger: argument 1 (‘<unknown>’) NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-457): [#def23]
bluez-5.85/client/assistant.c:185: warning[uninitvar]: Uninitialized variable: value
Error: GCC_ANALYZER_WARNING (CWE-457): [#def24]
bluez-5.85/client/display.c:54:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘saved_line’
bluez-5.85/client/display.c:40:12: branch_false: following ‘false’ branch...
bluez-5.85/client/display.c:48:9: branch_false: ...to here
bluez-5.85/client/display.c:52:12: branch_true: following ‘true’ branch...
bluez-5.85/client/display.c:53:17: branch_true: ...to here
bluez-5.85/client/display.c:54:17: danger: use of uninitialized value ‘saved_line’ here
Error: CPPCHECK_WARNING (CWE-457): [#def25]
bluez-5.85/client/gatt.c:732: warning[uninitvar]: Uninitialized variable: value
Error: CPPCHECK_WARNING (CWE-457): [#def26]
bluez-5.85/client/hci.c:102: warning[uninitvar]: Uninitialized variable: value
Error: GCC_ANALYZER_WARNING (CWE-401): [#def27]
bluez-5.85/client/main.c:2358:13: warning[-Wanalyzer-malloc-leak]: leak of ‘str’
bluez-5.85/client/main.c:2342:13: enter_function: entry to ‘cmd_bearer’
bluez-5.85/client/main.c:2347:17: call_function: calling ‘find_device’ from ‘cmd_bearer’
bluez-5.85/client/main.c:2347:17: return_function: returning to ‘cmd_bearer’ from ‘find_device’
bluez-5.85/client/main.c:2348:12: branch_false: following ‘false’ branch...
bluez-5.85/client/main.c:2351:12: branch_false: ...to here
bluez-5.85/client/main.c:2351:12: branch_false: following ‘false’ branch (when ‘argc > 2’)...
bluez-5.85/client/main.c:2356:15: branch_false: ...to here
bluez-5.85/client/main.c:2356:15: acquire_memory: allocated here
bluez-5.85/client/main.c:2358:13: throw: if ‘g_dbus_proxy_set_property_basic’ throws an exception...
bluez-5.85/client/main.c:2358:13: danger: ‘str’ leaks here; was allocated at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def28]
bluez-5.85/client/mgmt.c:600:16: warning[-Wanalyzer-malloc-leak]: leak of ‘eir_get_name(&*(const struct mgmt_ev_device_found *)param.eir, ((struct <anonymous> *)param)[6].__v)’
bluez-5.85/client/mgmt.c:649:13: enter_function: entry to ‘device_found’
bluez-5.85/client/mgmt.c:657:12: branch_false: following ‘false’ branch (when ‘len > 13’)...
bluez-5.85/client/mgmt.c:662:9: branch_false: ...to here
bluez-5.85/client/mgmt.c:665:12: branch_false: following ‘false’ branch...
bluez-5.85/client/mgmt.c:671:13: branch_false: ...to here
bluez-5.85/client/mgmt.c:671:12: branch_true: following ‘true’ branch...
bluez-5.85/client/mgmt.c:674:17: branch_true: ...to here
bluez-5.85/client/mgmt.c:683:24: call_function: calling ‘eir_get_name’ from ‘device_found’
bluez-5.85/client/mgmt.c:683:24: return_function: returning to ‘device_found’ from ‘eir_get_name’
bluez-5.85/client/mgmt.c:684:20: branch_true: following ‘true’ branch...
bluez-5.85/client/mgmt.c:685:25: branch_true: ...to here
bluez-5.85/client/mgmt.c:685:25: throw: if ‘bt_shell_printf’ throws an exception...
bluez-5.85/client/mgmt.c:600:16: danger: ‘eir_get_name(&*(const struct mgmt_ev_device_found *)param.eir, ((struct <anonymous> *)param)[6].__v)’ leaks here; was allocated at [(18)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def29]
bluez-5.85/client/mgmt.c:2697:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/urandom", 0)’
bluez-5.85/client/mgmt.c:2681:12: branch_false: following ‘false’ branch (when ‘argc <= 2’)...
bluez-5.85/client/mgmt.c:2690:22: branch_false: ...to here
bluez-5.85/client/mgmt.c:2690:22: acquire_resource: opened here
bluez-5.85/client/mgmt.c:2691:20: branch_false: following ‘false’ branch...
bluez-5.85/client/mgmt.c:2696:21: branch_false: ...to here
bluez-5.85/client/mgmt.c:2696:20: branch_true: following ‘true’ branch...
bluez-5.85/client/mgmt.c:2697:25: branch_true: ...to here
bluez-5.85/client/mgmt.c:2697:25: throw: if ‘bt_shell_printf’ throws an exception...
bluez-5.85/client/mgmt.c:2697:25: danger: ‘open("/dev/urandom", 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def30]
bluez-5.85/client/mgmt.c:2698:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/urandom", 0)’
bluez-5.85/client/mgmt.c:2681:12: branch_false: following ‘false’ branch (when ‘argc <= 2’)...
bluez-5.85/client/mgmt.c:2690:22: branch_false: ...to here
bluez-5.85/client/mgmt.c:2690:22: acquire_resource: opened here
bluez-5.85/client/mgmt.c:2691:20: branch_false: following ‘false’ branch...
bluez-5.85/client/mgmt.c:2696:21: branch_false: ...to here
bluez-5.85/client/mgmt.c:2696:20: branch_true: following ‘true’ branch...
bluez-5.85/client/mgmt.c:2697:25: branch_true: ...to here
bluez-5.85/client/mgmt.c:2698:25: danger: ‘open("/dev/urandom", 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def31]
bluez-5.85/client/mgmt.c:2702:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/urandom", 0)’
bluez-5.85/client/mgmt.c:2681:12: branch_false: following ‘false’ branch (when ‘argc <= 2’)...
bluez-5.85/client/mgmt.c:2690:22: branch_false: ...to here
bluez-5.85/client/mgmt.c:2690:22: acquire_resource: opened here
bluez-5.85/client/mgmt.c:2691:20: branch_false: following ‘false’ branch...
bluez-5.85/client/mgmt.c:2696:21: branch_false: ...to here
bluez-5.85/client/mgmt.c:2696:20: branch_false: following ‘false’ branch...
bluez-5.85/client/mgmt.c:2702:17: branch_false: ...to here
bluez-5.85/client/mgmt.c:2702:17: danger: ‘open("/dev/urandom", 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def32]
bluez-5.85/client/mgmt.c:4972:14: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
bluez-5.85/client/mgmt.c:4934:12: branch_false: following ‘false’ branch (when ‘argc == 1’)...
bluez-5.85/client/mgmt.c:4939:12: branch_false: ...to here
bluez-5.85/client/mgmt.c:4939:12: branch_false: following ‘false’ branch (when ‘uuid_bytes == 0’)...
bluez-5.85/client/mgmt.c:4942:20: branch_false: ...to here
bluez-5.85/client/mgmt.c:4949:14: acquire_memory: allocated here
bluez-5.85/client/mgmt.c:4950:12: branch_false: following ‘false’ branch (when ‘cp’ is non-NULL)...
bluez-5.85/client/mgmt.c:4953:9: branch_false: ...to here
bluez-5.85/client/mgmt.c:4960:12: branch_false: following ‘false’ branch (when ‘uuid_bytes == 0’)...
bluez-5.85/client/mgmt.c:4966:12: branch_false: ...to here
bluez-5.85/client/mgmt.c:4966:12: branch_false: following ‘false’ branch...
bluez-5.85/client/mgmt.c:4969:12: branch_false: ...to here
bluez-5.85/client/mgmt.c:4969:12: branch_false: following ‘false’ branch...
bluez-5.85/client/mgmt.c:4972:14: branch_false: ...to here
bluez-5.85/client/mgmt.c:4972:14: throw: if ‘mgmt_send’ throws an exception...
bluez-5.85/client/mgmt.c:4972:14: danger: ‘cp’ leaks here; was allocated at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def33]
bluez-5.85/client/mgmt.c:4974:17: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
bluez-5.85/client/mgmt.c:4934:12: branch_false: following ‘false’ branch (when ‘argc == 1’)...
bluez-5.85/client/mgmt.c:4939:12: branch_false: ...to here
bluez-5.85/client/mgmt.c:4939:12: branch_false: following ‘false’ branch (when ‘uuid_bytes == 0’)...
bluez-5.85/client/mgmt.c:4942:20: branch_false: ...to here
bluez-5.85/client/mgmt.c:4949:14: acquire_memory: allocated here
bluez-5.85/client/mgmt.c:4950:12: branch_false: following ‘false’ branch (when ‘cp’ is non-NULL)...
bluez-5.85/client/mgmt.c:4953:9: branch_false: ...to here
bluez-5.85/client/mgmt.c:4960:12: branch_false: following ‘false’ branch (when ‘uuid_bytes == 0’)...
bluez-5.85/client/mgmt.c:4966:12: branch_false: ...to here
bluez-5.85/client/mgmt.c:4966:12: branch_false: following ‘false’ branch...
bluez-5.85/client/mgmt.c:4969:12: branch_false: ...to here
bluez-5.85/client/mgmt.c:4969:12: branch_false: following ‘false’ branch...
bluez-5.85/client/mgmt.c:4972:14: branch_false: ...to here
bluez-5.85/client/mgmt.c:4972:12: branch_true: following ‘true’ branch...
bluez-5.85/client/mgmt.c:4974:17: branch_true: ...to here
bluez-5.85/client/mgmt.c:4974:17: throw: if ‘bt_shell_printf’ throws an exception...
bluez-5.85/client/mgmt.c:4974:17: danger: ‘cp’ leaks here; was allocated at [(5)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def34]
bluez-5.85/client/mgmt.c:5217:14: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
bluez-5.85/client/mgmt.c:5190:12: branch_false: following ‘false’ branch (when ‘argc == 1’)...
bluez-5.85/client/mgmt.c:5196:13: branch_false: ...to here
bluez-5.85/client/mgmt.c:5196:12: branch_false: following ‘false’ branch...
bluez-5.85/client/mgmt.c:5199:20: branch_false: ...to here
bluez-5.85/client/mgmt.c:5205:14: acquire_memory: allocated here
bluez-5.85/client/mgmt.c:5206:12: branch_false: following ‘false’ branch (when ‘cp’ is non-NULL)...
bluez-5.85/client/mgmt.c:5209:9: branch_false: ...to here
bluez-5.85/client/mgmt.c:5217:14: throw: if ‘mgmt_send’ throws an exception...
bluez-5.85/client/mgmt.c:5217:14: danger: ‘cp’ leaks here; was allocated at [(5)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def35]
bluez-5.85/client/mgmt.c:5219:17: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
bluez-5.85/client/mgmt.c:5190:12: branch_false: following ‘false’ branch (when ‘argc == 1’)...
bluez-5.85/client/mgmt.c:5196:13: branch_false: ...to here
bluez-5.85/client/mgmt.c:5196:12: branch_false: following ‘false’ branch...
bluez-5.85/client/mgmt.c:5199:20: branch_false: ...to here
bluez-5.85/client/mgmt.c:5205:14: acquire_memory: allocated here
bluez-5.85/client/mgmt.c:5206:12: branch_false: following ‘false’ branch (when ‘cp’ is non-NULL)...
bluez-5.85/client/mgmt.c:5209:9: branch_false: ...to here
bluez-5.85/client/mgmt.c:5217:12: branch_true: following ‘true’ branch...
bluez-5.85/client/mgmt.c:5219:17: branch_true: ...to here
bluez-5.85/client/mgmt.c:5219:17: throw: if ‘bt_shell_printf’ throws an exception...
bluez-5.85/client/mgmt.c:5219:17: danger: ‘cp’ leaks here; was allocated at [(5)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def36]
bluez-5.85/client/mgmt.c:5396:14: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
bluez-5.85/client/mgmt.c:5361:12: branch_false: following ‘false’ branch (when ‘argc == 1’)...
bluez-5.85/client/mgmt.c:5366:12: branch_false: ...to here
bluez-5.85/client/mgmt.c:5366:12: branch_false: following ‘false’ branch (when ‘uuid_bytes == 0’)...
bluez-5.85/client/mgmt.c:5369:20: branch_false: ...to here
bluez-5.85/client/mgmt.c:5376:14: acquire_memory: allocated here
bluez-5.85/client/mgmt.c:5377:12: branch_false: following ‘false’ branch (when ‘cp’ is non-NULL)...
bluez-5.85/client/mgmt.c:5380:9: branch_false: ...to here
bluez-5.85/client/mgmt.c:5384:12: branch_false: following ‘false’ branch (when ‘uuid_bytes == 0’)...
bluez-5.85/client/mgmt.c:5390:12: branch_false: ...to here
bluez-5.85/client/mgmt.c:5390:12: branch_false: following ‘false’ branch...
bluez-5.85/client/mgmt.c:5393:12: branch_false: ...to here
bluez-5.85/client/mgmt.c:5393:12: branch_false: following ‘false’ branch...
bluez-5.85/client/mgmt.c:5396:14: branch_false: ...to here
bluez-5.85/client/mgmt.c:5396:14: throw: if ‘mgmt_send’ throws an exception...
bluez-5.85/client/mgmt.c:5396:14: danger: ‘cp’ leaks here; was allocated at [(5)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def37]
bluez-5.85/client/mgmt.c:5398:17: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
bluez-5.85/client/mgmt.c:5361:12: branch_false: following ‘false’ branch (when ‘argc == 1’)...
bluez-5.85/client/mgmt.c:5366:12: branch_false: ...to here
bluez-5.85/client/mgmt.c:5366:12: branch_false: following ‘false’ branch (when ‘uuid_bytes == 0’)...
bluez-5.85/client/mgmt.c:5369:20: branch_false: ...to here
bluez-5.85/client/mgmt.c:5376:14: acquire_memory: allocated here
bluez-5.85/client/mgmt.c:5377:12: branch_false: following ‘false’ branch (when ‘cp’ is non-NULL)...
bluez-5.85/client/mgmt.c:5380:9: branch_false: ...to here
bluez-5.85/client/mgmt.c:5384:12: branch_false: following ‘false’ branch (when ‘uuid_bytes == 0’)...
bluez-5.85/client/mgmt.c:5390:12: branch_false: ...to here
bluez-5.85/client/mgmt.c:5390:12: branch_false: following ‘false’ branch...
bluez-5.85/client/mgmt.c:5393:12: branch_false: ...to here
bluez-5.85/client/mgmt.c:5393:12: branch_false: following ‘false’ branch...
bluez-5.85/client/mgmt.c:5396:14: branch_false: ...to here
bluez-5.85/client/mgmt.c:5396:12: branch_true: following ‘true’ branch...
bluez-5.85/client/mgmt.c:5398:17: branch_true: ...to here
bluez-5.85/client/mgmt.c:5398:17: throw: if ‘bt_shell_printf’ throws an exception...
bluez-5.85/client/mgmt.c:5398:17: danger: ‘cp’ leaks here; was allocated at [(5)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def38]
bluez-5.85/client/mgmt.c:5878:14: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
bluez-5.85/client/mgmt.c:5821:16: branch_false: following ‘false’ branch (when ‘opt == -1’)...
bluez-5.85/client/mgmt.c:5847:14: branch_false: ...to here
bluez-5.85/client/mgmt.c:5852:14: acquire_memory: allocated here
bluez-5.85/client/mgmt.c:5853:12: branch_false: following ‘false’ branch (when ‘cp’ is non-NULL)...
bluez-5.85/client/mgmt.c:5859:9: branch_false: ...to here
bluez-5.85/client/mgmt.c:5866:21: branch_false: following ‘false’ branch (when ‘i >= argc’)...
bluez-5.85/client/mgmt.c:5874:9: branch_false: ...to here
bluez-5.85/client/mgmt.c:5878:14: throw: if ‘mgmt_send’ throws an exception...
bluez-5.85/client/mgmt.c:5878:14: danger: ‘cp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def39]
bluez-5.85/client/mgmt.c:5880:17: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
bluez-5.85/client/mgmt.c:5821:16: branch_false: following ‘false’ branch (when ‘opt == -1’)...
bluez-5.85/client/mgmt.c:5847:14: branch_false: ...to here
bluez-5.85/client/mgmt.c:5852:14: acquire_memory: allocated here
bluez-5.85/client/mgmt.c:5853:12: branch_false: following ‘false’ branch (when ‘cp’ is non-NULL)...
bluez-5.85/client/mgmt.c:5859:9: branch_false: ...to here
bluez-5.85/client/mgmt.c:5866:21: branch_false: following ‘false’ branch (when ‘i >= argc’)...
bluez-5.85/client/mgmt.c:5874:9: branch_false: ...to here
bluez-5.85/client/mgmt.c:5878:12: branch_true: following ‘true’ branch...
bluez-5.85/client/mgmt.c:5880:17: branch_true: ...to here
bluez-5.85/client/mgmt.c:5880:17: throw: if ‘bt_shell_printf’ throws an exception...
bluez-5.85/client/mgmt.c:5880:17: danger: ‘cp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def40]
bluez-5.85/client/player.c:1113:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/client/player.c:5826:13: enter_function: entry to ‘cmd_send_transport’
bluez-5.85/client/player.c:5835:21: branch_true: following ‘true’ branch (when ‘i < argc’)...
bluez-5.85/client/player.c:5836:67: branch_true: ...to here
bluez-5.85/client/player.c:5838:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5843:29: call_function: inlined call to ‘find_transport’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5844:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5849:21: branch_false: ...to here
bluez-5.85/client/player.c:5849:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5854:21: branch_false: ...to here
bluez-5.85/client/player.c:5854:20: branch_true: following ‘true’ branch...
bluez-5.85/client/player.c:5855:45: branch_true: ...to here
bluez-5.85/client/player.c:5855:30: call_function: calling ‘open_file’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5855:30: return_function: returning to ‘cmd_send_transport’ from ‘open_file’
bluez-5.85/client/player.c:5856:28: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5861:17: branch_false: ...to here
bluez-5.85/client/player.c:5866:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5873:35: branch_false: ...to here
bluez-5.85/client/player.c:5877:28: branch_false: following ‘false’ branch (when ‘err != 0’)...
bluez-5.85/client/player.c:5896:1: branch_false: ...to here
bluez-5.85/client/player.c:5887:20: branch_false: following ‘false’ branch (when ‘err >= 0’)...
bluez-5.85/client/player.c:5835:31: branch_false: ...to here
bluez-5.85/client/player.c:5835:21: branch_true: following ‘true’ branch (when ‘i < argc’)...
bluez-5.85/client/player.c:5836:67: branch_true: ...to here
bluez-5.85/client/player.c:5838:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5843:29: call_function: inlined call to ‘find_transport’ from ‘cmd_send_transport’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def41]
bluez-5.85/client/player.c:5353:13: warning[-Wanalyzer-malloc-leak]: leak of ‘bcode’
bluez-5.85/client/player.c:5340:12: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5347:20: branch_true: following ‘true’ branch...
bluez-5.85/client/player.c:5348:44: branch_true: ...to here
bluez-5.85/client/player.c:5348:44: acquire_memory: allocated here
bluez-5.85/client/player.c:5353:13: throw: if ‘g_dbus_proxy_set_property_dict’ throws an exception...
bluez-5.85/client/player.c:5353:13: danger: ‘bcode’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def42]
bluez-5.85/client/player.c:5640:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/client/player.c:5628:12: enter_function: entry to ‘open_file’
bluez-5.85/client/player.c:5634:12: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5637:22: branch_false: ...to here
bluez-5.85/client/player.c:5637:22: acquire_resource: opened here
bluez-5.85/client/player.c:5639:12: branch_true: following ‘true’ branch (when ‘fd <= 0’)...
branch_true: ...to here
call_function: calling ‘open_file’ from ‘open_file’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def43]
bluez-5.85/client/player.c:5643:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/client/player.c:5826:13: enter_function: entry to ‘cmd_send_transport’
bluez-5.85/client/player.c:5835:21: branch_true: following ‘true’ branch (when ‘i < argc’)...
bluez-5.85/client/player.c:5836:67: branch_true: ...to here
bluez-5.85/client/player.c:5838:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5843:29: call_function: inlined call to ‘find_transport’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5844:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5849:21: branch_false: ...to here
bluez-5.85/client/player.c:5849:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5854:21: branch_false: ...to here
bluez-5.85/client/player.c:5855:30: call_function: calling ‘open_file’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5855:30: return_function: returning to ‘cmd_send_transport’ from ‘open_file’
bluez-5.85/client/player.c:5856:28: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5861:17: branch_false: ...to here
bluez-5.85/client/player.c:5866:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5873:35: branch_false: ...to here
bluez-5.85/client/player.c:5877:28: branch_false: following ‘false’ branch (when ‘err != 0’)...
bluez-5.85/client/player.c:5896:1: branch_false: ...to here
bluez-5.85/client/player.c:5887:20: branch_false: following ‘false’ branch (when ‘err >= 0’)...
bluez-5.85/client/player.c:5835:31: branch_false: ...to here
bluez-5.85/client/player.c:5643:16: danger: ‘fd’ leaks here; was opened at [(15)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def44]
bluez-5.85/client/player.c:5653:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/client/player.c:5826:13: enter_function: entry to ‘cmd_send_transport’
bluez-5.85/client/player.c:5835:21: branch_true: following ‘true’ branch (when ‘i < argc’)...
bluez-5.85/client/player.c:5836:67: branch_true: ...to here
bluez-5.85/client/player.c:5838:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5843:29: call_function: inlined call to ‘find_transport’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5844:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5849:21: branch_false: ...to here
bluez-5.85/client/player.c:5849:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5854:21: branch_false: ...to here
bluez-5.85/client/player.c:5854:20: branch_true: following ‘true’ branch...
bluez-5.85/client/player.c:5855:45: branch_true: ...to here
bluez-5.85/client/player.c:5855:30: call_function: calling ‘open_file’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5855:30: return_function: returning to ‘cmd_send_transport’ from ‘open_file’
bluez-5.85/client/player.c:5856:28: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5861:17: branch_false: ...to here
bluez-5.85/client/player.c:5866:20: branch_true: following ‘true’ branch...
bluez-5.85/client/player.c:5869:66: branch_true: ...to here
bluez-5.85/client/player.c:5870:31: call_function: calling ‘transport_send’ from ‘cmd_send_transport’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def45]
bluez-5.85/client/player.c:5653:25: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
bluez-5.85/client/player.c:5675:12: enter_function: entry to ‘transport_send_seq’
bluez-5.85/client/player.c:5683:15: acquire_memory: allocated here
bluez-5.85/client/player.c:5684:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
bluez-5.85/client/player.c:5684:12: branch_false: ...to here
bluez-5.85/client/player.c:5687:21: branch_true: following ‘true’ branch (when ‘i < num’)...
bluez-5.85/client/player.c:5689:21: branch_true: ...to here
bluez-5.85/client/player.c:5693:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5701:23: branch_false: ...to here
bluez-5.85/client/player.c:5702:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5709:31: branch_false: ...to here
bluez-5.85/client/player.c:5709:17: call_function: calling ‘elapsed_time’ from ‘transport_send_seq’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def46]
bluez-5.85/client/player.c:5660:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/client/player.c:5826:13: enter_function: entry to ‘cmd_send_transport’
bluez-5.85/client/player.c:5835:21: branch_true: following ‘true’ branch (when ‘i < argc’)...
bluez-5.85/client/player.c:5836:67: branch_true: ...to here
bluez-5.85/client/player.c:5838:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5843:29: call_function: inlined call to ‘find_transport’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5844:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5849:21: branch_false: ...to here
bluez-5.85/client/player.c:5849:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5854:21: branch_false: ...to here
bluez-5.85/client/player.c:5854:20: branch_true: following ‘true’ branch...
bluez-5.85/client/player.c:5855:45: branch_true: ...to here
bluez-5.85/client/player.c:5855:30: call_function: calling ‘open_file’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5855:30: return_function: returning to ‘cmd_send_transport’ from ‘open_file’
bluez-5.85/client/player.c:5856:28: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5861:17: branch_false: ...to here
bluez-5.85/client/player.c:5866:20: branch_true: following ‘true’ branch...
bluez-5.85/client/player.c:5869:66: branch_true: ...to here
bluez-5.85/client/player.c:5870:31: call_function: calling ‘transport_send’ from ‘cmd_send_transport’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def47]
bluez-5.85/client/player.c:5660:17: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
bluez-5.85/client/player.c:5675:12: enter_function: entry to ‘transport_send_seq’
bluez-5.85/client/player.c:5683:15: acquire_memory: allocated here
bluez-5.85/client/player.c:5684:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
bluez-5.85/client/player.c:5684:12: branch_false: ...to here
bluez-5.85/client/player.c:5687:21: branch_true: following ‘true’ branch (when ‘i < num’)...
bluez-5.85/client/player.c:5689:21: branch_true: ...to here
bluez-5.85/client/player.c:5693:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5701:23: branch_false: ...to here
bluez-5.85/client/player.c:5702:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5709:31: branch_false: ...to here
bluez-5.85/client/player.c:5709:17: call_function: calling ‘elapsed_time’ from ‘transport_send_seq’
Error: GCC_ANALYZER_WARNING: [#def48]
bluez-5.85/client/player.c:5692:23: warning[-Wanalyzer-fd-use-without-check]: ‘read’ on possibly invalid file descriptor ‘fd’
bluez-5.85/client/player.c:5826:13: enter_function: entry to ‘cmd_send_transport’
bluez-5.85/client/player.c:5835:21: branch_true: following ‘true’ branch (when ‘i < argc’)...
bluez-5.85/client/player.c:5836:67: branch_true: ...to here
bluez-5.85/client/player.c:5838:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5843:29: call_function: inlined call to ‘find_transport’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5844:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5849:21: branch_false: ...to here
bluez-5.85/client/player.c:5849:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5854:21: branch_false: ...to here
bluez-5.85/client/player.c:5854:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5861:17: branch_false: ...to here
bluez-5.85/client/player.c:5866:20: branch_true: following ‘true’ branch...
bluez-5.85/client/player.c:5869:66: branch_true: ...to here
bluez-5.85/client/player.c:5870:31: call_function: calling ‘transport_send’ from ‘cmd_send_transport’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def49]
bluez-5.85/client/player.c:5695:33: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
bluez-5.85/client/player.c:5683:15: acquire_memory: allocated here
bluez-5.85/client/player.c:5684:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
bluez-5.85/client/player.c:5684:12: branch_false: ...to here
bluez-5.85/client/player.c:5687:21: branch_true: following ‘true’ branch (when ‘i < num’)...
bluez-5.85/client/player.c:5689:21: branch_true: ...to here
bluez-5.85/client/player.c:5694:28: branch_true: following ‘true’ branch...
bluez-5.85/client/player.c:5696:66: branch_true: ...to here
bluez-5.85/client/player.c:5695:33: throw: if ‘bt_shell_printf’ throws an exception...
bluez-5.85/client/player.c:5695:33: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def50]
bluez-5.85/client/player.c:5701:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/client/player.c:5826:13: enter_function: entry to ‘cmd_send_transport’
bluez-5.85/client/player.c:5835:21: branch_true: following ‘true’ branch (when ‘i < argc’)...
bluez-5.85/client/player.c:5836:67: branch_true: ...to here
bluez-5.85/client/player.c:5838:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5843:29: call_function: inlined call to ‘find_transport’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5844:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5849:21: branch_false: ...to here
bluez-5.85/client/player.c:5849:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5854:21: branch_false: ...to here
bluez-5.85/client/player.c:5854:20: branch_true: following ‘true’ branch...
bluez-5.85/client/player.c:5855:45: branch_true: ...to here
bluez-5.85/client/player.c:5855:30: call_function: calling ‘open_file’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5855:30: return_function: returning to ‘cmd_send_transport’ from ‘open_file’
bluez-5.85/client/player.c:5856:28: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5861:17: branch_false: ...to here
bluez-5.85/client/player.c:5866:20: branch_true: following ‘true’ branch...
bluez-5.85/client/player.c:5869:66: branch_true: ...to here
bluez-5.85/client/player.c:5870:31: call_function: calling ‘transport_send’ from ‘cmd_send_transport’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def51]
bluez-5.85/client/player.c:5701:23: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
bluez-5.85/client/player.c:5683:15: acquire_memory: allocated here
bluez-5.85/client/player.c:5684:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
bluez-5.85/client/player.c:5684:12: branch_false: ...to here
bluez-5.85/client/player.c:5687:21: branch_true: following ‘true’ branch (when ‘i < num’)...
bluez-5.85/client/player.c:5689:21: branch_true: ...to here
bluez-5.85/client/player.c:5693:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5701:23: branch_false: ...to here
bluez-5.85/client/player.c:5701:23: throw: if ‘send’ throws an exception...
bluez-5.85/client/player.c:5701:23: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def52]
bluez-5.85/client/player.c:5703:25: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
bluez-5.85/client/player.c:5683:15: acquire_memory: allocated here
bluez-5.85/client/player.c:5684:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
bluez-5.85/client/player.c:5684:12: branch_false: ...to here
bluez-5.85/client/player.c:5687:21: branch_true: following ‘true’ branch (when ‘i < num’)...
bluez-5.85/client/player.c:5689:21: branch_true: ...to here
bluez-5.85/client/player.c:5693:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5701:23: branch_false: ...to here
bluez-5.85/client/player.c:5703:25: throw: if ‘bt_shell_printf’ throws an exception...
bluez-5.85/client/player.c:5703:25: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def53]
bluez-5.85/client/player.c:5712:25: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
bluez-5.85/client/player.c:5683:15: acquire_memory: allocated here
bluez-5.85/client/player.c:5684:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
bluez-5.85/client/player.c:5684:12: branch_false: ...to here
bluez-5.85/client/player.c:5687:21: branch_true: following ‘true’ branch (when ‘i < num’)...
bluez-5.85/client/player.c:5689:21: branch_true: ...to here
bluez-5.85/client/player.c:5693:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5701:23: branch_false: ...to here
bluez-5.85/client/player.c:5702:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5709:31: branch_false: ...to here
bluez-5.85/client/player.c:5712:25: throw: if ‘bt_shell_printf’ throws an exception...
bluez-5.85/client/player.c:5712:25: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def54]
bluez-5.85/client/player.c:5720:17: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
bluez-5.85/client/player.c:5683:15: acquire_memory: allocated here
bluez-5.85/client/player.c:5684:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
bluez-5.85/client/player.c:5684:12: branch_false: ...to here
bluez-5.85/client/player.c:5687:21: branch_true: following ‘true’ branch (when ‘i < num’)...
bluez-5.85/client/player.c:5689:21: branch_true: ...to here
bluez-5.85/client/player.c:5693:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5701:23: branch_false: ...to here
bluez-5.85/client/player.c:5702:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5709:31: branch_false: ...to here
bluez-5.85/client/player.c:5720:17: throw: if ‘bt_shell_echo’ throws an exception...
bluez-5.85/client/player.c:5720:17: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def55]
bluez-5.85/client/player.c:5836:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/client/player.c:5826:13: enter_function: entry to ‘cmd_send_transport’
bluez-5.85/client/player.c:5835:21: branch_true: following ‘true’ branch (when ‘i < argc’)...
bluez-5.85/client/player.c:5836:67: branch_true: ...to here
bluez-5.85/client/player.c:5838:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5843:29: call_function: inlined call to ‘find_transport’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5844:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5849:21: branch_false: ...to here
bluez-5.85/client/player.c:5849:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5854:21: branch_false: ...to here
bluez-5.85/client/player.c:5854:20: branch_true: following ‘true’ branch...
bluez-5.85/client/player.c:5855:45: branch_true: ...to here
bluez-5.85/client/player.c:5855:30: call_function: calling ‘open_file’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5855:30: return_function: returning to ‘cmd_send_transport’ from ‘open_file’
bluez-5.85/client/player.c:5856:28: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5861:17: branch_false: ...to here
bluez-5.85/client/player.c:5866:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5873:35: branch_false: ...to here
bluez-5.85/client/player.c:5877:28: branch_false: following ‘false’ branch (when ‘err != 0’)...
bluez-5.85/client/player.c:5896:1: branch_false: ...to here
bluez-5.85/client/player.c:5887:20: branch_false: following ‘false’ branch (when ‘err >= 0’)...
bluez-5.85/client/player.c:5835:31: branch_false: ...to here
bluez-5.85/client/player.c:5835:21: branch_true: following ‘true’ branch (when ‘i < argc’)...
bluez-5.85/client/player.c:5836:67: branch_true: ...to here
bluez-5.85/client/player.c:5836:25: throw: if ‘g_dbus_proxy_lookup’ throws an exception...
bluez-5.85/client/player.c:5836:25: danger: ‘fd’ leaks here; was opened at [(17)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def56]
bluez-5.85/client/player.c:5839:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/client/player.c:5826:13: enter_function: entry to ‘cmd_send_transport’
bluez-5.85/client/player.c:5835:21: branch_true: following ‘true’ branch (when ‘i < argc’)...
bluez-5.85/client/player.c:5836:67: branch_true: ...to here
bluez-5.85/client/player.c:5838:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5843:29: call_function: inlined call to ‘find_transport’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5844:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5849:21: branch_false: ...to here
bluez-5.85/client/player.c:5849:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5854:21: branch_false: ...to here
bluez-5.85/client/player.c:5854:20: branch_true: following ‘true’ branch...
bluez-5.85/client/player.c:5855:45: branch_true: ...to here
bluez-5.85/client/player.c:5855:30: call_function: calling ‘open_file’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5855:30: return_function: returning to ‘cmd_send_transport’ from ‘open_file’
bluez-5.85/client/player.c:5856:28: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5861:17: branch_false: ...to here
bluez-5.85/client/player.c:5866:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5873:35: branch_false: ...to here
bluez-5.85/client/player.c:5877:28: branch_false: following ‘false’ branch (when ‘err != 0’)...
bluez-5.85/client/player.c:5896:1: branch_false: ...to here
bluez-5.85/client/player.c:5887:20: branch_false: following ‘false’ branch (when ‘err >= 0’)...
bluez-5.85/client/player.c:5835:31: branch_false: ...to here
bluez-5.85/client/player.c:5835:21: branch_true: following ‘true’ branch (when ‘i < argc’)...
bluez-5.85/client/player.c:5836:67: branch_true: ...to here
bluez-5.85/client/player.c:5838:20: branch_true: following ‘true’ branch...
bluez-5.85/client/player.c:5839:25: branch_true: ...to here
bluez-5.85/client/player.c:5839:25: throw: if ‘bt_shell_printf’ throws an exception...
bluez-5.85/client/player.c:5839:25: danger: ‘fd’ leaks here; was opened at [(17)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def57]
bluez-5.85/client/player.c:5840:32: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/client/player.c:5826:13: enter_function: entry to ‘cmd_send_transport’
bluez-5.85/client/player.c:5835:21: branch_true: following ‘true’ branch (when ‘i < argc’)...
bluez-5.85/client/player.c:5836:67: branch_true: ...to here
bluez-5.85/client/player.c:5838:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5843:29: call_function: inlined call to ‘find_transport’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5844:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5849:21: branch_false: ...to here
bluez-5.85/client/player.c:5849:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5854:21: branch_false: ...to here
bluez-5.85/client/player.c:5854:20: branch_true: following ‘true’ branch...
bluez-5.85/client/player.c:5855:45: branch_true: ...to here
bluez-5.85/client/player.c:5855:30: call_function: calling ‘open_file’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5855:30: return_function: returning to ‘cmd_send_transport’ from ‘open_file’
bluez-5.85/client/player.c:5856:28: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5861:17: branch_false: ...to here
bluez-5.85/client/player.c:5866:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5873:35: branch_false: ...to here
bluez-5.85/client/player.c:5877:28: branch_false: following ‘false’ branch (when ‘err != 0’)...
bluez-5.85/client/player.c:5896:1: branch_false: ...to here
bluez-5.85/client/player.c:5887:20: branch_false: following ‘false’ branch (when ‘err >= 0’)...
bluez-5.85/client/player.c:5835:31: branch_false: ...to here
bluez-5.85/client/player.c:5835:21: branch_true: following ‘true’ branch (when ‘i < argc’)...
bluez-5.85/client/player.c:5836:67: branch_true: ...to here
bluez-5.85/client/player.c:5838:20: branch_true: following ‘true’ branch...
bluez-5.85/client/player.c:5839:25: branch_true: ...to here
bluez-5.85/client/player.c:5840:32: throw: if ‘bt_shell_noninteractive_quit’ throws an exception...
bluez-5.85/client/player.c:5840:32: danger: ‘fd’ leaks here; was opened at [(17)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def58]
bluez-5.85/client/player.c:5845:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/client/player.c:5826:13: enter_function: entry to ‘cmd_send_transport’
bluez-5.85/client/player.c:5835:21: branch_true: following ‘true’ branch (when ‘i < argc’)...
bluez-5.85/client/player.c:5836:67: branch_true: ...to here
bluez-5.85/client/player.c:5838:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5843:29: call_function: inlined call to ‘find_transport’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5844:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5849:21: branch_false: ...to here
bluez-5.85/client/player.c:5849:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5854:21: branch_false: ...to here
bluez-5.85/client/player.c:5854:20: branch_true: following ‘true’ branch...
bluez-5.85/client/player.c:5855:45: branch_true: ...to here
bluez-5.85/client/player.c:5855:30: call_function: calling ‘open_file’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5855:30: return_function: returning to ‘cmd_send_transport’ from ‘open_file’
bluez-5.85/client/player.c:5856:28: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5861:17: branch_false: ...to here
bluez-5.85/client/player.c:5866:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5873:35: branch_false: ...to here
bluez-5.85/client/player.c:5877:28: branch_false: following ‘false’ branch (when ‘err != 0’)...
bluez-5.85/client/player.c:5896:1: branch_false: ...to here
bluez-5.85/client/player.c:5887:20: branch_false: following ‘false’ branch (when ‘err >= 0’)...
bluez-5.85/client/player.c:5835:31: branch_false: ...to here
bluez-5.85/client/player.c:5835:21: branch_true: following ‘true’ branch (when ‘i < argc’)...
bluez-5.85/client/player.c:5836:67: branch_true: ...to here
bluez-5.85/client/player.c:5838:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5843:29: call_function: inlined call to ‘find_transport’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5844:20: branch_true: following ‘true’ branch...
bluez-5.85/client/player.c:5845:25: branch_true: ...to here
bluez-5.85/client/player.c:5845:25: throw: if ‘bt_shell_printf’ throws an exception...
bluez-5.85/client/player.c:5845:25: danger: ‘fd’ leaks here; was opened at [(17)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def59]
bluez-5.85/client/player.c:5846:32: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/client/player.c:5826:13: enter_function: entry to ‘cmd_send_transport’
bluez-5.85/client/player.c:5835:21: branch_true: following ‘true’ branch (when ‘i < argc’)...
bluez-5.85/client/player.c:5836:67: branch_true: ...to here
bluez-5.85/client/player.c:5838:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5843:29: call_function: inlined call to ‘find_transport’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5844:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5849:21: branch_false: ...to here
bluez-5.85/client/player.c:5849:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5854:21: branch_false: ...to here
bluez-5.85/client/player.c:5854:20: branch_true: following ‘true’ branch...
bluez-5.85/client/player.c:5855:45: branch_true: ...to here
bluez-5.85/client/player.c:5855:30: call_function: calling ‘open_file’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5855:30: return_function: returning to ‘cmd_send_transport’ from ‘open_file’
bluez-5.85/client/player.c:5856:28: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5861:17: branch_false: ...to here
bluez-5.85/client/player.c:5866:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5873:35: branch_false: ...to here
bluez-5.85/client/player.c:5877:28: branch_false: following ‘false’ branch (when ‘err != 0’)...
bluez-5.85/client/player.c:5896:1: branch_false: ...to here
bluez-5.85/client/player.c:5887:20: branch_false: following ‘false’ branch (when ‘err >= 0’)...
bluez-5.85/client/player.c:5835:31: branch_false: ...to here
bluez-5.85/client/player.c:5835:21: branch_true: following ‘true’ branch (when ‘i < argc’)...
bluez-5.85/client/player.c:5836:67: branch_true: ...to here
bluez-5.85/client/player.c:5838:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5843:29: call_function: inlined call to ‘find_transport’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5844:20: branch_true: following ‘true’ branch...
bluez-5.85/client/player.c:5845:25: branch_true: ...to here
bluez-5.85/client/player.c:5846:32: throw: if ‘bt_shell_noninteractive_quit’ throws an exception...
bluez-5.85/client/player.c:5846:32: danger: ‘fd’ leaks here; was opened at [(17)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def60]
bluez-5.85/client/player.c:5850:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/client/player.c:5826:13: enter_function: entry to ‘cmd_send_transport’
bluez-5.85/client/player.c:5835:21: branch_true: following ‘true’ branch (when ‘i < argc’)...
bluez-5.85/client/player.c:5836:67: branch_true: ...to here
bluez-5.85/client/player.c:5838:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5843:29: call_function: inlined call to ‘find_transport’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5844:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5849:21: branch_false: ...to here
bluez-5.85/client/player.c:5849:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5854:21: branch_false: ...to here
bluez-5.85/client/player.c:5854:20: branch_true: following ‘true’ branch...
bluez-5.85/client/player.c:5855:45: branch_true: ...to here
bluez-5.85/client/player.c:5855:30: call_function: calling ‘open_file’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5855:30: return_function: returning to ‘cmd_send_transport’ from ‘open_file’
bluez-5.85/client/player.c:5856:28: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5861:17: branch_false: ...to here
bluez-5.85/client/player.c:5866:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5873:35: branch_false: ...to here
bluez-5.85/client/player.c:5877:28: branch_false: following ‘false’ branch (when ‘err != 0’)...
bluez-5.85/client/player.c:5896:1: branch_false: ...to here
bluez-5.85/client/player.c:5887:20: branch_false: following ‘false’ branch (when ‘err >= 0’)...
bluez-5.85/client/player.c:5835:31: branch_false: ...to here
bluez-5.85/client/player.c:5835:21: branch_true: following ‘true’ branch (when ‘i < argc’)...
bluez-5.85/client/player.c:5836:67: branch_true: ...to here
bluez-5.85/client/player.c:5838:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5843:29: call_function: inlined call to ‘find_transport’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5844:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5849:21: branch_false: ...to here
bluez-5.85/client/player.c:5849:20: branch_true: following ‘true’ branch...
bluez-5.85/client/player.c:5850:25: branch_true: ...to here
bluez-5.85/client/player.c:5850:25: throw: if ‘bt_shell_printf’ throws an exception...
bluez-5.85/client/player.c:5850:25: danger: ‘fd’ leaks here; was opened at [(17)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def61]
bluez-5.85/client/player.c:5851:32: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/client/player.c:5826:13: enter_function: entry to ‘cmd_send_transport’
bluez-5.85/client/player.c:5835:21: branch_true: following ‘true’ branch (when ‘i < argc’)...
bluez-5.85/client/player.c:5836:67: branch_true: ...to here
bluez-5.85/client/player.c:5838:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5843:29: call_function: inlined call to ‘find_transport’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5844:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5849:21: branch_false: ...to here
bluez-5.85/client/player.c:5849:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5854:21: branch_false: ...to here
bluez-5.85/client/player.c:5854:20: branch_true: following ‘true’ branch...
bluez-5.85/client/player.c:5855:45: branch_true: ...to here
bluez-5.85/client/player.c:5855:30: call_function: calling ‘open_file’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5855:30: return_function: returning to ‘cmd_send_transport’ from ‘open_file’
bluez-5.85/client/player.c:5856:28: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5861:17: branch_false: ...to here
bluez-5.85/client/player.c:5866:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5873:35: branch_false: ...to here
bluez-5.85/client/player.c:5877:28: branch_false: following ‘false’ branch (when ‘err != 0’)...
bluez-5.85/client/player.c:5896:1: branch_false: ...to here
bluez-5.85/client/player.c:5887:20: branch_false: following ‘false’ branch (when ‘err >= 0’)...
bluez-5.85/client/player.c:5835:31: branch_false: ...to here
bluez-5.85/client/player.c:5835:21: branch_true: following ‘true’ branch (when ‘i < argc’)...
bluez-5.85/client/player.c:5836:67: branch_true: ...to here
bluez-5.85/client/player.c:5838:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5843:29: call_function: inlined call to ‘find_transport’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5844:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5849:21: branch_false: ...to here
bluez-5.85/client/player.c:5849:20: branch_true: following ‘true’ branch...
bluez-5.85/client/player.c:5850:25: branch_true: ...to here
bluez-5.85/client/player.c:5851:32: throw: if ‘bt_shell_noninteractive_quit’ throws an exception...
bluez-5.85/client/player.c:5851:32: danger: ‘fd’ leaks here; was opened at [(17)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def62]
bluez-5.85/client/player.c:5861:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/client/player.c:5826:13: enter_function: entry to ‘cmd_send_transport’
bluez-5.85/client/player.c:5835:21: branch_true: following ‘true’ branch (when ‘i < argc’)...
bluez-5.85/client/player.c:5836:67: branch_true: ...to here
bluez-5.85/client/player.c:5838:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5843:29: call_function: inlined call to ‘find_transport’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5844:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5849:21: branch_false: ...to here
bluez-5.85/client/player.c:5849:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5854:21: branch_false: ...to here
bluez-5.85/client/player.c:5854:20: branch_true: following ‘true’ branch...
bluez-5.85/client/player.c:5855:45: branch_true: ...to here
bluez-5.85/client/player.c:5855:30: call_function: calling ‘open_file’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5855:30: return_function: returning to ‘cmd_send_transport’ from ‘open_file’
bluez-5.85/client/player.c:5856:28: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5861:17: branch_false: ...to here
bluez-5.85/client/player.c:5861:17: throw: if ‘bt_shell_printf’ throws an exception...
bluez-5.85/client/player.c:5861:17: danger: ‘fd’ leaks here; was opened at [(17)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def63]
bluez-5.85/client/player.c:5866:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(filename, flags)’
bluez-5.85/client/player.c:5826:13: enter_function: entry to ‘cmd_send_transport’
bluez-5.85/client/player.c:5835:21: branch_true: following ‘true’ branch (when ‘i < argc’)...
bluez-5.85/client/player.c:5836:67: branch_true: ...to here
bluez-5.85/client/player.c:5838:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5843:29: call_function: inlined call to ‘find_transport’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5844:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5849:21: branch_false: ...to here
bluez-5.85/client/player.c:5849:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5854:21: branch_false: ...to here
bluez-5.85/client/player.c:5854:20: branch_true: following ‘true’ branch...
bluez-5.85/client/player.c:5855:45: branch_true: ...to here
bluez-5.85/client/player.c:5855:30: call_function: calling ‘open_file’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5855:30: return_function: returning to ‘cmd_send_transport’ from ‘open_file’
bluez-5.85/client/player.c:5856:28: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5861:17: branch_false: ...to here
bluez-5.85/client/player.c:5866:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5873:35: branch_false: ...to here
bluez-5.85/client/player.c:5877:28: branch_false: following ‘false’ branch (when ‘err != 0’)...
bluez-5.85/client/player.c:5896:1: branch_false: ...to here
bluez-5.85/client/player.c:5887:20: branch_false: following ‘false’ branch (when ‘err >= 0’)...
bluez-5.85/client/player.c:5835:31: branch_false: ...to here
bluez-5.85/client/player.c:5835:21: branch_true: following ‘true’ branch (when ‘i < argc’)...
bluez-5.85/client/player.c:5836:67: branch_true: ...to here
bluez-5.85/client/player.c:5838:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5843:29: call_function: inlined call to ‘find_transport’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5844:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5849:21: branch_false: ...to here
bluez-5.85/client/player.c:5849:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5854:21: branch_false: ...to here
bluez-5.85/client/player.c:5854:20: branch_true: following ‘true’ branch...
bluez-5.85/client/player.c:5855:45: branch_true: ...to here
bluez-5.85/client/player.c:5855:30: call_function: calling ‘open_file’ from ‘cmd_send_transport’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def64]
bluez-5.85/client/player.c:5868:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/client/player.c:5826:13: enter_function: entry to ‘cmd_send_transport’
bluez-5.85/client/player.c:5835:21: branch_true: following ‘true’ branch (when ‘i < argc’)...
bluez-5.85/client/player.c:5836:67: branch_true: ...to here
bluez-5.85/client/player.c:5838:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5843:29: call_function: inlined call to ‘find_transport’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5844:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5849:21: branch_false: ...to here
bluez-5.85/client/player.c:5849:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5854:21: branch_false: ...to here
bluez-5.85/client/player.c:5854:20: branch_true: following ‘true’ branch...
bluez-5.85/client/player.c:5855:45: branch_true: ...to here
bluez-5.85/client/player.c:5855:30: call_function: calling ‘open_file’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5855:30: return_function: returning to ‘cmd_send_transport’ from ‘open_file’
bluez-5.85/client/player.c:5856:28: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5861:17: branch_false: ...to here
bluez-5.85/client/player.c:5866:20: branch_true: following ‘true’ branch...
bluez-5.85/client/player.c:5869:66: branch_true: ...to here
bluez-5.85/client/player.c:5868:25: throw: if ‘bt_shell_printf’ throws an exception...
bluez-5.85/client/player.c:5868:25: danger: ‘fd’ leaks here; was opened at [(17)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def65]
bluez-5.85/client/player.c:5888:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/client/player.c:5826:13: enter_function: entry to ‘cmd_send_transport’
bluez-5.85/client/player.c:5835:21: branch_true: following ‘true’ branch (when ‘i < argc’)...
bluez-5.85/client/player.c:5836:67: branch_true: ...to here
bluez-5.85/client/player.c:5838:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5843:29: call_function: inlined call to ‘find_transport’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5844:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5849:21: branch_false: ...to here
bluez-5.85/client/player.c:5849:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5854:21: branch_false: ...to here
bluez-5.85/client/player.c:5854:20: branch_true: following ‘true’ branch...
bluez-5.85/client/player.c:5855:45: branch_true: ...to here
bluez-5.85/client/player.c:5855:30: call_function: calling ‘open_file’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5855:30: return_function: returning to ‘cmd_send_transport’ from ‘open_file’
bluez-5.85/client/player.c:5856:28: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5861:17: branch_false: ...to here
bluez-5.85/client/player.c:5866:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5873:35: branch_false: ...to here
bluez-5.85/client/player.c:5877:28: branch_false: following ‘false’ branch (when ‘err != 0’)...
bluez-5.85/client/player.c:5896:1: branch_false: ...to here
bluez-5.85/client/player.c:5887:20: branch_true: following ‘true’ branch (when ‘err < 0’)...
bluez-5.85/client/player.c:5888:25: branch_true: ...to here
bluez-5.85/client/player.c:5888:25: throw: if ‘bt_shell_printf’ throws an exception...
bluez-5.85/client/player.c:5888:25: danger: ‘fd’ leaks here; was opened at [(17)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def66]
bluez-5.85/client/player.c:5890:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/client/player.c:5826:13: enter_function: entry to ‘cmd_send_transport’
bluez-5.85/client/player.c:5835:21: branch_true: following ‘true’ branch (when ‘i < argc’)...
bluez-5.85/client/player.c:5836:67: branch_true: ...to here
bluez-5.85/client/player.c:5838:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5843:29: call_function: inlined call to ‘find_transport’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5844:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5849:21: branch_false: ...to here
bluez-5.85/client/player.c:5849:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5854:21: branch_false: ...to here
bluez-5.85/client/player.c:5854:20: branch_true: following ‘true’ branch...
bluez-5.85/client/player.c:5855:45: branch_true: ...to here
bluez-5.85/client/player.c:5855:30: call_function: calling ‘open_file’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5855:30: return_function: returning to ‘cmd_send_transport’ from ‘open_file’
bluez-5.85/client/player.c:5856:28: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5861:17: branch_false: ...to here
bluez-5.85/client/player.c:5866:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5873:35: branch_false: ...to here
bluez-5.85/client/player.c:5877:28: branch_false: following ‘false’ branch (when ‘err != 0’)...
bluez-5.85/client/player.c:5896:1: branch_false: ...to here
bluez-5.85/client/player.c:5887:20: branch_true: following ‘true’ branch (when ‘err < 0’)...
bluez-5.85/client/player.c:5888:25: branch_true: ...to here
bluez-5.85/client/player.c:5890:25: throw: if ‘close’ throws an exception...
bluez-5.85/client/player.c:5890:25: danger: ‘fd’ leaks here; was opened at [(17)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def67]
bluez-5.85/client/player.c:5895:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/client/player.c:5826:13: enter_function: entry to ‘cmd_send_transport’
bluez-5.85/client/player.c:5835:21: branch_true: following ‘true’ branch (when ‘i < argc’)...
bluez-5.85/client/player.c:5836:67: branch_true: ...to here
bluez-5.85/client/player.c:5838:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5843:29: call_function: inlined call to ‘find_transport’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5844:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5849:21: branch_false: ...to here
bluez-5.85/client/player.c:5849:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5854:21: branch_false: ...to here
bluez-5.85/client/player.c:5855:30: call_function: calling ‘open_file’ from ‘cmd_send_transport’
bluez-5.85/client/player.c:5855:30: return_function: returning to ‘cmd_send_transport’ from ‘open_file’
bluez-5.85/client/player.c:5856:28: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5861:17: branch_false: ...to here
bluez-5.85/client/player.c:5866:20: branch_false: following ‘false’ branch...
bluez-5.85/client/player.c:5873:35: branch_false: ...to here
bluez-5.85/client/player.c:5877:28: branch_false: following ‘false’ branch (when ‘err != 0’)...
bluez-5.85/client/player.c:5896:1: branch_false: ...to here
bluez-5.85/client/player.c:5887:20: branch_false: following ‘false’ branch (when ‘err >= 0’)...
bluez-5.85/client/player.c:5835:31: branch_false: ...to here
bluez-5.85/client/player.c:5895:16: throw: if ‘bt_shell_noninteractive_quit’ throws an exception...
bluez-5.85/client/player.c:5895:16: danger: ‘fd’ leaks here; was opened at [(15)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def68]
bluez-5.85/emulator/b1ee.c:153:25: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘server_pkt_data’ where non-null expected
bluez-5.85/emulator/b1ee.c:124:16: branch_true: following ‘true’ branch (when ‘count != 0’)...
bluez-5.85/emulator/b1ee.c:127:21: branch_true: ...to here
bluez-5.85/emulator/b1ee.c:127:20: branch_true: following ‘true’ branch...
bluez-5.85/emulator/b1ee.c:128:43: branch_true: ...to here
bluez-5.85/emulator/b1ee.c:130:25: branch_true: following ‘true’ branch...
bluez-5.85/emulator/b1ee.c:131:25: branch_true: ...to here
bluez-5.85/emulator/b1ee.c:132:36: branch_false: following ‘false’ branch (when ‘count > 2’)...
bluez-5.85/emulator/b1ee.c:138:57: branch_false: ...to here
bluez-5.85/emulator/b1ee.c:139:51: acquire_memory: this call could return NULL
bluez-5.85/emulator/b1ee.c:150:20: branch_true: following ‘true’ branch...
bluez-5.85/emulator/b1ee.c:153:25: branch_true: ...to here
bluez-5.85/emulator/b1ee.c:153:25: danger: argument 1 (‘server_pkt_data + (sizetype)server_pkt_len’) from [(9)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/8) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def69]
bluez-5.85/emulator/b1ee.c:166:25: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘server_pkt_data’ where non-null expected
bluez-5.85/emulator/b1ee.c:124:16: branch_true: following ‘true’ branch (when ‘count != 0’)...
bluez-5.85/emulator/b1ee.c:127:21: branch_true: ...to here
bluez-5.85/emulator/b1ee.c:127:20: branch_true: following ‘true’ branch...
bluez-5.85/emulator/b1ee.c:128:43: branch_true: ...to here
bluez-5.85/emulator/b1ee.c:130:25: branch_true: following ‘true’ branch...
bluez-5.85/emulator/b1ee.c:131:25: branch_true: ...to here
bluez-5.85/emulator/b1ee.c:132:36: branch_false: following ‘false’ branch (when ‘count > 2’)...
bluez-5.85/emulator/b1ee.c:138:57: branch_false: ...to here
bluez-5.85/emulator/b1ee.c:139:51: acquire_memory: this call could return NULL
bluez-5.85/emulator/b1ee.c:150:20: branch_false: following ‘false’ branch...
bluez-5.85/emulator/b1ee.c:166:25: branch_false: ...to here
bluez-5.85/emulator/b1ee.c:166:25: danger: argument 1 (‘server_pkt_data + (sizetype)server_pkt_len’) from [(9)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/8) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-775): [#def70]
bluez-5.85/emulator/b1ee.c:230:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/emulator/b1ee.c:212:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/b1ee.c:217:14: branch_false: ...to here
bluez-5.85/emulator/b1ee.c:217:26: branch_true: following ‘true’ branch (when ‘info’ is non-NULL)...
bluez-5.85/emulator/b1ee.c:220:44: branch_true: ...to here
bluez-5.85/emulator/b1ee.c:223:22: acquire_resource: socket created here
bluez-5.85/emulator/b1ee.c:225:20: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
bluez-5.85/emulator/b1ee.c:228:17: branch_false: ...to here
bluez-5.85/emulator/b1ee.c:230:21: throw: if ‘connect’ throws an exception...
bluez-5.85/emulator/b1ee.c:230:21: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-910): [#def71]
bluez-5.85/emulator/b1ee.c:300:19: warning[-Wanalyzer-fd-use-after-close]: ‘write’ on closed file descriptor ‘sniffer_fd’
bluez-5.85/emulator/b1ee.c:249:5: enter_function: entry to ‘main’
bluez-5.85/emulator/b1ee.c:261:20: branch_true: following ‘true’ branch (when ‘opt < 0’)...
bluez-5.85/emulator/b1ee.c:289:16: branch_true: ...to here
bluez-5.85/emulator/b1ee.c:293:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/b1ee.c:296:21: branch_false: following ‘false’ branch (when ‘server_port’ is NULL)...
bluez-5.85/emulator/b1ee.c:296:21: branch_false: ...to here
bluez-5.85/emulator/b1ee.c:296:21: call_function: calling ‘do_connect’ from ‘main’
bluez-5.85/emulator/b1ee.c:296:21: return_function: returning to ‘main’ from ‘do_connect’
bluez-5.85/emulator/b1ee.c:297:22: branch_false: following ‘false’ branch (when ‘sniffer_port’ is NULL)...
bluez-5.85/emulator/b1ee.c:297:22: branch_false: ...to here
bluez-5.85/emulator/b1ee.c:297:22: call_function: calling ‘do_connect’ from ‘main’
bluez-5.85/emulator/b1ee.c:297:22: return_function: returning to ‘main’ from ‘do_connect’
bluez-5.85/emulator/b1ee.c:300:19: danger: ‘write’ on closed file descriptor ‘sniffer_fd’; ‘close’ was at [(29)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING: [#def72]
bluez-5.85/emulator/b1ee.c:300:19: warning[-Wanalyzer-fd-use-without-check]: ‘write’ on possibly invalid file descriptor ‘-1’
bluez-5.85/emulator/b1ee.c:249:5: enter_function: entry to ‘main’
bluez-5.85/emulator/b1ee.c:261:20: branch_true: following ‘true’ branch (when ‘opt < 0’)...
bluez-5.85/emulator/b1ee.c:289:16: branch_true: ...to here
bluez-5.85/emulator/b1ee.c:293:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/b1ee.c:296:21: branch_false: following ‘false’ branch (when ‘server_port’ is NULL)...
bluez-5.85/emulator/b1ee.c:296:21: branch_false: ...to here
bluez-5.85/emulator/b1ee.c:296:21: call_function: calling ‘do_connect’ from ‘main’
bluez-5.85/emulator/b1ee.c:296:21: return_function: returning to ‘main’ from ‘do_connect’
bluez-5.85/emulator/b1ee.c:297:22: branch_false: following ‘false’ branch (when ‘sniffer_port’ is NULL)...
bluez-5.85/emulator/b1ee.c:297:22: branch_false: ...to here
bluez-5.85/emulator/b1ee.c:297:22: call_function: calling ‘do_connect’ from ‘main’
bluez-5.85/emulator/b1ee.c:297:22: return_function: returning to ‘main’ from ‘do_connect’
bluez-5.85/emulator/b1ee.c:300:19: danger: ‘-1’ could be invalid
Error: GCC_ANALYZER_WARNING (CWE-401): [#def73]
bluez-5.85/emulator/btdev.c:315:16: warning[-Wanalyzer-malloc-leak]: leak of ‘pdu’
bluez-5.85/emulator/btdev.c:6910:12: enter_function: entry to ‘cmd_create_big_complete’
bluez-5.85/emulator/btdev.c:6924:15: acquire_memory: allocated here
bluez-5.85/emulator/btdev.c:6925:12: branch_false: following ‘false’ branch (when ‘pdu’ is non-NULL)...
bluez-5.85/emulator/btdev.c:6932:31: branch_false: ...to here
bluez-5.85/emulator/btdev.c:6932:15: call_function: calling ‘le_big_new’ from ‘cmd_create_big_complete’
bluez-5.85/emulator/btdev.c:6932:15: return_function: returning to ‘cmd_create_big_complete’ from ‘le_big_new’
bluez-5.85/emulator/btdev.c:6933:12: branch_true: following ‘true’ branch...
bluez-5.85/emulator/btdev.c:6934:17: branch_true: ...to here
bluez-5.85/emulator/btdev.c:6969:9: call_function: calling ‘le_meta_event’ from ‘cmd_create_big_complete’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def74]
bluez-5.85/emulator/btdev.c:447:25: warning[-Wanalyzer-malloc-leak]: leak of ‘pdu’
bluez-5.85/emulator/btdev.c:6910:12: enter_function: entry to ‘cmd_create_big_complete’
bluez-5.85/emulator/btdev.c:6924:15: acquire_memory: allocated here
bluez-5.85/emulator/btdev.c:6925:12: branch_false: following ‘false’ branch (when ‘pdu’ is non-NULL)...
bluez-5.85/emulator/btdev.c:6932:31: branch_false: ...to here
bluez-5.85/emulator/btdev.c:6932:15: call_function: calling ‘le_big_new’ from ‘cmd_create_big_complete’
bluez-5.85/emulator/btdev.c:6932:15: return_function: returning to ‘cmd_create_big_complete’ from ‘le_big_new’
bluez-5.85/emulator/btdev.c:6933:12: branch_true: following ‘true’ branch...
bluez-5.85/emulator/btdev.c:6934:17: branch_true: ...to here
bluez-5.85/emulator/btdev.c:6969:9: call_function: calling ‘le_meta_event’ from ‘cmd_create_big_complete’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def75]
bluez-5.85/emulator/btdev.c:608:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pdu’
bluez-5.85/emulator/btdev.c:6910:12: enter_function: entry to ‘cmd_create_big_complete’
bluez-5.85/emulator/btdev.c:6924:15: acquire_memory: allocated here
bluez-5.85/emulator/btdev.c:6925:12: branch_false: following ‘false’ branch (when ‘pdu’ is non-NULL)...
bluez-5.85/emulator/btdev.c:6932:31: branch_false: ...to here
bluez-5.85/emulator/btdev.c:6932:15: call_function: calling ‘le_big_new’ from ‘cmd_create_big_complete’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def76]
bluez-5.85/emulator/btdev.c:755:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pdu’
bluez-5.85/emulator/btdev.c:6910:12: enter_function: entry to ‘cmd_create_big_complete’
bluez-5.85/emulator/btdev.c:6924:15: acquire_memory: allocated here
bluez-5.85/emulator/btdev.c:6925:12: branch_false: following ‘false’ branch (when ‘pdu’ is non-NULL)...
bluez-5.85/emulator/btdev.c:6932:31: branch_false: ...to here
bluez-5.85/emulator/btdev.c:6932:15: call_function: calling ‘le_big_new’ from ‘cmd_create_big_complete’
bluez-5.85/emulator/btdev.c:6932:15: return_function: returning to ‘cmd_create_big_complete’ from ‘le_big_new’
bluez-5.85/emulator/btdev.c:6933:12: branch_true: following ‘true’ branch...
bluez-5.85/emulator/btdev.c:6934:17: branch_true: ...to here
bluez-5.85/emulator/btdev.c:6969:9: call_function: calling ‘le_meta_event’ from ‘cmd_create_big_complete’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def77]
bluez-5.85/emulator/btdev.c:1142:16: warning[-Wanalyzer-malloc-leak]: leak of ‘pdu’
bluez-5.85/emulator/btdev.c:6910:12: enter_function: entry to ‘cmd_create_big_complete’
bluez-5.85/emulator/btdev.c:6924:15: acquire_memory: allocated here
bluez-5.85/emulator/btdev.c:6925:12: branch_false: following ‘false’ branch (when ‘pdu’ is non-NULL)...
bluez-5.85/emulator/btdev.c:6932:31: branch_false: ...to here
bluez-5.85/emulator/btdev.c:6932:15: call_function: calling ‘le_big_new’ from ‘cmd_create_big_complete’
bluez-5.85/emulator/btdev.c:6932:15: return_function: returning to ‘cmd_create_big_complete’ from ‘le_big_new’
bluez-5.85/emulator/btdev.c:6933:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/btdev.c:6938:9: branch_false: ...to here
bluez-5.85/emulator/btdev.c:6942:21: branch_true: following ‘true’ branch...
bluez-5.85/emulator/btdev.c:6945:24: branch_true: ...to here
bluez-5.85/emulator/btdev.c:6945:24: call_function: calling ‘conn_add_bis’ from ‘cmd_create_big_complete’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def78]
bluez-5.85/emulator/btdev.c:1145:16: warning[-Wanalyzer-malloc-leak]: leak of ‘pdu’
bluez-5.85/emulator/btdev.c:6910:12: enter_function: entry to ‘cmd_create_big_complete’
bluez-5.85/emulator/btdev.c:6924:15: acquire_memory: allocated here
bluez-5.85/emulator/btdev.c:6925:12: branch_false: following ‘false’ branch (when ‘pdu’ is non-NULL)...
bluez-5.85/emulator/btdev.c:6932:31: branch_false: ...to here
bluez-5.85/emulator/btdev.c:6932:15: call_function: calling ‘le_big_new’ from ‘cmd_create_big_complete’
bluez-5.85/emulator/btdev.c:6932:15: return_function: returning to ‘cmd_create_big_complete’ from ‘le_big_new’
bluez-5.85/emulator/btdev.c:6933:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/btdev.c:6938:9: branch_false: ...to here
bluez-5.85/emulator/btdev.c:6942:21: branch_true: following ‘true’ branch...
bluez-5.85/emulator/btdev.c:6945:24: branch_true: ...to here
bluez-5.85/emulator/btdev.c:6945:24: call_function: calling ‘conn_add_bis’ from ‘cmd_create_big_complete’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def79]
bluez-5.85/emulator/btdev.c:1150:14: warning[-Wanalyzer-malloc-leak]: leak of ‘pdu’
bluez-5.85/emulator/btdev.c:6910:12: enter_function: entry to ‘cmd_create_big_complete’
bluez-5.85/emulator/btdev.c:6924:15: acquire_memory: allocated here
bluez-5.85/emulator/btdev.c:6925:12: branch_false: following ‘false’ branch (when ‘pdu’ is non-NULL)...
bluez-5.85/emulator/btdev.c:6932:31: branch_false: ...to here
bluez-5.85/emulator/btdev.c:6932:15: call_function: calling ‘le_big_new’ from ‘cmd_create_big_complete’
bluez-5.85/emulator/btdev.c:6932:15: return_function: returning to ‘cmd_create_big_complete’ from ‘le_big_new’
bluez-5.85/emulator/btdev.c:6933:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/btdev.c:6938:9: branch_false: ...to here
bluez-5.85/emulator/btdev.c:6942:21: branch_true: following ‘true’ branch...
bluez-5.85/emulator/btdev.c:6945:24: branch_true: ...to here
bluez-5.85/emulator/btdev.c:6945:24: call_function: calling ‘conn_add_bis’ from ‘cmd_create_big_complete’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def80]
bluez-5.85/emulator/btdev.c:1222:22: warning[-Wanalyzer-malloc-leak]: leak of ‘pdu’
bluez-5.85/emulator/btdev.c:6910:12: enter_function: entry to ‘cmd_create_big_complete’
bluez-5.85/emulator/btdev.c:6924:15: acquire_memory: allocated here
bluez-5.85/emulator/btdev.c:6925:12: branch_false: following ‘false’ branch (when ‘pdu’ is non-NULL)...
bluez-5.85/emulator/btdev.c:6932:31: branch_false: ...to here
bluez-5.85/emulator/btdev.c:6932:15: call_function: calling ‘le_big_new’ from ‘cmd_create_big_complete’
bluez-5.85/emulator/btdev.c:6932:15: return_function: returning to ‘cmd_create_big_complete’ from ‘le_big_new’
bluez-5.85/emulator/btdev.c:6933:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/btdev.c:6938:9: branch_false: ...to here
bluez-5.85/emulator/btdev.c:6942:21: branch_true: following ‘true’ branch...
bluez-5.85/emulator/btdev.c:6945:24: branch_true: ...to here
bluez-5.85/emulator/btdev.c:6945:24: call_function: calling ‘conn_add_bis’ from ‘cmd_create_big_complete’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def81]
bluez-5.85/emulator/btdev.c:3907:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pdu’
bluez-5.85/emulator/btdev.c:6910:12: enter_function: entry to ‘cmd_create_big_complete’
bluez-5.85/emulator/btdev.c:6924:15: acquire_memory: allocated here
bluez-5.85/emulator/btdev.c:6925:12: branch_false: following ‘false’ branch (when ‘pdu’ is non-NULL)...
bluez-5.85/emulator/btdev.c:6932:31: branch_false: ...to here
bluez-5.85/emulator/btdev.c:6932:15: call_function: calling ‘le_big_new’ from ‘cmd_create_big_complete’
bluez-5.85/emulator/btdev.c:6932:15: return_function: returning to ‘cmd_create_big_complete’ from ‘le_big_new’
bluez-5.85/emulator/btdev.c:6933:12: branch_true: following ‘true’ branch...
bluez-5.85/emulator/btdev.c:6934:17: branch_true: ...to here
bluez-5.85/emulator/btdev.c:6969:9: call_function: calling ‘le_meta_event’ from ‘cmd_create_big_complete’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def82]
bluez-5.85/emulator/btdev.c:3917:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘data’
bluez-5.85/emulator/btdev.c:6910:12: enter_function: entry to ‘cmd_create_big_complete’
bluez-5.85/emulator/btdev.c:6925:12: branch_false: following ‘false’ branch (when ‘pdu’ is non-NULL)...
bluez-5.85/emulator/btdev.c:6932:31: branch_false: ...to here
bluez-5.85/emulator/btdev.c:6932:15: call_function: calling ‘le_big_new’ from ‘cmd_create_big_complete’
bluez-5.85/emulator/btdev.c:6932:15: return_function: returning to ‘cmd_create_big_complete’ from ‘le_big_new’
bluez-5.85/emulator/btdev.c:6933:12: branch_true: following ‘true’ branch...
bluez-5.85/emulator/btdev.c:6934:17: branch_true: ...to here
bluez-5.85/emulator/btdev.c:6969:9: call_function: calling ‘le_meta_event’ from ‘cmd_create_big_complete’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def83]
bluez-5.85/emulator/btdev.c:6321:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘acl’
bluez-5.85/emulator/btdev.c:6283:12: enter_function: entry to ‘cmd_past’
bluez-5.85/emulator/btdev.c:6318:9: call_function: calling ‘cmd_complete’ from ‘cmd_past’
bluez-5.85/emulator/btdev.c:6318:9: return_function: returning to ‘cmd_past’ from ‘cmd_complete’
bluez-5.85/emulator/btdev.c:6320:12: branch_true: following ‘true’ branch...
bluez-5.85/emulator/btdev.c:6321:17: branch_true: ...to here
bluez-5.85/emulator/btdev.c:6321:17: danger: dereference of NULL ‘acl’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def84]
bluez-5.85/emulator/btdev.c:6895:15: warning[-Wanalyzer-malloc-leak]: leak of ‘pdu’
bluez-5.85/emulator/btdev.c:6910:12: enter_function: entry to ‘cmd_create_big_complete’
bluez-5.85/emulator/btdev.c:6924:15: acquire_memory: allocated here
bluez-5.85/emulator/btdev.c:6925:12: branch_false: following ‘false’ branch (when ‘pdu’ is non-NULL)...
bluez-5.85/emulator/btdev.c:6932:31: branch_false: ...to here
bluez-5.85/emulator/btdev.c:6932:15: call_function: calling ‘le_big_new’ from ‘cmd_create_big_complete’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def85]
bluez-5.85/emulator/btdev.c:6899:20: warning[-Wanalyzer-malloc-leak]: leak of ‘pdu’
bluez-5.85/emulator/btdev.c:6910:12: enter_function: entry to ‘cmd_create_big_complete’
bluez-5.85/emulator/btdev.c:6924:15: acquire_memory: allocated here
bluez-5.85/emulator/btdev.c:6925:12: branch_false: following ‘false’ branch (when ‘pdu’ is non-NULL)...
bluez-5.85/emulator/btdev.c:6932:31: branch_false: ...to here
bluez-5.85/emulator/btdev.c:6932:15: call_function: calling ‘le_big_new’ from ‘cmd_create_big_complete’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def86]
bluez-5.85/emulator/btdev.c:6902:14: warning[-Wanalyzer-malloc-leak]: leak of ‘pdu’
bluez-5.85/emulator/btdev.c:6910:12: enter_function: entry to ‘cmd_create_big_complete’
bluez-5.85/emulator/btdev.c:6924:15: acquire_memory: allocated here
bluez-5.85/emulator/btdev.c:6925:12: branch_false: following ‘false’ branch (when ‘pdu’ is non-NULL)...
bluez-5.85/emulator/btdev.c:6932:31: branch_false: ...to here
bluez-5.85/emulator/btdev.c:6932:15: call_function: calling ‘le_big_new’ from ‘cmd_create_big_complete’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def87]
bluez-5.85/emulator/btdev.c:6947:25: warning[-Wanalyzer-malloc-leak]: leak of ‘pdu’
bluez-5.85/emulator/btdev.c:6910:12: enter_function: entry to ‘cmd_create_big_complete’
bluez-5.85/emulator/btdev.c:6924:15: acquire_memory: allocated here
bluez-5.85/emulator/btdev.c:6925:12: branch_false: following ‘false’ branch (when ‘pdu’ is non-NULL)...
bluez-5.85/emulator/btdev.c:6932:31: branch_false: ...to here
bluez-5.85/emulator/btdev.c:6932:15: call_function: calling ‘le_big_new’ from ‘cmd_create_big_complete’
bluez-5.85/emulator/btdev.c:6932:15: return_function: returning to ‘cmd_create_big_complete’ from ‘le_big_new’
bluez-5.85/emulator/btdev.c:6933:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/btdev.c:6938:9: branch_false: ...to here
bluez-5.85/emulator/btdev.c:6942:21: branch_true: following ‘true’ branch...
bluez-5.85/emulator/btdev.c:6945:24: branch_true: ...to here
bluez-5.85/emulator/btdev.c:6945:24: call_function: calling ‘conn_add_bis’ from ‘cmd_create_big_complete’
bluez-5.85/emulator/btdev.c:6945:24: return_function: returning to ‘cmd_create_big_complete’ from ‘conn_add_bis’
bluez-5.85/emulator/btdev.c:6946:20: branch_true: following ‘true’ branch...
bluez-5.85/emulator/btdev.c:6947:25: branch_true: ...to here
bluez-5.85/emulator/btdev.c:6947:25: throw: if ‘queue_remove’ throws an exception...
bluez-5.85/emulator/btdev.c:6947:25: danger: ‘pdu’ leaks here; was allocated at [(2)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def88]
bluez-5.85/emulator/btdev.c:6953:17: warning[-Wanalyzer-malloc-leak]: leak of ‘pdu’
bluez-5.85/emulator/btdev.c:6910:12: enter_function: entry to ‘cmd_create_big_complete’
bluez-5.85/emulator/btdev.c:6924:15: acquire_memory: allocated here
bluez-5.85/emulator/btdev.c:6925:12: branch_false: following ‘false’ branch (when ‘pdu’ is non-NULL)...
bluez-5.85/emulator/btdev.c:6932:31: branch_false: ...to here
bluez-5.85/emulator/btdev.c:6932:15: call_function: calling ‘le_big_new’ from ‘cmd_create_big_complete’
bluez-5.85/emulator/btdev.c:6932:15: return_function: returning to ‘cmd_create_big_complete’ from ‘le_big_new’
bluez-5.85/emulator/btdev.c:6933:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/btdev.c:6938:9: branch_false: ...to here
bluez-5.85/emulator/btdev.c:6942:21: branch_true: following ‘true’ branch...
bluez-5.85/emulator/btdev.c:6945:24: branch_true: ...to here
bluez-5.85/emulator/btdev.c:6945:24: call_function: calling ‘conn_add_bis’ from ‘cmd_create_big_complete’
bluez-5.85/emulator/btdev.c:6945:24: return_function: returning to ‘cmd_create_big_complete’ from ‘conn_add_bis’
bluez-5.85/emulator/btdev.c:6946:20: branch_false: following ‘false’ branch...
bluez-5.85/emulator/btdev.c:6953:17: branch_false: ...to here
bluez-5.85/emulator/btdev.c:6953:17: throw: if ‘queue_push_tail’ throws an exception...
bluez-5.85/emulator/btdev.c:6953:17: danger: ‘pdu’ leaks here; was allocated at [(2)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def89]
bluez-5.85/emulator/btdev.c:7850:33: warning[-Wanalyzer-malloc-leak]: leak of ‘btdev’
bluez-5.85/emulator/btdev.c:7838:17: acquire_memory: allocated here
bluez-5.85/emulator/btdev.c:7839:12: branch_false: following ‘false’ branch (when ‘btdev’ is non-NULL)...
bluez-5.85/emulator/btdev.c:7842:9: branch_false: ...to here
bluez-5.85/emulator/btdev.c:7850:33: throw: if ‘bt_crypto_new’ throws an exception...
bluez-5.85/emulator/btdev.c:7850:33: danger: ‘btdev’ leaks here; was allocated at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-126): [#def90]
bluez-5.85/emulator/bthost.c:631:46: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
bluez-5.85/emulator/bthost.c:3704:6: enter_function: entry to ‘bthost_set_pa_data’
bluez-5.85/emulator/bthost.c:3707:9: call_function: calling ‘set_pa_data’ from ‘bthost_set_pa_data’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def91]
bluez-5.85/emulator/bthost.c:631:63: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
bluez-5.85/emulator/bthost.c:3704:6: enter_function: entry to ‘bthost_set_pa_data’
bluez-5.85/emulator/bthost.c:3707:9: call_function: calling ‘set_pa_data’ from ‘bthost_set_pa_data’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def92]
bluez-5.85/emulator/bthost.c:654:25: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
bluez-5.85/emulator/bthost.c:3844:6: enter_function: entry to ‘bthost_create_cis’
bluez-5.85/emulator/bthost.c:3849:14: acquire_memory: allocated here
bluez-5.85/emulator/bthost.c:3855:9: call_function: calling ‘send_command’ from ‘bthost_create_cis’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def93]
bluez-5.85/emulator/bthost.c:657:25: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
bluez-5.85/emulator/bthost.c:3844:6: enter_function: entry to ‘bthost_create_cis’
bluez-5.85/emulator/bthost.c:3849:14: acquire_memory: allocated here
bluez-5.85/emulator/bthost.c:3855:9: call_function: calling ‘send_command’ from ‘bthost_create_cis’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def94]
bluez-5.85/emulator/bthost.c:661:9: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
bluez-5.85/emulator/bthost.c:3844:6: enter_function: entry to ‘bthost_create_cis’
bluez-5.85/emulator/bthost.c:3849:14: acquire_memory: allocated here
bluez-5.85/emulator/bthost.c:3855:9: call_function: calling ‘send_command’ from ‘bthost_create_cis’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def95]
bluez-5.85/emulator/bthost.c:1195:9: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
bluez-5.85/emulator/bthost.c:3844:6: enter_function: entry to ‘bthost_create_cis’
bluez-5.85/emulator/bthost.c:3849:14: acquire_memory: allocated here
bluez-5.85/emulator/bthost.c:3855:9: call_function: calling ‘send_command’ from ‘bthost_create_cis’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def96]
bluez-5.85/emulator/bthost.c:1195:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
bluez-5.85/emulator/bthost.c:3860:6: enter_function: entry to ‘bthost_write_ssp_mode’
bluez-5.85/emulator/bthost.c:3862:9: call_function: calling ‘send_command’ from ‘bthost_write_ssp_mode’
Error: CPPCHECK_WARNING (CWE-476): [#def97]
bluez-5.85/emulator/bthost.c:3818: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cp
Error: CPPCHECK_WARNING (CWE-476): [#def98]
bluez-5.85/emulator/bthost.c:3819: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cp
Error: GCC_ANALYZER_WARNING (CWE-476): [#def99]
bluez-5.85/emulator/bthost.c:3819:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cp’
bluez-5.85/emulator/bthost.c:3817:14: acquire_memory: this call could return NULL
bluez-5.85/emulator/bthost.c:3819:9: danger: ‘cp’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def100]
bluez-5.85/emulator/bthost.c:3821: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cp
Error: CPPCHECK_WARNING (CWE-476): [#def101]
bluez-5.85/emulator/bthost.c:3823: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cp
Error: CPPCHECK_WARNING (CWE-476): [#def102]
bluez-5.85/emulator/bthost.c:3824: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cp
Error: CPPCHECK_WARNING (CWE-476): [#def103]
bluez-5.85/emulator/bthost.c:3826: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cp
Error: CPPCHECK_WARNING (CWE-476): [#def104]
bluez-5.85/emulator/bthost.c:3828: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cp
Error: CPPCHECK_WARNING (CWE-476): [#def105]
bluez-5.85/emulator/bthost.c:3829: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cp
Error: CPPCHECK_WARNING (CWE-476): [#def106]
bluez-5.85/emulator/bthost.c:3830: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cp
Error: CPPCHECK_WARNING (CWE-476): [#def107]
bluez-5.85/emulator/bthost.c:3831: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cp
Error: CPPCHECK_WARNING (CWE-476): [#def108]
bluez-5.85/emulator/bthost.c:3832: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cp
Error: CPPCHECK_WARNING (CWE-476): [#def109]
bluez-5.85/emulator/bthost.c:3834: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cp
Error: CPPCHECK_WARNING (CWE-476): [#def110]
bluez-5.85/emulator/bthost.c:3836: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cp
Error: CPPCHECK_WARNING (CWE-476): [#def111]
bluez-5.85/emulator/bthost.c:3837: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cp
Error: CPPCHECK_WARNING (CWE-476): [#def112]
bluez-5.85/emulator/bthost.c:3850: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cp
Error: CPPCHECK_WARNING (CWE-476): [#def113]
bluez-5.85/emulator/bthost.c:3851: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cp
Error: GCC_ANALYZER_WARNING (CWE-476): [#def114]
bluez-5.85/emulator/bthost.c:3851:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cp’
bluez-5.85/emulator/bthost.c:3849:14: acquire_memory: this call could return NULL
bluez-5.85/emulator/bthost.c:3851:9: danger: ‘cp’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def115]
bluez-5.85/emulator/bthost.c:3852: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cp
Error: CPPCHECK_WARNING (CWE-476): [#def116]
bluez-5.85/emulator/bthost.c:3853: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cp
Error: GCC_ANALYZER_WARNING (CWE-775): [#def117]
bluez-5.85/emulator/hfp.c:61:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/emulator/hfp.c:50:14: acquire_resource: socket created here
bluez-5.85/emulator/hfp.c:51:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
bluez-5.85/emulator/hfp.c:56:9: branch_false: ...to here
bluez-5.85/emulator/hfp.c:60:12: branch_true: following ‘true’ branch...
bluez-5.85/emulator/hfp.c:61:17: branch_true: ...to here
bluez-5.85/emulator/hfp.c:61:17: throw: if ‘perror’ throws an exception...
bluez-5.85/emulator/hfp.c:61:17: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def118]
bluez-5.85/emulator/hfp.c:62:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/emulator/hfp.c:50:14: acquire_resource: socket created here
bluez-5.85/emulator/hfp.c:51:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
bluez-5.85/emulator/hfp.c:56:9: branch_false: ...to here
bluez-5.85/emulator/hfp.c:60:12: branch_true: following ‘true’ branch...
bluez-5.85/emulator/hfp.c:61:17: branch_true: ...to here
bluez-5.85/emulator/hfp.c:62:17: throw: if ‘close’ throws an exception...
bluez-5.85/emulator/hfp.c:62:17: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def119]
bluez-5.85/emulator/phy.c:60:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/urandom", 0)’
bluez-5.85/emulator/phy.c:54:14: acquire_resource: opened here
bluez-5.85/emulator/phy.c:55:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/phy.c:58:15: branch_false: ...to here
bluez-5.85/emulator/phy.c:60:9: danger: ‘open("/dev/urandom", 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def120]
bluez-5.85/emulator/phy.c:119:17: warning[-Wanalyzer-malloc-leak]: leak of ‘phy’
bluez-5.85/emulator/phy.c:152:16: enter_function: entry to ‘bt_phy_new’
bluez-5.85/emulator/phy.c:156:15: acquire_memory: allocated here
bluez-5.85/emulator/phy.c:157:12: branch_false: following ‘false’ branch (when ‘phy’ is non-NULL)...
bluez-5.85/emulator/phy.c:160:22: branch_false: ...to here
bluez-5.85/emulator/phy.c:160:22: call_function: calling ‘create_rx_socket’ from ‘bt_phy_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def121]
bluez-5.85/emulator/phy.c:129:17: warning[-Wanalyzer-malloc-leak]: leak of ‘phy’
bluez-5.85/emulator/phy.c:152:16: enter_function: entry to ‘bt_phy_new’
bluez-5.85/emulator/phy.c:156:15: acquire_memory: allocated here
bluez-5.85/emulator/phy.c:157:12: branch_false: following ‘false’ branch (when ‘phy’ is non-NULL)...
bluez-5.85/emulator/phy.c:160:22: branch_false: ...to here
bluez-5.85/emulator/phy.c:160:22: call_function: calling ‘create_rx_socket’ from ‘bt_phy_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def122]
bluez-5.85/emulator/phy.c:145:17: warning[-Wanalyzer-malloc-leak]: leak of ‘phy’
bluez-5.85/emulator/phy.c:152:16: enter_function: entry to ‘bt_phy_new’
bluez-5.85/emulator/phy.c:156:15: acquire_memory: allocated here
bluez-5.85/emulator/phy.c:157:12: branch_false: following ‘false’ branch (when ‘phy’ is non-NULL)...
bluez-5.85/emulator/phy.c:160:22: branch_false: ...to here
bluez-5.85/emulator/phy.c:160:22: call_function: calling ‘create_rx_socket’ from ‘bt_phy_new’
bluez-5.85/emulator/phy.c:160:22: return_function: returning to ‘bt_phy_new’ from ‘create_rx_socket’
bluez-5.85/emulator/phy.c:161:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/phy.c:166:22: branch_false: ...to here
bluez-5.85/emulator/phy.c:166:22: call_function: calling ‘create_tx_socket’ from ‘bt_phy_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def123]
bluez-5.85/emulator/phy.c:168:17: warning[-Wanalyzer-malloc-leak]: leak of ‘phy’
bluez-5.85/emulator/phy.c:152:16: enter_function: entry to ‘bt_phy_new’
bluez-5.85/emulator/phy.c:156:15: acquire_memory: allocated here
bluez-5.85/emulator/phy.c:157:12: branch_false: following ‘false’ branch (when ‘phy’ is non-NULL)...
bluez-5.85/emulator/phy.c:160:22: branch_false: ...to here
bluez-5.85/emulator/phy.c:160:22: call_function: calling ‘create_rx_socket’ from ‘bt_phy_new’
bluez-5.85/emulator/phy.c:160:22: return_function: returning to ‘bt_phy_new’ from ‘create_rx_socket’
bluez-5.85/emulator/phy.c:161:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/phy.c:166:22: branch_false: ...to here
bluez-5.85/emulator/phy.c:166:22: call_function: calling ‘create_tx_socket’ from ‘bt_phy_new’
bluez-5.85/emulator/phy.c:166:22: return_function: returning to ‘bt_phy_new’ from ‘create_tx_socket’
bluez-5.85/emulator/phy.c:167:12: branch_true: following ‘true’ branch...
bluez-5.85/emulator/phy.c:168:17: branch_true: ...to here
bluez-5.85/emulator/phy.c:168:17: throw: if ‘close’ throws an exception...
bluez-5.85/emulator/phy.c:168:17: danger: ‘phy’ leaks here; was allocated at [(2)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def124]
bluez-5.85/emulator/phy.c:173:9: warning[-Wanalyzer-malloc-leak]: leak of ‘phy’
bluez-5.85/emulator/phy.c:152:16: enter_function: entry to ‘bt_phy_new’
bluez-5.85/emulator/phy.c:156:15: acquire_memory: allocated here
bluez-5.85/emulator/phy.c:157:12: branch_false: following ‘false’ branch (when ‘phy’ is non-NULL)...
bluez-5.85/emulator/phy.c:160:22: branch_false: ...to here
bluez-5.85/emulator/phy.c:160:22: call_function: calling ‘create_rx_socket’ from ‘bt_phy_new’
bluez-5.85/emulator/phy.c:160:22: return_function: returning to ‘bt_phy_new’ from ‘create_rx_socket’
bluez-5.85/emulator/phy.c:161:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/phy.c:166:22: branch_false: ...to here
bluez-5.85/emulator/phy.c:166:22: call_function: calling ‘create_tx_socket’ from ‘bt_phy_new’
bluez-5.85/emulator/phy.c:166:22: return_function: returning to ‘bt_phy_new’ from ‘create_tx_socket’
bluez-5.85/emulator/phy.c:167:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/phy.c:173:9: branch_false: ...to here
bluez-5.85/emulator/phy.c:173:9: throw: if ‘mainloop_add_fd’ throws an exception...
bluez-5.85/emulator/phy.c:173:9: danger: ‘phy’ leaks here; was allocated at [(2)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def125]
bluez-5.85/emulator/serial.c:129:25: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*(struct serial *)user_data.pkt_data + (sizetype)*(struct serial *)user_data.pkt_len’ where non-null expected
bluez-5.85/emulator/serial.c:83:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/serial.c:83:12: branch_false: ...to here
bluez-5.85/emulator/serial.c:97:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/serial.c:100:9: branch_false: ...to here
bluez-5.85/emulator/serial.c:102:16: branch_true: following ‘true’ branch (when ‘count != 0’)...
bluez-5.85/emulator/serial.c:105:22: branch_true: ...to here
bluez-5.85/emulator/serial.c:105:20: branch_true: following ‘true’ branch...
bluez-5.85/emulator/serial.c:106:44: branch_true: ...to here
bluez-5.85/emulator/serial.c:108:25: branch_true: following ‘true’ branch...
bluez-5.85/emulator/serial.c:109:25: branch_true: ...to here
bluez-5.85/emulator/serial.c:110:36: branch_false: following ‘false’ branch (when ‘count > 3’)...
bluez-5.85/emulator/serial.c:116:57: branch_false: ...to here
bluez-5.85/emulator/serial.c:117:52: acquire_memory: this call could return NULL
bluez-5.85/emulator/serial.c:128:20: branch_true: following ‘true’ branch...
bluez-5.85/emulator/serial.c:129:25: branch_true: ...to here
bluez-5.85/emulator/serial.c:129:25: danger: argument 1 (‘*(struct serial *)user_data.pkt_data + (sizetype)*(struct serial *)user_data.pkt_len’) from [(13)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/12) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def126]
bluez-5.85/emulator/serial.c:140:25: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*(struct serial *)user_data.pkt_data + (sizetype)*(struct serial *)user_data.pkt_len’ where non-null expected
bluez-5.85/emulator/serial.c:83:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/serial.c:83:12: branch_false: ...to here
bluez-5.85/emulator/serial.c:97:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/serial.c:100:9: branch_false: ...to here
bluez-5.85/emulator/serial.c:102:16: branch_true: following ‘true’ branch (when ‘count != 0’)...
bluez-5.85/emulator/serial.c:105:22: branch_true: ...to here
bluez-5.85/emulator/serial.c:105:20: branch_true: following ‘true’ branch...
bluez-5.85/emulator/serial.c:106:44: branch_true: ...to here
bluez-5.85/emulator/serial.c:108:25: branch_true: following ‘true’ branch...
bluez-5.85/emulator/serial.c:109:25: branch_true: ...to here
bluez-5.85/emulator/serial.c:110:36: branch_false: following ‘false’ branch (when ‘count > 3’)...
bluez-5.85/emulator/serial.c:116:57: branch_false: ...to here
bluez-5.85/emulator/serial.c:117:52: acquire_memory: this call could return NULL
bluez-5.85/emulator/serial.c:128:20: branch_false: following ‘false’ branch...
bluez-5.85/emulator/serial.c:140:25: branch_false: ...to here
bluez-5.85/emulator/serial.c:140:25: danger: argument 1 (‘*(struct serial *)user_data.pkt_data + (sizetype)*(struct serial *)user_data.pkt_len’) from [(13)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/12) could be NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-457): [#def127]
bluez-5.85/emulator/serial.c:150: error[legacyUninitvar]: Uninitialized variable: type
Error: GCC_ANALYZER_WARNING (CWE-401): [#def128]
bluez-5.85/emulator/serial.c:152:22: warning[-Wanalyzer-malloc-leak]: leak of ‘serial’
bluez-5.85/emulator/serial.c:210:16: enter_function: entry to ‘serial_open’
bluez-5.85/emulator/serial.c:215:18: acquire_memory: allocated here
bluez-5.85/emulator/serial.c:216:12: branch_false: following ‘false’ branch (when ‘serial’ is non-NULL)...
bluez-5.85/emulator/serial.c:219:9: branch_false: ...to here
bluez-5.85/emulator/serial.c:223:9: call_function: calling ‘open_pty’ from ‘serial_open’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def129]
bluez-5.85/emulator/serial.c:154:17: warning[-Wanalyzer-malloc-leak]: leak of ‘serial’
bluez-5.85/emulator/serial.c:210:16: enter_function: entry to ‘serial_open’
bluez-5.85/emulator/serial.c:215:18: acquire_memory: allocated here
bluez-5.85/emulator/serial.c:216:12: branch_false: following ‘false’ branch (when ‘serial’ is non-NULL)...
bluez-5.85/emulator/serial.c:219:9: branch_false: ...to here
bluez-5.85/emulator/serial.c:223:9: call_function: calling ‘open_pty’ from ‘serial_open’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def130]
bluez-5.85/emulator/serial.c:159:17: warning[-Wanalyzer-malloc-leak]: leak of ‘serial’
bluez-5.85/emulator/serial.c:210:16: enter_function: entry to ‘serial_open’
bluez-5.85/emulator/serial.c:215:18: acquire_memory: allocated here
bluez-5.85/emulator/serial.c:216:12: branch_false: following ‘false’ branch (when ‘serial’ is non-NULL)...
bluez-5.85/emulator/serial.c:219:9: branch_false: ...to here
bluez-5.85/emulator/serial.c:223:9: call_function: calling ‘open_pty’ from ‘serial_open’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def131]
bluez-5.85/emulator/serial.c:160:17: warning[-Wanalyzer-malloc-leak]: leak of ‘serial’
bluez-5.85/emulator/serial.c:210:16: enter_function: entry to ‘serial_open’
bluez-5.85/emulator/serial.c:215:18: acquire_memory: allocated here
bluez-5.85/emulator/serial.c:216:12: branch_false: following ‘false’ branch (when ‘serial’ is non-NULL)...
bluez-5.85/emulator/serial.c:219:9: branch_false: ...to here
bluez-5.85/emulator/serial.c:223:9: call_function: calling ‘open_pty’ from ‘serial_open’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def132]
bluez-5.85/emulator/serial.c:166:17: warning[-Wanalyzer-malloc-leak]: leak of ‘serial’
bluez-5.85/emulator/serial.c:210:16: enter_function: entry to ‘serial_open’
bluez-5.85/emulator/serial.c:215:18: acquire_memory: allocated here
bluez-5.85/emulator/serial.c:216:12: branch_false: following ‘false’ branch (when ‘serial’ is non-NULL)...
bluez-5.85/emulator/serial.c:219:9: branch_false: ...to here
bluez-5.85/emulator/serial.c:223:9: call_function: calling ‘open_pty’ from ‘serial_open’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def133]
bluez-5.85/emulator/serial.c:167:17: warning[-Wanalyzer-malloc-leak]: leak of ‘serial’
bluez-5.85/emulator/serial.c:210:16: enter_function: entry to ‘serial_open’
bluez-5.85/emulator/serial.c:215:18: acquire_memory: allocated here
bluez-5.85/emulator/serial.c:216:12: branch_false: following ‘false’ branch (when ‘serial’ is non-NULL)...
bluez-5.85/emulator/serial.c:219:9: branch_false: ...to here
bluez-5.85/emulator/serial.c:223:9: call_function: calling ‘open_pty’ from ‘serial_open’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def134]
bluez-5.85/emulator/serial.c:191:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘type’
bluez-5.85/emulator/serial.c:153:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/serial.c:158:13: branch_false: ...to here
bluez-5.85/emulator/serial.c:158:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/serial.c:165:13: branch_false: ...to here
bluez-5.85/emulator/serial.c:165:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/serial.c:172:31: branch_false: ...to here
bluez-5.85/emulator/serial.c:176:17: branch_false: following ‘false’ branch...
bluez-5.85/emulator/serial.c:191:25: branch_false: ...to here
bluez-5.85/emulator/serial.c:191:25: danger: use of uninitialized value ‘type’ here
Error: CPPCHECK_WARNING (CWE-457): [#def135]
bluez-5.85/emulator/serial.c:213: error[legacyUninitvar]: Uninitialized variable: dev_type
Error: GCC_ANALYZER_WARNING (CWE-688): [#def136]
bluez-5.85/emulator/server.c:161:25: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*(struct client *)user_data.pkt_data + (sizetype)*(struct client *)user_data.pkt_len’ where non-null expected
bluez-5.85/emulator/server.c:113:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/server.c:116:17: branch_false: ...to here
bluez-5.85/emulator/server.c:118:16: branch_true: following ‘true’ branch (when ‘count != 0’)...
bluez-5.85/emulator/server.c:123:22: branch_true: ...to here
bluez-5.85/emulator/server.c:123:20: branch_true: following ‘true’ branch...
bluez-5.85/emulator/server.c:124:44: branch_true: ...to here
bluez-5.85/emulator/server.c:141:52: acquire_memory: this call could return NULL
bluez-5.85/emulator/server.c:160:20: branch_true: following ‘true’ branch...
bluez-5.85/emulator/server.c:161:25: branch_true: ...to here
bluez-5.85/emulator/server.c:161:25: danger: argument 1 (‘*(struct client *)user_data.pkt_data + (sizetype)*(struct client *)user_data.pkt_len’) from [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def137]
bluez-5.85/emulator/server.c:172:25: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*(struct client *)user_data.pkt_data + (sizetype)*(struct client *)user_data.pkt_len’ where non-null expected
bluez-5.85/emulator/server.c:113:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/server.c:116:17: branch_false: ...to here
bluez-5.85/emulator/server.c:118:16: branch_true: following ‘true’ branch (when ‘count != 0’)...
bluez-5.85/emulator/server.c:123:22: branch_true: ...to here
bluez-5.85/emulator/server.c:123:20: branch_true: following ‘true’ branch...
bluez-5.85/emulator/server.c:124:44: branch_true: ...to here
bluez-5.85/emulator/server.c:141:52: acquire_memory: this call could return NULL
bluez-5.85/emulator/server.c:160:20: branch_false: following ‘false’ branch...
bluez-5.85/emulator/server.c:172:25: branch_false: ...to here
bluez-5.85/emulator/server.c:172:25: danger: argument 1 (‘*(struct client *)user_data.pkt_data + (sizetype)*(struct client *)user_data.pkt_len’) from [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def138]
bluez-5.85/emulator/server.c:190:17: warning[-Wanalyzer-malloc-leak]: leak of ‘client’
bluez-5.85/emulator/server.c:205:13: enter_function: entry to ‘server_accept_callback’
bluez-5.85/emulator/server.c:211:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/server.c:216:18: branch_false: ...to here
bluez-5.85/emulator/server.c:216:18: acquire_memory: allocated here
bluez-5.85/emulator/server.c:217:12: branch_false: following ‘false’ branch (when ‘client’ is non-NULL)...
bluez-5.85/emulator/server.c:220:9: branch_false: ...to here
bluez-5.85/emulator/server.c:222:22: call_function: calling ‘accept_client’ from ‘server_accept_callback’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def139]
bluez-5.85/emulator/server.c:198:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘((struct server)*(void *)user_data).fd’
bluez-5.85/emulator/server.c:205:13: enter_function: entry to ‘server_accept_callback’
bluez-5.85/emulator/server.c:211:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/server.c:216:18: branch_false: ...to here
bluez-5.85/emulator/server.c:217:12: branch_false: following ‘false’ branch (when ‘client’ is non-NULL)...
bluez-5.85/emulator/server.c:220:9: branch_false: ...to here
bluez-5.85/emulator/server.c:222:22: call_function: calling ‘accept_client’ from ‘server_accept_callback’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def140]
bluez-5.85/emulator/server.c:198:17: warning[-Wanalyzer-malloc-leak]: leak of ‘client’
bluez-5.85/emulator/server.c:205:13: enter_function: entry to ‘server_accept_callback’
bluez-5.85/emulator/server.c:211:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/server.c:216:18: branch_false: ...to here
bluez-5.85/emulator/server.c:216:18: acquire_memory: allocated here
bluez-5.85/emulator/server.c:217:12: branch_false: following ‘false’ branch (when ‘client’ is non-NULL)...
bluez-5.85/emulator/server.c:220:9: branch_false: ...to here
bluez-5.85/emulator/server.c:222:22: call_function: calling ‘accept_client’ from ‘server_accept_callback’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def141]
bluez-5.85/emulator/server.c:203:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘((struct server)*(void *)user_data).fd’
bluez-5.85/emulator/server.c:205:13: enter_function: entry to ‘server_accept_callback’
bluez-5.85/emulator/server.c:211:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/server.c:216:18: branch_false: ...to here
bluez-5.85/emulator/server.c:217:12: branch_false: following ‘false’ branch (when ‘client’ is non-NULL)...
bluez-5.85/emulator/server.c:220:9: branch_false: ...to here
bluez-5.85/emulator/server.c:222:22: call_function: calling ‘accept_client’ from ‘server_accept_callback’
Error: CPPCHECK_WARNING (CWE-457): [#def142]
bluez-5.85/emulator/server.c:209: error[legacyUninitvar]: Uninitialized variable: type
Error: GCC_ANALYZER_WARNING (CWE-775): [#def143]
bluez-5.85/emulator/server.c:245:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor
bluez-5.85/emulator/server.c:205:13: enter_function: entry to ‘server_accept_callback’
bluez-5.85/emulator/server.c:211:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/server.c:216:18: branch_false: ...to here
bluez-5.85/emulator/server.c:217:12: branch_false: following ‘false’ branch (when ‘client’ is non-NULL)...
bluez-5.85/emulator/server.c:220:9: branch_false: ...to here
bluez-5.85/emulator/server.c:222:22: call_function: calling ‘accept_client’ from ‘server_accept_callback’
bluez-5.85/emulator/server.c:222:22: return_function: returning to ‘server_accept_callback’ from ‘accept_client’
bluez-5.85/emulator/server.c:223:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/server.c:228:17: branch_false: ...to here
bluez-5.85/emulator/server.c:245:25: throw: if ‘btdev_create’ throws an exception...
bluez-5.85/emulator/server.c:245:25: danger: leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def144]
bluez-5.85/emulator/server.c:245:25: warning[-Wanalyzer-malloc-leak]: leak of ‘client’
bluez-5.85/emulator/server.c:205:13: enter_function: entry to ‘server_accept_callback’
bluez-5.85/emulator/server.c:211:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/server.c:216:18: branch_false: ...to here
bluez-5.85/emulator/server.c:216:18: acquire_memory: allocated here
bluez-5.85/emulator/server.c:217:12: branch_false: following ‘false’ branch (when ‘client’ is non-NULL)...
bluez-5.85/emulator/server.c:220:9: branch_false: ...to here
bluez-5.85/emulator/server.c:222:22: call_function: calling ‘accept_client’ from ‘server_accept_callback’
bluez-5.85/emulator/server.c:222:22: return_function: returning to ‘server_accept_callback’ from ‘accept_client’
bluez-5.85/emulator/server.c:223:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/server.c:228:17: branch_false: ...to here
bluez-5.85/emulator/server.c:245:25: throw: if ‘btdev_create’ throws an exception...
bluez-5.85/emulator/server.c:245:25: danger: ‘client’ leaks here; was allocated at [(4)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def145]
bluez-5.85/emulator/server.c:247:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor
bluez-5.85/emulator/server.c:205:13: enter_function: entry to ‘server_accept_callback’
bluez-5.85/emulator/server.c:211:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/server.c:216:18: branch_false: ...to here
bluez-5.85/emulator/server.c:217:12: branch_false: following ‘false’ branch (when ‘client’ is non-NULL)...
bluez-5.85/emulator/server.c:220:9: branch_false: ...to here
bluez-5.85/emulator/server.c:222:22: call_function: calling ‘accept_client’ from ‘server_accept_callback’
bluez-5.85/emulator/server.c:222:22: return_function: returning to ‘server_accept_callback’ from ‘accept_client’
bluez-5.85/emulator/server.c:223:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/server.c:228:17: branch_false: ...to here
bluez-5.85/emulator/server.c:246:12: branch_true: following ‘true’ branch...
bluez-5.85/emulator/server.c:247:17: branch_true: ...to here
bluez-5.85/emulator/server.c:247:17: throw: if ‘close’ throws an exception...
bluez-5.85/emulator/server.c:247:17: danger: leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def146]
bluez-5.85/emulator/server.c:247:17: warning[-Wanalyzer-malloc-leak]: leak of ‘client’
bluez-5.85/emulator/server.c:205:13: enter_function: entry to ‘server_accept_callback’
bluez-5.85/emulator/server.c:211:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/server.c:216:18: branch_false: ...to here
bluez-5.85/emulator/server.c:216:18: acquire_memory: allocated here
bluez-5.85/emulator/server.c:217:12: branch_false: following ‘false’ branch (when ‘client’ is non-NULL)...
bluez-5.85/emulator/server.c:220:9: branch_false: ...to here
bluez-5.85/emulator/server.c:222:22: call_function: calling ‘accept_client’ from ‘server_accept_callback’
bluez-5.85/emulator/server.c:222:22: return_function: returning to ‘server_accept_callback’ from ‘accept_client’
bluez-5.85/emulator/server.c:223:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/server.c:228:17: branch_false: ...to here
bluez-5.85/emulator/server.c:246:12: branch_true: following ‘true’ branch...
bluez-5.85/emulator/server.c:247:17: branch_true: ...to here
bluez-5.85/emulator/server.c:247:17: throw: if ‘close’ throws an exception...
bluez-5.85/emulator/server.c:247:17: danger: ‘client’ leaks here; was allocated at [(4)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def147]
bluez-5.85/emulator/server.c:252:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor
bluez-5.85/emulator/server.c:205:13: enter_function: entry to ‘server_accept_callback’
bluez-5.85/emulator/server.c:211:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/server.c:216:18: branch_false: ...to here
bluez-5.85/emulator/server.c:217:12: branch_false: following ‘false’ branch (when ‘client’ is non-NULL)...
bluez-5.85/emulator/server.c:220:9: branch_false: ...to here
bluez-5.85/emulator/server.c:222:22: call_function: calling ‘accept_client’ from ‘server_accept_callback’
bluez-5.85/emulator/server.c:222:22: return_function: returning to ‘server_accept_callback’ from ‘accept_client’
bluez-5.85/emulator/server.c:223:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/server.c:228:17: branch_false: ...to here
bluez-5.85/emulator/server.c:246:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/server.c:252:9: branch_false: ...to here
bluez-5.85/emulator/server.c:252:9: throw: if ‘btdev_set_send_handler’ throws an exception...
bluez-5.85/emulator/server.c:252:9: danger: leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def148]
bluez-5.85/emulator/server.c:252:9: warning[-Wanalyzer-malloc-leak]: leak of ‘client’
bluez-5.85/emulator/server.c:205:13: enter_function: entry to ‘server_accept_callback’
bluez-5.85/emulator/server.c:211:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/server.c:216:18: branch_false: ...to here
bluez-5.85/emulator/server.c:216:18: acquire_memory: allocated here
bluez-5.85/emulator/server.c:217:12: branch_false: following ‘false’ branch (when ‘client’ is non-NULL)...
bluez-5.85/emulator/server.c:220:9: branch_false: ...to here
bluez-5.85/emulator/server.c:222:22: call_function: calling ‘accept_client’ from ‘server_accept_callback’
bluez-5.85/emulator/server.c:222:22: return_function: returning to ‘server_accept_callback’ from ‘accept_client’
bluez-5.85/emulator/server.c:223:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/server.c:228:17: branch_false: ...to here
bluez-5.85/emulator/server.c:246:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/server.c:252:9: branch_false: ...to here
bluez-5.85/emulator/server.c:252:9: throw: if ‘btdev_set_send_handler’ throws an exception...
bluez-5.85/emulator/server.c:252:9: danger: ‘client’ leaks here; was allocated at [(4)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def149]
bluez-5.85/emulator/server.c:255:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor
bluez-5.85/emulator/server.c:205:13: enter_function: entry to ‘server_accept_callback’
bluez-5.85/emulator/server.c:211:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/server.c:216:18: branch_false: ...to here
bluez-5.85/emulator/server.c:217:12: branch_false: following ‘false’ branch (when ‘client’ is non-NULL)...
bluez-5.85/emulator/server.c:220:9: branch_false: ...to here
bluez-5.85/emulator/server.c:222:22: call_function: calling ‘accept_client’ from ‘server_accept_callback’
bluez-5.85/emulator/server.c:222:22: return_function: returning to ‘server_accept_callback’ from ‘accept_client’
bluez-5.85/emulator/server.c:223:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/server.c:228:17: branch_false: ...to here
bluez-5.85/emulator/server.c:255:13: throw: if ‘mainloop_add_fd’ throws an exception...
bluez-5.85/emulator/server.c:255:13: danger: leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def150]
bluez-5.85/emulator/server.c:255:13: warning[-Wanalyzer-malloc-leak]: leak of ‘client’
bluez-5.85/emulator/server.c:205:13: enter_function: entry to ‘server_accept_callback’
bluez-5.85/emulator/server.c:211:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/server.c:216:18: branch_false: ...to here
bluez-5.85/emulator/server.c:216:18: acquire_memory: allocated here
bluez-5.85/emulator/server.c:217:12: branch_false: following ‘false’ branch (when ‘client’ is non-NULL)...
bluez-5.85/emulator/server.c:220:9: branch_false: ...to here
bluez-5.85/emulator/server.c:222:22: call_function: calling ‘accept_client’ from ‘server_accept_callback’
bluez-5.85/emulator/server.c:222:22: return_function: returning to ‘server_accept_callback’ from ‘accept_client’
bluez-5.85/emulator/server.c:223:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/server.c:228:17: branch_false: ...to here
bluez-5.85/emulator/server.c:255:13: throw: if ‘mainloop_add_fd’ throws an exception...
bluez-5.85/emulator/server.c:255:13: danger: ‘client’ leaks here; was allocated at [(4)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def151]
bluez-5.85/emulator/server.c:272:17: warning[-Wanalyzer-malloc-leak]: leak of ‘server’
bluez-5.85/emulator/server.c:295:16: enter_function: entry to ‘server_open_unix’
bluez-5.85/emulator/server.c:299:18: acquire_memory: allocated here
bluez-5.85/emulator/server.c:300:12: branch_false: following ‘false’ branch (when ‘server’ is non-NULL)...
bluez-5.85/emulator/server.c:300:12: branch_false: ...to here
bluez-5.85/emulator/server.c:307:22: call_function: calling ‘open_unix’ from ‘server_open_unix’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def152]
bluez-5.85/emulator/server.c:281:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/emulator/server.c:270:14: acquire_resource: stream socket created here
bluez-5.85/emulator/server.c:271:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
bluez-5.85/emulator/server.c:276:9: branch_false: ...to here
bluez-5.85/emulator/server.c:280:12: branch_true: following ‘true’ branch...
bluez-5.85/emulator/server.c:281:17: branch_true: ...to here
bluez-5.85/emulator/server.c:281:17: throw: if ‘perror’ throws an exception...
bluez-5.85/emulator/server.c:281:17: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def153]
bluez-5.85/emulator/server.c:281:17: warning[-Wanalyzer-malloc-leak]: leak of ‘server’
bluez-5.85/emulator/server.c:295:16: enter_function: entry to ‘server_open_unix’
bluez-5.85/emulator/server.c:299:18: acquire_memory: allocated here
bluez-5.85/emulator/server.c:300:12: branch_false: following ‘false’ branch (when ‘server’ is non-NULL)...
bluez-5.85/emulator/server.c:300:12: branch_false: ...to here
bluez-5.85/emulator/server.c:307:22: call_function: calling ‘open_unix’ from ‘server_open_unix’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def154]
bluez-5.85/emulator/server.c:282:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/emulator/server.c:270:14: acquire_resource: stream socket created here
bluez-5.85/emulator/server.c:271:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
bluez-5.85/emulator/server.c:276:9: branch_false: ...to here
bluez-5.85/emulator/server.c:280:12: branch_true: following ‘true’ branch...
bluez-5.85/emulator/server.c:281:17: branch_true: ...to here
bluez-5.85/emulator/server.c:282:17: throw: if ‘close’ throws an exception...
bluez-5.85/emulator/server.c:282:17: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def155]
bluez-5.85/emulator/server.c:282:17: warning[-Wanalyzer-malloc-leak]: leak of ‘server’
bluez-5.85/emulator/server.c:295:16: enter_function: entry to ‘server_open_unix’
bluez-5.85/emulator/server.c:299:18: acquire_memory: allocated here
bluez-5.85/emulator/server.c:300:12: branch_false: following ‘false’ branch (when ‘server’ is non-NULL)...
bluez-5.85/emulator/server.c:300:12: branch_false: ...to here
bluez-5.85/emulator/server.c:307:22: call_function: calling ‘open_unix’ from ‘server_open_unix’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def156]
bluez-5.85/emulator/server.c:287:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/emulator/server.c:270:14: acquire_resource: stream socket created here
bluez-5.85/emulator/server.c:271:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
bluez-5.85/emulator/server.c:276:9: branch_false: ...to here
bluez-5.85/emulator/server.c:280:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/server.c:286:13: branch_false: ...to here
bluez-5.85/emulator/server.c:286:12: branch_true: following ‘true’ branch...
bluez-5.85/emulator/server.c:287:17: branch_true: ...to here
bluez-5.85/emulator/server.c:287:17: throw: if ‘perror’ throws an exception...
bluez-5.85/emulator/server.c:287:17: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def157]
bluez-5.85/emulator/server.c:287:17: warning[-Wanalyzer-malloc-leak]: leak of ‘server’
bluez-5.85/emulator/server.c:295:16: enter_function: entry to ‘server_open_unix’
bluez-5.85/emulator/server.c:299:18: acquire_memory: allocated here
bluez-5.85/emulator/server.c:300:12: branch_false: following ‘false’ branch (when ‘server’ is non-NULL)...
bluez-5.85/emulator/server.c:300:12: branch_false: ...to here
bluez-5.85/emulator/server.c:307:22: call_function: calling ‘open_unix’ from ‘server_open_unix’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def158]
bluez-5.85/emulator/server.c:288:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/emulator/server.c:270:14: acquire_resource: stream socket created here
bluez-5.85/emulator/server.c:271:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
bluez-5.85/emulator/server.c:276:9: branch_false: ...to here
bluez-5.85/emulator/server.c:280:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/server.c:286:13: branch_false: ...to here
bluez-5.85/emulator/server.c:286:12: branch_true: following ‘true’ branch...
bluez-5.85/emulator/server.c:287:17: branch_true: ...to here
bluez-5.85/emulator/server.c:288:17: throw: if ‘close’ throws an exception...
bluez-5.85/emulator/server.c:288:17: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def159]
bluez-5.85/emulator/server.c:288:17: warning[-Wanalyzer-malloc-leak]: leak of ‘server’
bluez-5.85/emulator/server.c:295:16: enter_function: entry to ‘server_open_unix’
bluez-5.85/emulator/server.c:299:18: acquire_memory: allocated here
bluez-5.85/emulator/server.c:300:12: branch_false: following ‘false’ branch (when ‘server’ is non-NULL)...
bluez-5.85/emulator/server.c:300:12: branch_false: ...to here
bluez-5.85/emulator/server.c:307:22: call_function: calling ‘open_unix’ from ‘server_open_unix’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def160]
bluez-5.85/emulator/server.c:313:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor
bluez-5.85/emulator/server.c:295:16: enter_function: entry to ‘server_open_unix’
bluez-5.85/emulator/server.c:300:12: branch_false: following ‘false’ branch (when ‘server’ is non-NULL)...
bluez-5.85/emulator/server.c:300:12: branch_false: ...to here
bluez-5.85/emulator/server.c:307:22: call_function: calling ‘open_unix’ from ‘server_open_unix’
bluez-5.85/emulator/server.c:307:22: return_function: returning to ‘server_open_unix’ from ‘open_unix’
bluez-5.85/emulator/server.c:308:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/server.c:313:13: branch_false: ...to here
bluez-5.85/emulator/server.c:313:13: throw: if ‘mainloop_add_fd’ throws an exception...
bluez-5.85/emulator/server.c:313:13: danger: leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def161]
bluez-5.85/emulator/server.c:313:13: warning[-Wanalyzer-malloc-leak]: leak of ‘server’
bluez-5.85/emulator/server.c:295:16: enter_function: entry to ‘server_open_unix’
bluez-5.85/emulator/server.c:299:18: acquire_memory: allocated here
bluez-5.85/emulator/server.c:300:12: branch_false: following ‘false’ branch (when ‘server’ is non-NULL)...
bluez-5.85/emulator/server.c:300:12: branch_false: ...to here
bluez-5.85/emulator/server.c:307:22: call_function: calling ‘open_unix’ from ‘server_open_unix’
bluez-5.85/emulator/server.c:307:22: return_function: returning to ‘server_open_unix’ from ‘open_unix’
bluez-5.85/emulator/server.c:308:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/server.c:313:13: branch_false: ...to here
bluez-5.85/emulator/server.c:313:13: throw: if ‘mainloop_add_fd’ throws an exception...
bluez-5.85/emulator/server.c:313:13: danger: ‘server’ leaks here; was allocated at [(2)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def162]
bluez-5.85/emulator/server.c:330:17: warning[-Wanalyzer-malloc-leak]: leak of ‘server’
bluez-5.85/emulator/server.c:361:16: enter_function: entry to ‘server_open_tcp’
bluez-5.85/emulator/server.c:365:18: acquire_memory: allocated here
bluez-5.85/emulator/server.c:366:12: branch_false: following ‘false’ branch (when ‘server’ is non-NULL)...
bluez-5.85/emulator/server.c:366:12: branch_false: ...to here
bluez-5.85/emulator/server.c:373:22: call_function: calling ‘open_tcp’ from ‘server_open_tcp’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def163]
bluez-5.85/emulator/server.c:335:17: warning[-Wanalyzer-malloc-leak]: leak of ‘server’
bluez-5.85/emulator/server.c:361:16: enter_function: entry to ‘server_open_tcp’
bluez-5.85/emulator/server.c:365:18: acquire_memory: allocated here
bluez-5.85/emulator/server.c:366:12: branch_false: following ‘false’ branch (when ‘server’ is non-NULL)...
bluez-5.85/emulator/server.c:366:12: branch_false: ...to here
bluez-5.85/emulator/server.c:373:22: call_function: calling ‘open_tcp’ from ‘server_open_tcp’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def164]
bluez-5.85/emulator/server.c:336:17: warning[-Wanalyzer-malloc-leak]: leak of ‘server’
bluez-5.85/emulator/server.c:361:16: enter_function: entry to ‘server_open_tcp’
bluez-5.85/emulator/server.c:365:18: acquire_memory: allocated here
bluez-5.85/emulator/server.c:366:12: branch_false: following ‘false’ branch (when ‘server’ is non-NULL)...
bluez-5.85/emulator/server.c:366:12: branch_false: ...to here
bluez-5.85/emulator/server.c:373:22: call_function: calling ‘open_tcp’ from ‘server_open_tcp’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def165]
bluez-5.85/emulator/server.c:347:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/emulator/server.c:328:14: acquire_resource: stream socket created here
bluez-5.85/emulator/server.c:329:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
bluez-5.85/emulator/server.c:334:13: branch_false: ...to here
bluez-5.85/emulator/server.c:334:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/server.c:340:9: branch_false: ...to here
bluez-5.85/emulator/server.c:346:13: acquire_resource: socket created here
bluez-5.85/emulator/server.c:346:12: branch_true: following ‘true’ branch...
bluez-5.85/emulator/server.c:347:17: branch_true: ...to here
bluez-5.85/emulator/server.c:347:17: throw: if ‘perror’ throws an exception...
bluez-5.85/emulator/server.c:347:17: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def166]
bluez-5.85/emulator/server.c:347:17: warning[-Wanalyzer-malloc-leak]: leak of ‘server’
bluez-5.85/emulator/server.c:361:16: enter_function: entry to ‘server_open_tcp’
bluez-5.85/emulator/server.c:365:18: acquire_memory: allocated here
bluez-5.85/emulator/server.c:366:12: branch_false: following ‘false’ branch (when ‘server’ is non-NULL)...
bluez-5.85/emulator/server.c:366:12: branch_false: ...to here
bluez-5.85/emulator/server.c:373:22: call_function: calling ‘open_tcp’ from ‘server_open_tcp’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def167]
bluez-5.85/emulator/server.c:348:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/emulator/server.c:328:14: acquire_resource: stream socket created here
bluez-5.85/emulator/server.c:329:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
bluez-5.85/emulator/server.c:334:13: branch_false: ...to here
bluez-5.85/emulator/server.c:334:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/server.c:340:9: branch_false: ...to here
bluez-5.85/emulator/server.c:346:13: acquire_resource: socket created here
bluez-5.85/emulator/server.c:346:12: branch_true: following ‘true’ branch...
bluez-5.85/emulator/server.c:347:17: branch_true: ...to here
bluez-5.85/emulator/server.c:348:17: throw: if ‘close’ throws an exception...
bluez-5.85/emulator/server.c:348:17: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def168]
bluez-5.85/emulator/server.c:348:17: warning[-Wanalyzer-malloc-leak]: leak of ‘server’
bluez-5.85/emulator/server.c:361:16: enter_function: entry to ‘server_open_tcp’
bluez-5.85/emulator/server.c:365:18: acquire_memory: allocated here
bluez-5.85/emulator/server.c:366:12: branch_false: following ‘false’ branch (when ‘server’ is non-NULL)...
bluez-5.85/emulator/server.c:366:12: branch_false: ...to here
bluez-5.85/emulator/server.c:373:22: call_function: calling ‘open_tcp’ from ‘server_open_tcp’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def169]
bluez-5.85/emulator/server.c:353:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/emulator/server.c:328:14: acquire_resource: stream socket created here
bluez-5.85/emulator/server.c:329:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
bluez-5.85/emulator/server.c:334:13: branch_false: ...to here
bluez-5.85/emulator/server.c:334:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/server.c:340:9: branch_false: ...to here
bluez-5.85/emulator/server.c:346:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/server.c:352:13: branch_false: ...to here
bluez-5.85/emulator/server.c:352:12: branch_true: following ‘true’ branch...
bluez-5.85/emulator/server.c:353:17: branch_true: ...to here
bluez-5.85/emulator/server.c:353:17: throw: if ‘perror’ throws an exception...
bluez-5.85/emulator/server.c:353:17: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def170]
bluez-5.85/emulator/server.c:353:17: warning[-Wanalyzer-malloc-leak]: leak of ‘server’
bluez-5.85/emulator/server.c:361:16: enter_function: entry to ‘server_open_tcp’
bluez-5.85/emulator/server.c:365:18: acquire_memory: allocated here
bluez-5.85/emulator/server.c:366:12: branch_false: following ‘false’ branch (when ‘server’ is non-NULL)...
bluez-5.85/emulator/server.c:366:12: branch_false: ...to here
bluez-5.85/emulator/server.c:373:22: call_function: calling ‘open_tcp’ from ‘server_open_tcp’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def171]
bluez-5.85/emulator/server.c:354:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/emulator/server.c:328:14: acquire_resource: stream socket created here
bluez-5.85/emulator/server.c:329:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
bluez-5.85/emulator/server.c:334:13: branch_false: ...to here
bluez-5.85/emulator/server.c:334:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/server.c:340:9: branch_false: ...to here
bluez-5.85/emulator/server.c:346:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/server.c:352:13: branch_false: ...to here
bluez-5.85/emulator/server.c:352:12: branch_true: following ‘true’ branch...
bluez-5.85/emulator/server.c:353:17: branch_true: ...to here
bluez-5.85/emulator/server.c:354:17: throw: if ‘close’ throws an exception...
bluez-5.85/emulator/server.c:354:17: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def172]
bluez-5.85/emulator/server.c:354:17: warning[-Wanalyzer-malloc-leak]: leak of ‘server’
bluez-5.85/emulator/server.c:361:16: enter_function: entry to ‘server_open_tcp’
bluez-5.85/emulator/server.c:365:18: acquire_memory: allocated here
bluez-5.85/emulator/server.c:366:12: branch_false: following ‘false’ branch (when ‘server’ is non-NULL)...
bluez-5.85/emulator/server.c:366:12: branch_false: ...to here
bluez-5.85/emulator/server.c:373:22: call_function: calling ‘open_tcp’ from ‘server_open_tcp’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def173]
bluez-5.85/emulator/smp.c:877:9: warning[-Wanalyzer-malloc-leak]: leak of ‘conn’
bluez-5.85/emulator/smp.c:861:16: acquire_memory: allocated here
bluez-5.85/emulator/smp.c:862:12: branch_false: following ‘false’ branch (when ‘conn’ is non-NULL)...
bluez-5.85/emulator/smp.c:865:9: branch_false: ...to here
bluez-5.85/emulator/smp.c:877:9: throw: if ‘ba2str’ throws an exception...
bluez-5.85/emulator/smp.c:877:9: danger: ‘conn’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def174]
bluez-5.85/emulator/smp.c:878:9: warning[-Wanalyzer-malloc-leak]: leak of ‘conn’
bluez-5.85/emulator/smp.c:861:16: acquire_memory: allocated here
bluez-5.85/emulator/smp.c:862:12: branch_false: following ‘false’ branch (when ‘conn’ is non-NULL)...
bluez-5.85/emulator/smp.c:865:9: branch_false: ...to here
bluez-5.85/emulator/smp.c:878:9: throw: if ‘ba2str’ throws an exception...
bluez-5.85/emulator/smp.c:878:9: danger: ‘conn’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def175]
bluez-5.85/emulator/smp.c:880:9: warning[-Wanalyzer-malloc-leak]: leak of ‘conn’
bluez-5.85/emulator/smp.c:861:16: acquire_memory: allocated here
bluez-5.85/emulator/smp.c:862:12: branch_false: following ‘false’ branch (when ‘conn’ is non-NULL)...
bluez-5.85/emulator/smp.c:865:9: branch_false: ...to here
bluez-5.85/emulator/smp.c:880:9: throw: if ‘bthost_debug’ throws an exception...
bluez-5.85/emulator/smp.c:880:9: danger: ‘conn’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def176]
bluez-5.85/emulator/smp.c:883:9: warning[-Wanalyzer-malloc-leak]: leak of ‘conn’
bluez-5.85/emulator/smp.c:861:16: acquire_memory: allocated here
bluez-5.85/emulator/smp.c:862:12: branch_false: following ‘false’ branch (when ‘conn’ is non-NULL)...
bluez-5.85/emulator/smp.c:865:9: branch_false: ...to here
bluez-5.85/emulator/smp.c:883:9: throw: if ‘bt_crypto_random_bytes’ throws an exception...
bluez-5.85/emulator/smp.c:883:9: danger: ‘conn’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def177]
bluez-5.85/emulator/smp.c:905:23: warning[-Wanalyzer-malloc-leak]: leak of ‘smp’
bluez-5.85/emulator/smp.c:899:15: acquire_memory: allocated here
bluez-5.85/emulator/smp.c:900:12: branch_false: following ‘false’ branch (when ‘smp’ is non-NULL)...
bluez-5.85/emulator/smp.c:900:12: branch_false: ...to here
bluez-5.85/emulator/smp.c:905:23: throw: if ‘bt_crypto_new’ throws an exception...
bluez-5.85/emulator/smp.c:905:23: danger: ‘smp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def178]
bluez-5.85/emulator/vhci.c:50:9: warning[-Wanalyzer-malloc-leak]: leak of ‘vhci’
bluez-5.85/emulator/vhci.c:103:14: enter_function: entry to ‘vhci_open’
bluez-5.85/emulator/vhci.c:111:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:114:9: branch_false: ...to here
bluez-5.85/emulator/vhci.c:117:9: branch_false: following ‘false’ branch (when ‘type != 3’)...
bluez-5.85/emulator/vhci.c:126:13: branch_false: ...to here
bluez-5.85/emulator/vhci.c:126:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:131:9: branch_false: ...to here
bluez-5.85/emulator/vhci.c:133:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:134:25: branch_false: ...to here
bluez-5.85/emulator/vhci.c:133:13: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:135:25: branch_false: ...to here
bluez-5.85/emulator/vhci.c:133:13: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:140:16: branch_false: ...to here
bluez-5.85/emulator/vhci.c:140:16: acquire_memory: allocated here
bluez-5.85/emulator/vhci.c:141:12: branch_false: following ‘false’ branch (when ‘vhci’ is non-NULL)...
bluez-5.85/emulator/vhci.c:141:12: branch_false: ...to here
bluez-5.85/emulator/vhci.c:154:12: branch_true: following ‘true’ branch...
bluez-5.85/emulator/vhci.c:155:17: branch_true: ...to here
bluez-5.85/emulator/vhci.c:155:17: call_function: calling ‘vhci_destroy’ from ‘vhci_open’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def179]
bluez-5.85/emulator/vhci.c:51:9: warning[-Wanalyzer-malloc-leak]: leak of ‘vhci’
bluez-5.85/emulator/vhci.c:103:14: enter_function: entry to ‘vhci_open’
bluez-5.85/emulator/vhci.c:111:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:114:9: branch_false: ...to here
bluez-5.85/emulator/vhci.c:117:9: branch_false: following ‘false’ branch (when ‘type != 3’)...
bluez-5.85/emulator/vhci.c:126:13: branch_false: ...to here
bluez-5.85/emulator/vhci.c:126:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:131:9: branch_false: ...to here
bluez-5.85/emulator/vhci.c:133:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:134:25: branch_false: ...to here
bluez-5.85/emulator/vhci.c:133:13: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:135:25: branch_false: ...to here
bluez-5.85/emulator/vhci.c:133:13: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:140:16: branch_false: ...to here
bluez-5.85/emulator/vhci.c:140:16: acquire_memory: allocated here
bluez-5.85/emulator/vhci.c:141:12: branch_false: following ‘false’ branch (when ‘vhci’ is non-NULL)...
bluez-5.85/emulator/vhci.c:141:12: branch_false: ...to here
bluez-5.85/emulator/vhci.c:154:12: branch_true: following ‘true’ branch...
bluez-5.85/emulator/vhci.c:155:17: branch_true: ...to here
bluez-5.85/emulator/vhci.c:155:17: call_function: calling ‘vhci_destroy’ from ‘vhci_open’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def180]
bluez-5.85/emulator/vhci.c:126:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/vhci", 2050)’
bluez-5.85/emulator/vhci.c:110:14: acquire_resource: opened here
bluez-5.85/emulator/vhci.c:111:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:114:9: branch_false: ...to here
bluez-5.85/emulator/vhci.c:117:9: branch_false: following ‘false’ branch (when ‘type != 3’)...
bluez-5.85/emulator/vhci.c:126:13: branch_false: ...to here
bluez-5.85/emulator/vhci.c:126:13: throw: if ‘write’ throws an exception...
bluez-5.85/emulator/vhci.c:126:13: danger: ‘open("/dev/vhci", 2050)’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def181]
bluez-5.85/emulator/vhci.c:127:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/vhci", 2050)’
bluez-5.85/emulator/vhci.c:110:14: acquire_resource: opened here
bluez-5.85/emulator/vhci.c:111:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:114:9: branch_false: ...to here
bluez-5.85/emulator/vhci.c:117:9: branch_false: following ‘false’ branch (when ‘type != 3’)...
bluez-5.85/emulator/vhci.c:126:13: branch_false: ...to here
bluez-5.85/emulator/vhci.c:126:12: branch_true: following ‘true’ branch...
bluez-5.85/emulator/vhci.c:127:17: branch_true: ...to here
bluez-5.85/emulator/vhci.c:127:17: danger: ‘open("/dev/vhci", 2050)’ leaks here; was opened at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def182]
bluez-5.85/emulator/vhci.c:134:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/vhci", 2050)’
bluez-5.85/emulator/vhci.c:110:14: acquire_resource: opened here
bluez-5.85/emulator/vhci.c:111:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:114:9: branch_false: ...to here
bluez-5.85/emulator/vhci.c:117:9: branch_false: following ‘false’ branch (when ‘type != 3’)...
bluez-5.85/emulator/vhci.c:126:13: branch_false: ...to here
bluez-5.85/emulator/vhci.c:126:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:131:9: branch_false: ...to here
bluez-5.85/emulator/vhci.c:133:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:134:25: branch_false: ...to here
bluez-5.85/emulator/vhci.c:133:13: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:135:25: branch_false: ...to here
bluez-5.85/emulator/vhci.c:133:13: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:140:16: branch_false: ...to here
bluez-5.85/emulator/vhci.c:141:12: branch_true: following ‘true’ branch (when ‘vhci’ is NULL)...
bluez-5.85/emulator/vhci.c:142:17: branch_true: ...to here
bluez-5.85/emulator/vhci.c:134:25: danger: ‘open("/dev/vhci", 2050)’ leaks here; was opened at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def183]
bluez-5.85/emulator/vhci.c:136:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/vhci", 2050)’
bluez-5.85/emulator/vhci.c:110:14: acquire_resource: opened here
bluez-5.85/emulator/vhci.c:111:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:114:9: branch_false: ...to here
bluez-5.85/emulator/vhci.c:117:9: branch_false: following ‘false’ branch (when ‘type != 3’)...
bluez-5.85/emulator/vhci.c:126:13: branch_false: ...to here
bluez-5.85/emulator/vhci.c:126:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:131:9: branch_false: ...to here
bluez-5.85/emulator/vhci.c:136:17: danger: ‘open("/dev/vhci", 2050)’ leaks here; was opened at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def184]
bluez-5.85/emulator/vhci.c:149:20: warning[-Wanalyzer-malloc-leak]: leak of ‘vhci’
bluez-5.85/emulator/vhci.c:111:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:114:9: branch_false: ...to here
bluez-5.85/emulator/vhci.c:117:9: branch_false: following ‘false’ branch (when ‘type != 3’)...
bluez-5.85/emulator/vhci.c:126:13: branch_false: ...to here
bluez-5.85/emulator/vhci.c:126:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:131:9: branch_false: ...to here
bluez-5.85/emulator/vhci.c:133:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:134:25: branch_false: ...to here
bluez-5.85/emulator/vhci.c:133:13: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:135:25: branch_false: ...to here
bluez-5.85/emulator/vhci.c:133:13: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:140:16: branch_false: ...to here
bluez-5.85/emulator/vhci.c:140:16: acquire_memory: allocated here
bluez-5.85/emulator/vhci.c:141:12: branch_false: following ‘false’ branch (when ‘vhci’ is non-NULL)...
bluez-5.85/emulator/vhci.c:141:12: branch_false: ...to here
bluez-5.85/emulator/vhci.c:149:20: throw: if ‘io_new’ throws an exception...
bluez-5.85/emulator/vhci.c:149:20: danger: ‘vhci’ leaks here; was allocated at [(13)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def185]
bluez-5.85/emulator/vhci.c:151:9: warning[-Wanalyzer-malloc-leak]: leak of ‘vhci’
bluez-5.85/emulator/vhci.c:111:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:114:9: branch_false: ...to here
bluez-5.85/emulator/vhci.c:117:9: branch_false: following ‘false’ branch (when ‘type != 3’)...
bluez-5.85/emulator/vhci.c:126:13: branch_false: ...to here
bluez-5.85/emulator/vhci.c:126:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:131:9: branch_false: ...to here
bluez-5.85/emulator/vhci.c:133:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:134:25: branch_false: ...to here
bluez-5.85/emulator/vhci.c:133:13: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:135:25: branch_false: ...to here
bluez-5.85/emulator/vhci.c:133:13: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:140:16: branch_false: ...to here
bluez-5.85/emulator/vhci.c:140:16: acquire_memory: allocated here
bluez-5.85/emulator/vhci.c:141:12: branch_false: following ‘false’ branch (when ‘vhci’ is non-NULL)...
bluez-5.85/emulator/vhci.c:141:12: branch_false: ...to here
bluez-5.85/emulator/vhci.c:151:9: throw: if ‘io_set_close_on_destroy’ throws an exception...
bluez-5.85/emulator/vhci.c:151:9: danger: ‘vhci’ leaks here; was allocated at [(13)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def186]
bluez-5.85/emulator/vhci.c:153:23: warning[-Wanalyzer-malloc-leak]: leak of ‘vhci’
bluez-5.85/emulator/vhci.c:111:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:114:9: branch_false: ...to here
bluez-5.85/emulator/vhci.c:117:9: branch_false: following ‘false’ branch (when ‘type != 3’)...
bluez-5.85/emulator/vhci.c:126:13: branch_false: ...to here
bluez-5.85/emulator/vhci.c:126:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:131:9: branch_false: ...to here
bluez-5.85/emulator/vhci.c:133:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:134:25: branch_false: ...to here
bluez-5.85/emulator/vhci.c:133:13: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:135:25: branch_false: ...to here
bluez-5.85/emulator/vhci.c:133:13: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:140:16: branch_false: ...to here
bluez-5.85/emulator/vhci.c:140:16: acquire_memory: allocated here
bluez-5.85/emulator/vhci.c:141:12: branch_false: following ‘false’ branch (when ‘vhci’ is non-NULL)...
bluez-5.85/emulator/vhci.c:141:12: branch_false: ...to here
bluez-5.85/emulator/vhci.c:153:23: throw: if ‘btdev_create’ throws an exception...
bluez-5.85/emulator/vhci.c:153:23: danger: ‘vhci’ leaks here; was allocated at [(13)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def187]
bluez-5.85/emulator/vhci.c:159:9: warning[-Wanalyzer-malloc-leak]: leak of ‘vhci’
bluez-5.85/emulator/vhci.c:111:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:114:9: branch_false: ...to here
bluez-5.85/emulator/vhci.c:117:9: branch_false: following ‘false’ branch (when ‘type != 3’)...
bluez-5.85/emulator/vhci.c:126:13: branch_false: ...to here
bluez-5.85/emulator/vhci.c:126:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:131:9: branch_false: ...to here
bluez-5.85/emulator/vhci.c:133:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:134:25: branch_false: ...to here
bluez-5.85/emulator/vhci.c:133:13: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:135:25: branch_false: ...to here
bluez-5.85/emulator/vhci.c:133:13: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:140:16: branch_false: ...to here
bluez-5.85/emulator/vhci.c:140:16: acquire_memory: allocated here
bluez-5.85/emulator/vhci.c:141:12: branch_false: following ‘false’ branch (when ‘vhci’ is non-NULL)...
bluez-5.85/emulator/vhci.c:141:12: branch_false: ...to here
bluez-5.85/emulator/vhci.c:154:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:159:9: branch_false: ...to here
bluez-5.85/emulator/vhci.c:159:9: throw: if ‘btdev_set_send_handler’ throws an exception...
bluez-5.85/emulator/vhci.c:159:9: danger: ‘vhci’ leaks here; was allocated at [(13)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def188]
bluez-5.85/emulator/vhci.c:211:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&path, 2)’
bluez-5.85/emulator/vhci.c:201:12: branch_false: following ‘false’ branch (when ‘vhci’ is non-NULL)...
bluez-5.85/emulator/vhci.c:204:9: branch_false: ...to here
bluez-5.85/emulator/vhci.c:207:14: acquire_resource: opened here
bluez-5.85/emulator/vhci.c:208:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:211:13: branch_false: ...to here
bluez-5.85/emulator/vhci.c:211:13: throw: if ‘write’ throws an exception...
bluez-5.85/emulator/vhci.c:211:13: danger: ‘open(&path, 2)’ leaks here; was opened at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def189]
bluez-5.85/emulator/vhci.c:217:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&path, 2)’
bluez-5.85/emulator/vhci.c:201:12: branch_false: following ‘false’ branch (when ‘vhci’ is non-NULL)...
bluez-5.85/emulator/vhci.c:204:9: branch_false: ...to here
bluez-5.85/emulator/vhci.c:207:14: acquire_resource: opened here
bluez-5.85/emulator/vhci.c:208:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:211:13: branch_false: ...to here
bluez-5.85/emulator/vhci.c:217:9: danger: ‘open(&path, 2)’ leaks here; was opened at [(3)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def190]
bluez-5.85/emulator/vhci.c:295:25: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir("/sys/class/devcoredump")’
bluez-5.85/emulator/vhci.c:291:15: acquire_memory: allocated here
bluez-5.85/emulator/vhci.c:292:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:292:12: branch_false: ...to here
bluez-5.85/emulator/vhci.c:295:25: throw: if ‘readdir’ throws an exception...
bluez-5.85/emulator/vhci.c:295:25: danger: ‘opendir("/sys/class/devcoredump")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def191]
bluez-5.85/emulator/vhci.c:321:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&filename, 2)’
bluez-5.85/emulator/vhci.c:292:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:292:12: branch_false: ...to here
bluez-5.85/emulator/vhci.c:295:16: branch_true: following ‘true’ branch...
bluez-5.85/emulator/vhci.c:296:21: branch_true: ...to here
bluez-5.85/emulator/vhci.c:296:20: branch_true: following ‘true’ branch...
bluez-5.85/emulator/vhci.c:300:12: branch_true: ...to here
bluez-5.85/emulator/vhci.c:300:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:305:52: branch_false: ...to here
bluez-5.85/emulator/vhci.c:306:15: acquire_resource: opened here
bluez-5.85/emulator/vhci.c:307:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:312:15: branch_false: ...to here
bluez-5.85/emulator/vhci.c:313:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
bluez-5.85/emulator/vhci.c:321:13: branch_false: ...to here
bluez-5.85/emulator/vhci.c:321:13: throw: if ‘write’ throws an exception...
bluez-5.85/emulator/vhci.c:321:13: danger: ‘open(&filename, 2)’ leaks here; was opened at [(10)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def192]
bluez-5.85/emulator/vhci.c:327:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&filename, 2)’
bluez-5.85/emulator/vhci.c:292:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:292:12: branch_false: ...to here
bluez-5.85/emulator/vhci.c:295:16: branch_true: following ‘true’ branch...
bluez-5.85/emulator/vhci.c:296:21: branch_true: ...to here
bluez-5.85/emulator/vhci.c:296:20: branch_true: following ‘true’ branch...
bluez-5.85/emulator/vhci.c:300:12: branch_true: ...to here
bluez-5.85/emulator/vhci.c:300:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:305:52: branch_false: ...to here
bluez-5.85/emulator/vhci.c:306:15: acquire_resource: opened here
bluez-5.85/emulator/vhci.c:307:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:312:15: branch_false: ...to here
bluez-5.85/emulator/vhci.c:313:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
bluez-5.85/emulator/vhci.c:321:13: branch_false: ...to here
bluez-5.85/emulator/vhci.c:321:12: branch_false: following ‘false’ branch...
bluez-5.85/emulator/vhci.c:326:1: branch_false: ...to here
bluez-5.85/emulator/vhci.c:327:9: danger: ‘open(&filename, 2)’ leaks here; was opened at [(10)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def193]
bluez-5.85/gdbus/client.c:493:21: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
bluez-5.85/gdbus/client.c:1204:13: enter_function: entry to 'parse_interfaces'
bluez-5.85/gdbus/client.c:1214:16: branch_true: following 'true' branch...
bluez-5.85/gdbus/client.c:1218:17: branch_true: ...to here
bluez-5.85/gdbus/client.c:1220:20: branch_false: following 'false' branch...
bluez-5.85/gdbus/client.c:1223:17: branch_false: ...to here
bluez-5.85/gdbus/client.c:1226:17: call_function: calling 'parse_properties' from 'parse_interfaces'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def194]
bluez-5.85/gdbus/object.c:1405:14: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
bluez-5.85/gdbus/object.c:1750:10: enter_function: entry to 'g_dbus_emit_signal'
bluez-5.85/gdbus/object.c:1757:9: acquire_resource: 'va_start' called here
bluez-5.85/gdbus/object.c:1759:18: call_function: calling 'g_dbus_emit_signal_valist' from 'g_dbus_emit_signal'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def195]
bluez-5.85/gdbus/object.c:1424:43: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
bluez-5.85/gdbus/object.c:1750:10: enter_function: entry to 'g_dbus_emit_signal'
bluez-5.85/gdbus/object.c:1757:9: acquire_resource: 'va_start' called here
bluez-5.85/gdbus/object.c:1759:18: call_function: calling 'g_dbus_emit_signal_valist' from 'g_dbus_emit_signal'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def196]
bluez-5.85/gdbus/object.c:1425:29: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
bluez-5.85/gdbus/object.c:1750:10: enter_function: entry to 'g_dbus_emit_signal'
bluez-5.85/gdbus/object.c:1757:9: acquire_resource: 'va_start' called here
bluez-5.85/gdbus/object.c:1759:18: call_function: calling 'g_dbus_emit_signal_valist' from 'g_dbus_emit_signal'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def197]
bluez-5.85/gdbus/object.c:1533:13: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
bluez-5.85/gdbus/object.c:1707:10: enter_function: entry to 'g_dbus_send_error'
bluez-5.85/gdbus/object.c:1713:9: acquire_resource: 'va_start' called here
bluez-5.85/gdbus/object.c:1715:18: call_function: calling 'g_dbus_send_error_valist' from 'g_dbus_send_error'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def198]
bluez-5.85/gdbus/object.c:1541:16: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
bluez-5.85/gdbus/object.c:1707:10: enter_function: entry to 'g_dbus_send_error'
bluez-5.85/gdbus/object.c:1713:9: acquire_resource: 'va_start' called here
bluez-5.85/gdbus/object.c:1715:18: call_function: calling 'g_dbus_send_error_valist' from 'g_dbus_send_error'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def199]
bluez-5.85/gdbus/object.c:1565:13: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
bluez-5.85/gdbus/object.c:1735:10: enter_function: entry to 'g_dbus_send_reply'
bluez-5.85/gdbus/object.c:1741:9: acquire_resource: 'va_start' called here
bluez-5.85/gdbus/object.c:1743:18: call_function: calling 'g_dbus_send_reply_valist' from 'g_dbus_send_reply'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def200]
bluez-5.85/gdbus/object.c:1568:17: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
bluez-5.85/gdbus/object.c:1735:10: enter_function: entry to 'g_dbus_send_reply'
bluez-5.85/gdbus/object.c:1741:9: acquire_resource: 'va_start' called here
bluez-5.85/gdbus/object.c:1743:18: call_function: calling 'g_dbus_send_reply_valist' from 'g_dbus_send_reply'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def201]
bluez-5.85/gdbus/object.c:1572:13: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
bluez-5.85/gdbus/object.c:1735:10: enter_function: entry to 'g_dbus_send_reply'
bluez-5.85/gdbus/object.c:1741:9: acquire_resource: 'va_start' called here
bluez-5.85/gdbus/object.c:1743:18: call_function: calling 'g_dbus_send_reply_valist' from 'g_dbus_send_reply'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def202]
bluez-5.85/gdbus/object.c:1778:18: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
bluez-5.85/gdbus/object.c:1750:10: enter_function: entry to 'g_dbus_emit_signal'
bluez-5.85/gdbus/object.c:1757:9: acquire_resource: 'va_start' called here
bluez-5.85/gdbus/object.c:1759:18: call_function: calling 'g_dbus_emit_signal_valist' from 'g_dbus_emit_signal'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def203]
bluez-5.85/gdbus/object.c:1784:15: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
bluez-5.85/gdbus/object.c:1750:10: enter_function: entry to 'g_dbus_emit_signal'
bluez-5.85/gdbus/object.c:1757:9: acquire_resource: 'va_start' called here
bluez-5.85/gdbus/object.c:1759:18: call_function: calling 'g_dbus_emit_signal_valist' from 'g_dbus_emit_signal'
Error: GCC_ANALYZER_WARNING (CWE-131): [#def204]
bluez-5.85/gobex/gobex-apparam.c:43:15: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
bluez-5.85/gobex/gobex-apparam.c:174:15: enter_function: entry to ‘g_obex_apparam_set_uint8’
bluez-5.85/gobex/gobex-apparam.c:179:16: call_function: calling ‘g_obex_apparam_set_bytes’ from ‘g_obex_apparam_set_uint8’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def205]
bluez-5.85/gobex/gobex-header.c:95:9: warning[-Wanalyzer-null-argument]: use of NULL ‘utf16’ where non-null expected
bluez-5.85/gobex/gobex-header.c:105:8: enter_function: entry to ‘g_obex_header_encode’
bluez-5.85/gobex/gobex-header.c:116:12: branch_false: following ‘false’ branch...
bluez-5.85/gobex/gobex-header.c:119:15: call_function: inlined call to ‘put_bytes’ from ‘g_obex_header_encode’
bluez-5.85/gobex/gobex-header.c:123:29: call_function: calling ‘utf8_to_utf16’ from ‘g_obex_header_encode’
bluez-5.85/gobex/gobex-header.c:123:29: return_function: returning to ‘g_obex_header_encode’ from ‘utf8_to_utf16’
bluez-5.85/gobex/gobex-header.c:124:20: branch_false: following ‘false’ branch...
bluez-5.85/gobex/gobex-header.c:129:17: release_memory: ‘utf16’ is NULL
bluez-5.85/gobex/gobex-header.c:129:17: call_function: inlined call to ‘put_bytes’ from ‘g_obex_header_encode’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def206]
bluez-5.85/gobex/gobex-header.c:563:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘hdr’
bluez-5.85/gobex/gobex-header.c:523:9: enter_function: entry to ‘g_obex_header_create_list’
bluez-5.85/gobex/gobex-header.c:533:16: branch_true: following ‘true’ branch (when ‘id != 0’)...
bluez-5.85/gobex/gobex-header.c:540:25: branch_true: ...to here
bluez-5.85/gobex/gobex-header.c:543:31: call_function: calling ‘g_obex_header_new_unicode’ from ‘g_obex_header_create_list’
bluez-5.85/gobex/gobex-header.c:543:31: return_function: returning to ‘g_obex_header_create_list’ from ‘g_obex_header_new_unicode’
bluez-5.85/gobex/gobex-header.c:563:31: danger: dereference of NULL ‘hdr’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def207]
bluez-5.85/gobex/gobex-packet.c:223:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
bluez-5.85/gobex/gobex-packet.c:236:14: enter_function: entry to ‘g_obex_packet_new’
bluez-5.85/gobex/gobex-packet.c:244:9: acquire_resource: ‘va_start’ called here
bluez-5.85/gobex/gobex-packet.c:245:15: call_function: calling ‘g_obex_packet_new_valist’ from ‘g_obex_packet_new’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def208]
bluez-5.85/gobex/gobex-packet.c:225:15: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
bluez-5.85/gobex/gobex-packet.c:236:14: enter_function: entry to ‘g_obex_packet_new’
bluez-5.85/gobex/gobex-packet.c:244:9: acquire_resource: ‘va_start’ called here
bluez-5.85/gobex/gobex-packet.c:245:15: call_function: calling ‘g_obex_packet_new_valist’ from ‘g_obex_packet_new’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def209]
bluez-5.85/gobex/gobex-transfer.c:299:15: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
bluez-5.85/gobex/gobex-transfer.c:298:9: acquire_resource: ‘va_start’ called here
bluez-5.85/gobex/gobex-transfer.c:299:15: throw: if ‘g_obex_packet_new_valist’ throws an exception...
bluez-5.85/gobex/gobex-transfer.c:299:15: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def210]
bluez-5.85/gobex/gobex-transfer.c:332:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
bluez-5.85/gobex/gobex-transfer.c:406:7: enter_function: entry to ‘g_obex_put_rsp’
bluez-5.85/gobex/gobex-transfer.c:420:9: acquire_resource: ‘va_start’ called here
bluez-5.85/gobex/gobex-transfer.c:421:9: call_function: calling ‘transfer_put_req_first’ from ‘g_obex_put_rsp’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def211]
bluez-5.85/gobex/gobex-transfer.c:334:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
bluez-5.85/gobex/gobex-transfer.c:406:7: enter_function: entry to ‘g_obex_put_rsp’
bluez-5.85/gobex/gobex-transfer.c:420:9: acquire_resource: ‘va_start’ called here
bluez-5.85/gobex/gobex-transfer.c:421:9: call_function: calling ‘transfer_put_req_first’ from ‘g_obex_put_rsp’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def212]
bluez-5.85/gobex/gobex-transfer.c:340:16: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
bluez-5.85/gobex/gobex-transfer.c:406:7: enter_function: entry to ‘g_obex_put_rsp’
bluez-5.85/gobex/gobex-transfer.c:420:9: acquire_resource: ‘va_start’ called here
bluez-5.85/gobex/gobex-transfer.c:421:9: call_function: calling ‘transfer_put_req_first’ from ‘g_obex_put_rsp’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def213]
bluez-5.85/gobex/gobex-transfer.c:344:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
bluez-5.85/gobex/gobex-transfer.c:406:7: enter_function: entry to ‘g_obex_put_rsp’
bluez-5.85/gobex/gobex-transfer.c:420:9: acquire_resource: ‘va_start’ called here
bluez-5.85/gobex/gobex-transfer.c:421:9: call_function: calling ‘transfer_put_req_first’ from ‘g_obex_put_rsp’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def214]
bluez-5.85/gobex/gobex-transfer.c:348:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
bluez-5.85/gobex/gobex-transfer.c:406:7: enter_function: entry to ‘g_obex_put_rsp’
bluez-5.85/gobex/gobex-transfer.c:420:9: acquire_resource: ‘va_start’ called here
bluez-5.85/gobex/gobex-transfer.c:421:9: call_function: calling ‘transfer_put_req_first’ from ‘g_obex_put_rsp’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def215]
bluez-5.85/gobex/gobex-transfer.c:361:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
bluez-5.85/gobex/gobex-transfer.c:406:7: enter_function: entry to ‘g_obex_put_rsp’
bluez-5.85/gobex/gobex-transfer.c:420:9: acquire_resource: ‘va_start’ called here
bluez-5.85/gobex/gobex-transfer.c:421:9: call_function: calling ‘transfer_put_req_first’ from ‘g_obex_put_rsp’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def216]
bluez-5.85/gobex/gobex-transfer.c:365:15: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
bluez-5.85/gobex/gobex-transfer.c:406:7: enter_function: entry to ‘g_obex_put_rsp’
bluez-5.85/gobex/gobex-transfer.c:420:9: acquire_resource: ‘va_start’ called here
bluez-5.85/gobex/gobex-transfer.c:421:9: call_function: calling ‘transfer_put_req_first’ from ‘g_obex_put_rsp’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def217]
bluez-5.85/gobex/gobex-transfer.c:478:15: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
bluez-5.85/gobex/gobex-transfer.c:477:9: acquire_resource: ‘va_start’ called here
bluez-5.85/gobex/gobex-transfer.c:478:15: throw: if ‘g_obex_packet_new_valist’ throws an exception...
bluez-5.85/gobex/gobex-transfer.c:478:15: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def218]
bluez-5.85/gobex/gobex-transfer.c:620:15: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
bluez-5.85/gobex/gobex-transfer.c:619:9: acquire_resource: ‘va_start’ called here
bluez-5.85/gobex/gobex-transfer.c:620:15: throw: if ‘g_obex_packet_new_valist’ throws an exception...
bluez-5.85/gobex/gobex-transfer.c:620:15: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def219]
bluez-5.85/gobex/gobex.c:1588:15: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
bluez-5.85/gobex/gobex.c:1587:9: acquire_resource: ‘va_start’ called here
bluez-5.85/gobex/gobex.c:1588:15: throw: if ‘g_obex_packet_new_valist’ throws an exception...
bluez-5.85/gobex/gobex.c:1588:15: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def220]
bluez-5.85/lib/bluetooth/hci.c:895:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'sk'
bluez-5.85/lib/bluetooth/hci.c:924:5: enter_function: entry to 'hci_get_route'
bluez-5.85/lib/bluetooth/hci.c:931:26: call_function: calling 'hci_for_each_dev' from 'hci_get_route'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def221]
bluez-5.85/lib/bluetooth/sdp.c:350:25: warning[-Wanalyzer-malloc-leak]: leak of 'dtds'
bluez-5.85/lib/bluetooth/sdp.c:4956:6: enter_function: entry to 'sdp_add_lang_attr'
bluez-5.85/lib/bluetooth/sdp.c:4965:17: call_function: calling 'sdp_list_append' from 'sdp_add_lang_attr'
bluez-5.85/lib/bluetooth/sdp.c:4965:17: return_function: returning to 'sdp_add_lang_attr' from 'sdp_list_append'
bluez-5.85/lib/bluetooth/sdp.c:4966:9: call_function: calling 'sdp_set_lang_attr' from 'sdp_add_lang_attr'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def222]
bluez-5.85/lib/bluetooth/sdp.c:350:25: warning[-Wanalyzer-malloc-leak]: leak of 'lengths'
bluez-5.85/lib/bluetooth/sdp.c:4800:5: enter_function: entry to 'sdp_set_supp_feat'
bluez-5.85/lib/bluetooth/sdp.c:4809:12: branch_false: following 'false' branch (when 'seqDTDs' is non-NULL)...
bluez-5.85/lib/bluetooth/sdp.c:4811:19: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4812:12: branch_false: following 'false' branch (when 'seqVals' is non-NULL)...
bluez-5.85/lib/bluetooth/sdp.c:4812:12: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4817:29: branch_true: following 'true' branch (when 'p' is non-NULL)...
bluez-5.85/lib/bluetooth/sdp.c:4822:37: branch_true: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4822:24: call_function: inlined call to 'sdp_list_len' from 'sdp_set_supp_feat'
bluez-5.85/lib/bluetooth/sdp.c:4823:24: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4824:20: branch_false: following 'false' branch (when 'dtds' is non-NULL)...
bluez-5.85/lib/bluetooth/sdp.c:4826:24: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4827:20: branch_false: following 'false' branch (when 'vals' is non-NULL)...
bluez-5.85/lib/bluetooth/sdp.c:4831:34: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4831:27: acquire_memory: allocated here
bluez-5.85/lib/bluetooth/sdp.c:4832:20: branch_false: following 'false' branch (when 'lengths' is non-NULL)...
bluez-5.85/lib/bluetooth/sdp.c:4832:20: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4837:42: branch_false: following 'false' branch (when 'r' is NULL)...
bluez-5.85/lib/bluetooth/sdp.c:4863:24: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4863:24: call_function: calling 'sdp_seq_alloc_with_length' from 'sdp_set_supp_feat'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def223]
bluez-5.85/lib/bluetooth/sdp.c:350:25: warning[-Wanalyzer-malloc-leak]: leak of 'reqbuf'
bluez-5.85/lib/bluetooth/sdp.c:3572:15: enter_function: entry to 'sdp_service_attr_req'
bluez-5.85/lib/bluetooth/sdp.c:3588:12: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:3593:9: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:3595:18: acquire_memory: allocated here
bluez-5.85/lib/bluetooth/sdp.c:3597:12: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:3602:9: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:3618:18: call_function: inlined call to 'gen_attridseq_pdu' from 'sdp_service_attr_req'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def224]
bluez-5.85/lib/bluetooth/sdp.c:350:25: warning[-Wanalyzer-malloc-leak]: leak of 'rspbuf'
bluez-5.85/lib/bluetooth/sdp.c:3572:15: enter_function: entry to 'sdp_service_attr_req'
bluez-5.85/lib/bluetooth/sdp.c:3588:12: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:3593:9: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:3596:18: acquire_memory: allocated here
bluez-5.85/lib/bluetooth/sdp.c:3597:12: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:3602:9: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:3618:18: call_function: inlined call to 'gen_attridseq_pdu' from 'sdp_service_attr_req'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def225]
bluez-5.85/lib/bluetooth/sdp.c:350:25: warning[-Wanalyzer-malloc-leak]: leak of 'seqDTDs'
bluez-5.85/lib/bluetooth/sdp.c:4800:5: enter_function: entry to 'sdp_set_supp_feat'
bluez-5.85/lib/bluetooth/sdp.c:4808:19: acquire_memory: allocated here
bluez-5.85/lib/bluetooth/sdp.c:4809:12: branch_false: following 'false' branch (when 'seqDTDs' is non-NULL)...
bluez-5.85/lib/bluetooth/sdp.c:4811:19: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4812:12: branch_false: following 'false' branch (when 'seqVals' is non-NULL)...
bluez-5.85/lib/bluetooth/sdp.c:4812:12: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4872:20: call_function: calling 'sdp_seq_alloc' from 'sdp_set_supp_feat'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def226]
bluez-5.85/lib/bluetooth/sdp.c:350:25: warning[-Wanalyzer-malloc-leak]: leak of 'seqVals'
bluez-5.85/lib/bluetooth/sdp.c:4800:5: enter_function: entry to 'sdp_set_supp_feat'
bluez-5.85/lib/bluetooth/sdp.c:4809:12: branch_false: following 'false' branch (when 'seqDTDs' is non-NULL)...
bluez-5.85/lib/bluetooth/sdp.c:4811:19: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4811:19: acquire_memory: allocated here
bluez-5.85/lib/bluetooth/sdp.c:4812:12: branch_false: following 'false' branch (when 'seqVals' is non-NULL)...
bluez-5.85/lib/bluetooth/sdp.c:4812:12: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4872:20: call_function: calling 'sdp_seq_alloc' from 'sdp_set_supp_feat'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def227]
bluez-5.85/lib/bluetooth/sdp.c:350:25: warning[-Wanalyzer-malloc-leak]: leak of 'types'
bluez-5.85/lib/bluetooth/sdp.c:3572:15: enter_function: entry to 'sdp_service_attr_req'
bluez-5.85/lib/bluetooth/sdp.c:3588:12: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:3593:9: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:3597:12: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:3602:9: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:3618:18: call_function: inlined call to 'gen_attridseq_pdu' from 'sdp_service_attr_req'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def228]
bluez-5.85/lib/bluetooth/sdp.c:350:25: warning[-Wanalyzer-malloc-leak]: leak of 'vals'
bluez-5.85/lib/bluetooth/sdp.c:4800:5: enter_function: entry to 'sdp_set_supp_feat'
bluez-5.85/lib/bluetooth/sdp.c:4809:12: branch_false: following 'false' branch (when 'seqDTDs' is non-NULL)...
bluez-5.85/lib/bluetooth/sdp.c:4811:19: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4812:12: branch_false: following 'false' branch (when 'seqVals' is non-NULL)...
bluez-5.85/lib/bluetooth/sdp.c:4812:12: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4817:29: branch_true: following 'true' branch (when 'p' is non-NULL)...
bluez-5.85/lib/bluetooth/sdp.c:4822:37: branch_true: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4822:24: call_function: inlined call to 'sdp_list_len' from 'sdp_set_supp_feat'
bluez-5.85/lib/bluetooth/sdp.c:4823:24: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4824:20: branch_false: following 'false' branch (when 'dtds' is non-NULL)...
bluez-5.85/lib/bluetooth/sdp.c:4826:24: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4826:24: acquire_memory: allocated here
bluez-5.85/lib/bluetooth/sdp.c:4827:20: branch_false: following 'false' branch (when 'vals' is non-NULL)...
bluez-5.85/lib/bluetooth/sdp.c:4831:34: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4832:20: branch_false: following 'false' branch (when 'lengths' is non-NULL)...
bluez-5.85/lib/bluetooth/sdp.c:4832:20: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4837:42: branch_false: following 'false' branch (when 'r' is NULL)...
bluez-5.85/lib/bluetooth/sdp.c:4863:24: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4863:24: call_function: calling 'sdp_seq_alloc_with_length' from 'sdp_set_supp_feat'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def229]
bluez-5.85/lib/bluetooth/sdp.c:350:25: warning[-Wanalyzer-malloc-leak]: leak of 'values'
bluez-5.85/lib/bluetooth/sdp.c:4956:6: enter_function: entry to 'sdp_add_lang_attr'
bluez-5.85/lib/bluetooth/sdp.c:4965:17: call_function: calling 'sdp_list_append' from 'sdp_add_lang_attr'
bluez-5.85/lib/bluetooth/sdp.c:4965:17: return_function: returning to 'sdp_add_lang_attr' from 'sdp_list_append'
bluez-5.85/lib/bluetooth/sdp.c:4966:9: call_function: calling 'sdp_set_lang_attr' from 'sdp_add_lang_attr'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def230]
bluez-5.85/lib/bluetooth/sdp.c:425:38: warning[-Wanalyzer-malloc-leak]: leak of 'dtds'
bluez-5.85/lib/bluetooth/sdp.c:4956:6: enter_function: entry to 'sdp_add_lang_attr'
bluez-5.85/lib/bluetooth/sdp.c:4965:17: call_function: calling 'sdp_list_append' from 'sdp_add_lang_attr'
bluez-5.85/lib/bluetooth/sdp.c:4965:17: return_function: returning to 'sdp_add_lang_attr' from 'sdp_list_append'
bluez-5.85/lib/bluetooth/sdp.c:4966:9: call_function: calling 'sdp_set_lang_attr' from 'sdp_add_lang_attr'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def231]
bluez-5.85/lib/bluetooth/sdp.c:425:38: warning[-Wanalyzer-malloc-leak]: leak of 'reqbuf'
bluez-5.85/lib/bluetooth/sdp.c:4420:5: enter_function: entry to 'sdp_service_search_attr_req'
bluez-5.85/lib/bluetooth/sdp.c:4436:12: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4441:9: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4443:18: acquire_memory: allocated here
bluez-5.85/lib/bluetooth/sdp.c:4445:12: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4452:9: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4459:18: call_function: inlined call to 'gen_searchseq_pdu' from 'sdp_service_search_attr_req'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def232]
bluez-5.85/lib/bluetooth/sdp.c:425:38: warning[-Wanalyzer-malloc-leak]: leak of 'rspbuf'
bluez-5.85/lib/bluetooth/sdp.c:4420:5: enter_function: entry to 'sdp_service_search_attr_req'
bluez-5.85/lib/bluetooth/sdp.c:4436:12: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4441:9: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4444:18: acquire_memory: allocated here
bluez-5.85/lib/bluetooth/sdp.c:4445:12: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4452:9: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4459:18: call_function: inlined call to 'gen_searchseq_pdu' from 'sdp_service_search_attr_req'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def233]
bluez-5.85/lib/bluetooth/sdp.c:425:38: warning[-Wanalyzer-malloc-leak]: leak of 'types'
bluez-5.85/lib/bluetooth/sdp.c:4041:5: enter_function: entry to 'sdp_service_search_attr_async'
bluez-5.85/lib/bluetooth/sdp.c:4048:12: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4075:18: call_function: inlined call to 'gen_searchseq_pdu' from 'sdp_service_search_attr_async'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def234]
bluez-5.85/lib/bluetooth/sdp.c:425:38: warning[-Wanalyzer-malloc-leak]: leak of 'values'
bluez-5.85/lib/bluetooth/sdp.c:4041:5: enter_function: entry to 'sdp_service_search_attr_async'
bluez-5.85/lib/bluetooth/sdp.c:4048:12: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4075:18: call_function: inlined call to 'gen_searchseq_pdu' from 'sdp_service_search_attr_async'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def235]
bluez-5.85/lib/bluetooth/sdp.c:440:17: warning[-Wanalyzer-malloc-leak]: leak of 'dtds'
bluez-5.85/lib/bluetooth/sdp.c:4956:6: enter_function: entry to 'sdp_add_lang_attr'
bluez-5.85/lib/bluetooth/sdp.c:4965:17: call_function: calling 'sdp_list_append' from 'sdp_add_lang_attr'
bluez-5.85/lib/bluetooth/sdp.c:4965:17: return_function: returning to 'sdp_add_lang_attr' from 'sdp_list_append'
bluez-5.85/lib/bluetooth/sdp.c:4966:9: call_function: calling 'sdp_set_lang_attr' from 'sdp_add_lang_attr'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def236]
bluez-5.85/lib/bluetooth/sdp.c:440:17: warning[-Wanalyzer-malloc-leak]: leak of 'reqbuf'
bluez-5.85/lib/bluetooth/sdp.c:4420:5: enter_function: entry to 'sdp_service_search_attr_req'
bluez-5.85/lib/bluetooth/sdp.c:4436:12: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4441:9: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4443:18: acquire_memory: allocated here
bluez-5.85/lib/bluetooth/sdp.c:4445:12: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4452:9: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4459:18: call_function: inlined call to 'gen_searchseq_pdu' from 'sdp_service_search_attr_req'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def237]
bluez-5.85/lib/bluetooth/sdp.c:440:17: warning[-Wanalyzer-malloc-leak]: leak of 'rspbuf'
bluez-5.85/lib/bluetooth/sdp.c:4420:5: enter_function: entry to 'sdp_service_search_attr_req'
bluez-5.85/lib/bluetooth/sdp.c:4436:12: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4441:9: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4444:18: acquire_memory: allocated here
bluez-5.85/lib/bluetooth/sdp.c:4445:12: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4452:9: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4459:18: call_function: inlined call to 'gen_searchseq_pdu' from 'sdp_service_search_attr_req'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def238]
bluez-5.85/lib/bluetooth/sdp.c:440:17: warning[-Wanalyzer-malloc-leak]: leak of 'types'
bluez-5.85/lib/bluetooth/sdp.c:4041:5: enter_function: entry to 'sdp_service_search_attr_async'
bluez-5.85/lib/bluetooth/sdp.c:4048:12: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4075:18: call_function: inlined call to 'gen_searchseq_pdu' from 'sdp_service_search_attr_async'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def239]
bluez-5.85/lib/bluetooth/sdp.c:440:17: warning[-Wanalyzer-malloc-leak]: leak of 'values'
bluez-5.85/lib/bluetooth/sdp.c:4041:5: enter_function: entry to 'sdp_service_search_attr_async'
bluez-5.85/lib/bluetooth/sdp.c:4048:12: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4075:18: call_function: inlined call to 'gen_searchseq_pdu' from 'sdp_service_search_attr_async'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def240]
bluez-5.85/lib/bluetooth/sdp.c:4674:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'socket(1, 524289, 0)'
bluez-5.85/lib/bluetooth/sdp.c:4666:25: acquire_resource: socket created here
bluez-5.85/lib/bluetooth/sdp.c:4667:12: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4669:9: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4674:16: danger: 'socket(1, 524289, 0)' leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def241]
bluez-5.85/lib/bluetooth/sdp.c:4722:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'socket(31, sockflags, 0)'
bluez-5.85/lib/bluetooth/sdp.c:4708:25: acquire_resource: socket created here
bluez-5.85/lib/bluetooth/sdp.c:4709:12: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4711:9: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4720:12: branch_true: following 'true' branch...
bluez-5.85/lib/bluetooth/sdp.c:4721:17: branch_true: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4722:20: danger: 'socket(31, sockflags, 0)' leaks here
Error: GCC_ANALYZER_WARNING (CWE-666): [#def242]
bluez-5.85/lib/bluetooth/sdp.c:4740:27: warning[-Wanalyzer-fd-phase-mismatch]: 'connect' on file descriptor '*session.sock' in wrong phase
bluez-5.85/lib/bluetooth/sdp.c:4708:25: acquire_resource: socket created here
bluez-5.85/lib/bluetooth/sdp.c:4709:12: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4711:9: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4720:12: branch_true: following 'true' branch...
bluez-5.85/lib/bluetooth/sdp.c:4721:17: branch_true: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4722:20: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4749:1: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4726:12: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4726:12: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4732:12: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4736:9: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4740:27: danger: 'connect' expects a new socket file descriptor but '*session.sock' is bound
Error: GCC_ANALYZER_WARNING (CWE-666): [#def243]
bluez-5.85/lib/bluetooth/sdp.c:4740:27: warning[-Wanalyzer-fd-phase-mismatch]: 'connect' on file descriptor 'socket(31, sockflags, 0)' in wrong phase
bluez-5.85/lib/bluetooth/sdp.c:4708:25: acquire_resource: socket created here
bluez-5.85/lib/bluetooth/sdp.c:4709:12: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4711:9: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4720:12: branch_true: following 'true' branch...
bluez-5.85/lib/bluetooth/sdp.c:4721:17: branch_true: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4722:20: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4749:1: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4726:12: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4726:12: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4732:12: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4736:9: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4741:20: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4743:20: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4743:20: branch_true: following 'true' branch...
bluez-5.85/lib/bluetooth/sdp.c:4743:21: branch_true: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4743:21: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4746:18: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4746:18: branch_true: following 'true' branch...
bluez-5.85/lib/bluetooth/sdp.c:4740:27: danger: 'connect' expects a new socket file descriptor but 'socket(31, sockflags, 0)' is bound
Error: GCC_ANALYZER_WARNING (CWE-775): [#def244]
bluez-5.85/lib/bluetooth/sdp.c:4743:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'socket(31, sockflags, 0)'
bluez-5.85/lib/bluetooth/sdp.c:4708:25: acquire_resource: socket created here
bluez-5.85/lib/bluetooth/sdp.c:4709:12: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4711:9: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4741:20: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4743:20: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4743:20: branch_true: following 'true' branch...
bluez-5.85/lib/bluetooth/sdp.c:4743:21: danger: 'socket(31, sockflags, 0)' leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def245]
bluez-5.85/lib/bluetooth/sdp.c:4746:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'socket(31, sockflags, 0)'
bluez-5.85/lib/bluetooth/sdp.c:4708:25: acquire_resource: socket created here
bluez-5.85/lib/bluetooth/sdp.c:4709:12: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4711:9: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4741:20: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4743:20: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4743:20: branch_true: following 'true' branch...
bluez-5.85/lib/bluetooth/sdp.c:4743:21: branch_true: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4746:18: danger: 'socket(31, sockflags, 0)' leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def246]
bluez-5.85/lib/bluetooth/sdp.c:4903:43: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
bluez-5.85/lib/bluetooth/sdp.c:4891:5: enter_function: entry to 'sdp_get_supp_feat'
bluez-5.85/lib/bluetooth/sdp.c:4897:19: call_function: calling 'sdp_data_get' from 'sdp_get_supp_feat'
bluez-5.85/lib/bluetooth/sdp.c:4897:19: return_function: returning to 'sdp_get_supp_feat' from 'sdp_data_get'
bluez-5.85/lib/bluetooth/sdp.c:4899:12: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4903:40: branch_true: following 'true' branch (when 'd' is non-NULL)...
bluez-5.85/lib/bluetooth/sdp.c:4907:22: branch_true: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4907:20: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4912:22: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4912:43: branch_false: following 'false' branch (when 'dd' is NULL)...
bluez-5.85/lib/bluetooth/sdp.c:4939:24: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4939:24: call_function: calling 'sdp_list_append' from 'sdp_get_supp_feat'
bluez-5.85/lib/bluetooth/sdp.c:4939:24: return_function: returning to 'sdp_get_supp_feat' from 'sdp_list_append'
bluez-5.85/lib/bluetooth/sdp.c:4903:40: branch_true: following 'true' branch (when 'd' is non-NULL)...
bluez-5.85/lib/bluetooth/sdp.c:4907:22: branch_true: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4907:20: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4912:22: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4912:43: branch_false: following 'false' branch (when 'dd' is NULL)...
bluez-5.85/lib/bluetooth/sdp.c:4939:24: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4939:24: call_function: calling 'sdp_list_append' from 'sdp_get_supp_feat'
bluez-5.85/lib/bluetooth/sdp.c:4939:24: return_function: returning to 'sdp_get_supp_feat' from 'sdp_list_append'
bluez-5.85/lib/bluetooth/sdp.c:4903:40: branch_true: following 'true' branch (when 'd' is non-NULL)...
bluez-5.85/lib/bluetooth/sdp.c:4907:22: branch_true: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4907:20: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4912:22: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4912:43: branch_false: following 'false' branch (when 'dd' is NULL)...
bluez-5.85/lib/bluetooth/sdp.c:4939:24: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4939:24: call_function: calling 'sdp_list_append' from 'sdp_get_supp_feat'
bluez-5.85/lib/bluetooth/sdp.c:4939:24: return_function: returning to 'sdp_get_supp_feat' from 'sdp_list_append'
bluez-5.85/lib/bluetooth/sdp.c:4903:43: danger: '<unknown>' leaks here; was allocated at [(35)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/34)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def247]
bluez-5.85/lib/bluetooth/sdp.c:4903:43: warning[-Wanalyzer-malloc-leak]: leak of 'tseq'
bluez-5.85/lib/bluetooth/sdp.c:4891:5: enter_function: entry to 'sdp_get_supp_feat'
bluez-5.85/lib/bluetooth/sdp.c:4897:19: call_function: calling 'sdp_data_get' from 'sdp_get_supp_feat'
bluez-5.85/lib/bluetooth/sdp.c:4897:19: return_function: returning to 'sdp_get_supp_feat' from 'sdp_data_get'
bluez-5.85/lib/bluetooth/sdp.c:4899:12: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4903:40: branch_true: following 'true' branch (when 'd' is non-NULL)...
bluez-5.85/lib/bluetooth/sdp.c:4907:22: branch_true: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4907:20: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4912:22: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4912:43: branch_false: following 'false' branch (when 'dd' is NULL)...
bluez-5.85/lib/bluetooth/sdp.c:4939:24: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4939:24: call_function: calling 'sdp_list_append' from 'sdp_get_supp_feat'
bluez-5.85/lib/bluetooth/sdp.c:4939:24: return_function: returning to 'sdp_get_supp_feat' from 'sdp_list_append'
bluez-5.85/lib/bluetooth/sdp.c:4903:40: branch_true: following 'true' branch (when 'd' is non-NULL)...
bluez-5.85/lib/bluetooth/sdp.c:4907:22: branch_true: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4907:20: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4912:22: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4912:43: branch_false: following 'false' branch (when 'dd' is NULL)...
bluez-5.85/lib/bluetooth/sdp.c:4939:24: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4939:24: call_function: calling 'sdp_list_append' from 'sdp_get_supp_feat'
bluez-5.85/lib/bluetooth/sdp.c:4939:24: return_function: returning to 'sdp_get_supp_feat' from 'sdp_list_append'
bluez-5.85/lib/bluetooth/sdp.c:4903:43: danger: 'tseq' leaks here; was allocated at [(24)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/23)
Error: GCC_ANALYZER_WARNING (CWE-416): [#def248]
bluez-5.85/lib/bluetooth/sdp.c:4948:17: warning[-Wanalyzer-use-after-free]: use after 'free' of 'tseq'
bluez-5.85/lib/bluetooth/sdp.c:4891:5: enter_function: entry to 'sdp_get_supp_feat'
bluez-5.85/lib/bluetooth/sdp.c:4897:19: call_function: calling 'sdp_data_get' from 'sdp_get_supp_feat'
bluez-5.85/lib/bluetooth/sdp.c:4897:19: return_function: returning to 'sdp_get_supp_feat' from 'sdp_data_get'
bluez-5.85/lib/bluetooth/sdp.c:4899:12: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4903:40: branch_true: following 'true' branch (when 'd' is non-NULL)...
bluez-5.85/lib/bluetooth/sdp.c:4907:22: branch_true: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4907:20: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4912:22: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4912:43: branch_false: following 'false' branch (when 'dd' is NULL)...
bluez-5.85/lib/bluetooth/sdp.c:4939:24: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4939:24: call_function: calling 'sdp_list_append' from 'sdp_get_supp_feat'
bluez-5.85/lib/bluetooth/sdp.c:4939:24: return_function: returning to 'sdp_get_supp_feat' from 'sdp_list_append'
bluez-5.85/lib/bluetooth/sdp.c:4903:40: branch_true: following 'true' branch (when 'd' is non-NULL)...
bluez-5.85/lib/bluetooth/sdp.c:4907:22: branch_true: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4907:20: branch_false: following 'false' branch...
bluez-5.85/lib/bluetooth/sdp.c:4912:22: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4912:43: branch_false: following 'false' branch (when 'dd' is NULL)...
bluez-5.85/lib/bluetooth/sdp.c:4939:24: branch_false: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4939:24: call_function: calling 'sdp_list_append' from 'sdp_get_supp_feat'
bluez-5.85/lib/bluetooth/sdp.c:4939:24: return_function: returning to 'sdp_get_supp_feat' from 'sdp_list_append'
bluez-5.85/lib/bluetooth/sdp.c:4903:40: branch_true: following 'true' branch (when 'd' is non-NULL)...
bluez-5.85/lib/bluetooth/sdp.c:4907:22: branch_true: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4945:16: branch_true: following 'true' branch (when 'tseq' is non-NULL)...
bluez-5.85/lib/bluetooth/sdp.c:4948:17: branch_true: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4949:17: call_function: calling 'sdp_list_free' from 'sdp_get_supp_feat'
bluez-5.85/lib/bluetooth/sdp.c:4949:17: return_function: returning to 'sdp_get_supp_feat' from 'sdp_list_free'
bluez-5.85/lib/bluetooth/sdp.c:4945:16: branch_true: following 'true' branch (when 'tseq' is non-NULL)...
bluez-5.85/lib/bluetooth/sdp.c:4948:17: branch_true: ...to here
bluez-5.85/lib/bluetooth/sdp.c:4948:17: danger: use after 'free' of 'tseq'; freed at [(56)](sarif:/runs/0/results/37/codeFlows/0/threadFlows/0/locations/55)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def249]
bluez-5.85/mesh/keyring.c:50:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open_key_file(node, app_key_dir, app_idx, 2)’
bluez-5.85/mesh/keyring.c:92:6: enter_function: entry to ‘keyring_put_app_key’
bluez-5.85/mesh/keyring.c:98:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
bluez-5.85/mesh/keyring.c:101:14: branch_false: ...to here
bluez-5.85/mesh/keyring.c:101:14: call_function: calling ‘open_key_file’ from ‘keyring_put_app_key’
bluez-5.85/mesh/keyring.c:101:14: return_function: returning to ‘keyring_put_app_key’ from ‘open_key_file’
bluez-5.85/mesh/keyring.c:103:12: branch_true: following ‘true’ branch...
bluez-5.85/mesh/keyring.c:106:21: branch_true: ...to here
bluez-5.85/mesh/keyring.c:106:20: branch_true: following ‘true’ branch...
bluez-5.85/mesh/keyring.c:107:29: branch_true: ...to here
bluez-5.85/mesh/keyring.c:107:28: branch_true: following ‘true’ branch...
bluez-5.85/mesh/keyring.c:108:33: branch_true: ...to here
bluez-5.85/mesh/keyring.c:50:13: danger: ‘open_key_file(node, app_key_dir, app_idx, 2)’ leaks here; was opened at [(14)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def250]
bluez-5.85/mesh/keyring.c:50:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open_key_file(node, key_dir, key_idx, 0)’
bluez-5.85/mesh/keyring.c:237:13: enter_function: entry to ‘get_key’
bluez-5.85/mesh/keyring.c:246:14: call_function: calling ‘open_key_file’ from ‘get_key’
bluez-5.85/mesh/keyring.c:246:14: return_function: returning to ‘get_key’ from ‘open_key_file’
bluez-5.85/mesh/keyring.c:248:12: branch_true: following ‘true’ branch...
bluez-5.85/mesh/keyring.c:249:21: branch_true: ...to here
bluez-5.85/mesh/keyring.c:50:13: danger: ‘open_key_file(node, key_dir, key_idx, 0)’ leaks here; was opened at [(12)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def251]
bluez-5.85/mesh/keyring.c:296:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&key_file, 0)’
bluez-5.85/mesh/keyring.c:288:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
bluez-5.85/mesh/keyring.c:291:14: branch_false: ...to here
bluez-5.85/mesh/keyring.c:291:14: acquire_resource: opened here
bluez-5.85/mesh/keyring.c:292:12: branch_true: following ‘true’ branch...
bluez-5.85/mesh/keyring.c:293:21: branch_true: ...to here
bluez-5.85/mesh/keyring.c:296:17: danger: ‘open(&key_file, 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def252]
bluez-5.85/mesh/mesh-config-json.c:101:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(fname, "w")’
bluez-5.85/mesh/mesh-config-json.c:95:19: acquire_resource: opened here
bluez-5.85/mesh/mesh-config-json.c:96:12: branch_false: following ‘false’ branch...
bluez-5.85/mesh/mesh-config-json.c:101:15: branch_false: ...to here
bluez-5.85/mesh/mesh-config-json.c:101:15: throw: if ‘json_object_to_json_string_ext’ throws an exception...
bluez-5.85/mesh/mesh-config-json.c:101:15: danger: ‘fopen(fname, "w")’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def253]
bluez-5.85/mesh/mesh-config-json.c:101:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(fname, "w")’
bluez-5.85/mesh/mesh-config-json.c:95:19: acquire_memory: allocated here
bluez-5.85/mesh/mesh-config-json.c:96:12: branch_false: following ‘false’ branch...
bluez-5.85/mesh/mesh-config-json.c:101:15: branch_false: ...to here
bluez-5.85/mesh/mesh-config-json.c:101:15: throw: if ‘json_object_to_json_string_ext’ throws an exception...
bluez-5.85/mesh/mesh-config-json.c:101:15: danger: ‘fopen(fname, "w")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def254]
bluez-5.85/mesh/mesh-config-json.c:104:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(fname, "w")’
bluez-5.85/mesh/mesh-config-json.c:95:19: acquire_resource: opened here
bluez-5.85/mesh/mesh-config-json.c:96:12: branch_false: following ‘false’ branch...
bluez-5.85/mesh/mesh-config-json.c:101:15: branch_false: ...to here
bluez-5.85/mesh/mesh-config-json.c:103:12: branch_true: following ‘true’ branch...
bluez-5.85/mesh/mesh-config-json.c:104:17: branch_true: ...to here
bluez-5.85/mesh/mesh-config-json.c:104:17: throw: if ‘l_log_with_location’ throws an exception...
bluez-5.85/mesh/mesh-config-json.c:104:17: danger: ‘fopen(fname, "w")’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def255]
bluez-5.85/mesh/mesh-config-json.c:104:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(fname, "w")’
bluez-5.85/mesh/mesh-config-json.c:95:19: acquire_memory: allocated here
bluez-5.85/mesh/mesh-config-json.c:96:12: branch_false: following ‘false’ branch...
bluez-5.85/mesh/mesh-config-json.c:101:15: branch_false: ...to here
bluez-5.85/mesh/mesh-config-json.c:103:12: branch_true: following ‘true’ branch...
bluez-5.85/mesh/mesh-config-json.c:104:17: branch_true: ...to here
bluez-5.85/mesh/mesh-config-json.c:104:17: throw: if ‘l_log_with_location’ throws an exception...
bluez-5.85/mesh/mesh-config-json.c:104:17: danger: ‘fopen(fname, "w")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def256]
bluez-5.85/mesh/mesh-config-json.c:2654:25: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(cfgdir_name)’
bluez-5.85/mesh/mesh-config-json.c:2647:18: acquire_memory: allocated here
bluez-5.85/mesh/mesh-config-json.c:2648:12: branch_false: following ‘false’ branch...
bluez-5.85/mesh/mesh-config-json.c:2648:12: branch_false: ...to here
bluez-5.85/mesh/mesh-config-json.c:2654:25: throw: if ‘readdir’ throws an exception...
bluez-5.85/mesh/mesh-config-json.c:2654:25: danger: ‘opendir(cfgdir_name)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def257]
bluez-5.85/mesh/mesh-io-unit.c:241:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*(struct mesh_io_private *)<unknown>.fd’
bluez-5.85/mesh/mesh-io-unit.c:234:12: branch_false: following ‘false’ branch...
bluez-5.85/mesh/mesh-io-unit.c:237:9: branch_false: ...to here
bluez-5.85/mesh/mesh-io-unit.c:241:13: danger: ‘*(struct mesh_io_private *)<unknown>.fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def258]
bluez-5.85/mesh/mesh-io-unit.c:245:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*(struct mesh_io_private *)<unknown>.fd’
bluez-5.85/mesh/mesh-io-unit.c:234:12: branch_false: following ‘false’ branch...
bluez-5.85/mesh/mesh-io-unit.c:237:9: branch_false: ...to here
bluez-5.85/mesh/mesh-io-unit.c:241:12: branch_false: following ‘false’ branch...
bluez-5.85/mesh/mesh-io-unit.c:245:20: branch_false: ...to here
bluez-5.85/mesh/mesh-io-unit.c:245:20: danger: ‘*(struct mesh_io_private *)<unknown>.fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-126): [#def259]
bluez-5.85/mesh/net.c:1333:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
bluez-5.85/mesh/net.c:1453:13: enter_function: entry to ‘send_net_ack’
bluez-5.85/mesh/net.c:1462:12: branch_false: following ‘false’ branch...
bluez-5.85/mesh/net.c:1466:16: branch_false: ...to here
bluez-5.85/mesh/net.c:1475:12: branch_false: following ‘false’ branch...
bluez-5.85/mesh/net.c:1482:9: call_function: inlined call to ‘mesh_net_get_iv_index’ from ‘send_net_ack’
bluez-5.85/mesh/net.c:1482:9: call_function: calling ‘mesh_net_transport_send’ from ‘send_net_ack’
Error: COMPILER_WARNING: [#def260]
bluez-5.85/mesh/net.c: scope_hint: In function ‘ack_received’
bluez-5.85/mesh/net.c:1569:18: warning[-Wunused-but-set-variable=]: variable ‘ack_copy’ set but not used
Error: CPPCHECK_WARNING (CWE-758): [#def261]
bluez-5.85/mesh/net.c:1850: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def262]
bluez-5.85/mesh/net.c:1874: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-457): [#def263]
bluez-5.85/mesh/net.c:2198: error[uninitvar]: Uninitialized variable: msg
Error: GCC_ANALYZER_WARNING (CWE-688): [#def264]
bluez-5.85/mesh/node.c:1551:33: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
bluez-5.85/mesh/node.c:1522:12: branch_false: following ‘false’ branch...
bluez-5.85/mesh/node.c:1528:17: branch_false: ...to here
bluez-5.85/mesh/node.c:1551:12: branch_true: following ‘true’ branch...
bluez-5.85/mesh/node.c:1551:33: branch_true: ...to here
bluez-5.85/mesh/node.c:1551:33: danger: argument 1 (‘node_get_comp(node, 0, & node_len)’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-465): [#def265]
bluez-5.85/mesh/prov-acceptor.c:690:12: warning[-Wanalyzer-deref-before-check]: check of ‘prov’ for NULL after already dereferencing it
bluez-5.85/mesh/prov-acceptor.c:442:12: branch_false: following ‘false’ branch...
bluez-5.85/mesh/prov-acceptor.c:442:33: branch_false: ...to here
bluez-5.85/mesh/prov-acceptor.c:442:13: branch_false: following ‘false’ branch...
bluez-5.85/mesh/prov-acceptor.c:445:9: branch_false: ...to here
bluez-5.85/mesh/prov-acceptor.c:448:12: branch_false: following ‘false’ branch (when ‘type <= 9’)...
bluez-5.85/mesh/prov-acceptor.c:454:13: branch_false: ...to here
bluez-5.85/mesh/prov-acceptor.c:454:12: branch_false: following ‘false’ branch...
bluez-5.85/mesh/prov-acceptor.c:457:20: branch_false: ...to here
bluez-5.85/mesh/prov-acceptor.c:457:19: branch_false: following ‘false’ branch...
bluez-5.85/mesh/prov-acceptor.c:464:12: branch_false: following ‘false’ branch...
bluez-5.85/mesh/prov-acceptor.c:471:9: branch_false: ...to here
bluez-5.85/mesh/prov-acceptor.c:690:12: danger: pointer ‘prov’ is checked for NULL here but it was already dereferenced at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def266]
bluez-5.85/mesh/prov-initiator.c:840:12: warning[-Wanalyzer-deref-before-check]: check of ‘prov’ for NULL after already dereferencing it
bluez-5.85/mesh/prov-initiator.c:664:12: branch_false: following ‘false’ branch...
bluez-5.85/mesh/prov-initiator.c:664:33: branch_false: ...to here
bluez-5.85/mesh/prov-initiator.c:664:13: branch_false: following ‘false’ branch...
bluez-5.85/mesh/prov-initiator.c:667:9: branch_false: ...to here
bluez-5.85/mesh/prov-initiator.c:670:12: branch_false: following ‘false’ branch...
bluez-5.85/mesh/prov-initiator.c:673:27: branch_false: ...to here
bluez-5.85/mesh/prov-initiator.c:673:19: branch_false: following ‘false’ branch...
bluez-5.85/mesh/prov-initiator.c:679:12: branch_false: following ‘false’ branch (when ‘type <= 9’)...
bluez-5.85/mesh/prov-initiator.c:685:20: branch_false: ...to here
bluez-5.85/mesh/prov-initiator.c:685:12: branch_false: following ‘false’ branch...
bluez-5.85/mesh/prov-initiator.c:692:9: branch_false: ...to here
bluez-5.85/mesh/prov-initiator.c:840:12: danger: pointer ‘prov’ is checked for NULL here but it was already dereferenced at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def267]
bluez-5.85/mesh/rpl.c:63:17: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(&src_file)’
bluez-5.85/mesh/rpl.c:47:12: branch_false: following ‘false’ branch...
bluez-5.85/mesh/rpl.c:50:21: branch_false: ...to here
bluez-5.85/mesh/rpl.c:52:12: branch_false: following ‘false’ branch...
bluez-5.85/mesh/rpl.c:55:9: branch_false: ...to here
bluez-5.85/mesh/rpl.c:57:15: acquire_memory: allocated here
bluez-5.85/mesh/rpl.c:59:12: branch_false: following ‘false’ branch...
bluez-5.85/mesh/rpl.c:63:17: branch_false: ...to here
bluez-5.85/mesh/rpl.c:63:17: danger: ‘opendir(&src_file)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def268]
bluez-5.85/mesh/rpl.c:112:25: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(&rpl_path)’
bluez-5.85/mesh/rpl.c:97:12: branch_false: following ‘false’ branch...
bluez-5.85/mesh/rpl.c:100:21: branch_false: ...to here
bluez-5.85/mesh/rpl.c:102:12: branch_false: following ‘false’ branch...
bluez-5.85/mesh/rpl.c:105:9: branch_false: ...to here
bluez-5.85/mesh/rpl.c:106:15: acquire_memory: allocated here
bluez-5.85/mesh/rpl.c:108:12: branch_false: following ‘false’ branch...
bluez-5.85/mesh/rpl.c:108:12: branch_false: ...to here
bluez-5.85/mesh/rpl.c:112:25: throw: if ‘readdir’ throws an exception...
bluez-5.85/mesh/rpl.c:112:25: danger: ‘opendir(&rpl_path)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def269]
bluez-5.85/mesh/rpl.c:152:17: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(iv_path)’
bluez-5.85/mesh/rpl.c:145:15: acquire_memory: allocated here
bluez-5.85/mesh/rpl.c:147:12: branch_false: following ‘false’ branch...
bluez-5.85/mesh/rpl.c:150:18: branch_false: ...to here
bluez-5.85/mesh/rpl.c:151:12: branch_true: following ‘true’ branch...
bluez-5.85/mesh/rpl.c:152:17: branch_true: ...to here
bluez-5.85/mesh/rpl.c:152:17: danger: ‘opendir(iv_path)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def270]
bluez-5.85/mesh/rpl.c:158:25: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(iv_path)’
bluez-5.85/mesh/rpl.c:145:15: acquire_memory: allocated here
bluez-5.85/mesh/rpl.c:147:12: branch_false: following ‘false’ branch...
bluez-5.85/mesh/rpl.c:150:18: branch_false: ...to here
bluez-5.85/mesh/rpl.c:151:12: branch_false: following ‘false’ branch...
bluez-5.85/mesh/rpl.c:156:9: branch_false: ...to here
bluez-5.85/mesh/rpl.c:158:25: throw: if ‘readdir’ throws an exception...
bluez-5.85/mesh/rpl.c:158:25: danger: ‘opendir(iv_path)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def271]
bluez-5.85/mesh/rpl.c:174:49: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&src_path, 0)’
bluez-5.85/mesh/rpl.c:147:12: branch_false: following ‘false’ branch...
bluez-5.85/mesh/rpl.c:150:18: branch_false: ...to here
bluez-5.85/mesh/rpl.c:151:12: branch_false: following ‘false’ branch...
bluez-5.85/mesh/rpl.c:156:9: branch_false: ...to here
bluez-5.85/mesh/rpl.c:158:16: branch_true: following ‘true’ branch...
bluez-5.85/mesh/rpl.c:160:21: branch_true: ...to here
bluez-5.85/mesh/rpl.c:165:30: acquire_resource: opened here
bluez-5.85/mesh/rpl.c:167:28: branch_false: following ‘false’ branch...
bluez-5.85/mesh/rpl.c:170:29: branch_false: ...to here
bluez-5.85/mesh/rpl.c:170:28: branch_true: following ‘true’ branch...
bluez-5.85/mesh/rpl.c:171:41: branch_true: ...to here
bluez-5.85/mesh/rpl.c:170:29: branch_true: following ‘true’ branch...
bluez-5.85/mesh/rpl.c:174:49: branch_true: ...to here
bluez-5.85/mesh/rpl.c:173:39: throw: if ‘l_queue_find’ throws an exception...
bluez-5.85/mesh/rpl.c:174:49: danger: ‘open(&src_path, 0)’ leaks here; was opened at [(7)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def272]
bluez-5.85/mesh/rpl.c:191:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&src_path, 0)’
bluez-5.85/mesh/rpl.c:147:12: branch_false: following ‘false’ branch...
bluez-5.85/mesh/rpl.c:150:18: branch_false: ...to here
bluez-5.85/mesh/rpl.c:151:12: branch_false: following ‘false’ branch...
bluez-5.85/mesh/rpl.c:156:9: branch_false: ...to here
bluez-5.85/mesh/rpl.c:158:16: branch_true: following ‘true’ branch...
bluez-5.85/mesh/rpl.c:160:21: branch_true: ...to here
bluez-5.85/mesh/rpl.c:165:30: acquire_resource: opened here
bluez-5.85/mesh/rpl.c:191:25: danger: ‘open(&src_path, 0)’ leaks here; was opened at [(7)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def273]
bluez-5.85/mesh/rpl.c:227:25: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(l_malloc(len))’
bluez-5.85/mesh/rpl.c:206:12: branch_false: following ‘false’ branch (when ‘rpl_list’ is non-NULL)...
bluez-5.85/mesh/rpl.c:209:21: branch_false: ...to here
bluez-5.85/mesh/rpl.c:213:12: branch_false: following ‘false’ branch (when ‘len <= 4096’)...
bluez-5.85/mesh/rpl.c:216:20: branch_false: ...to here
bluez-5.85/mesh/rpl.c:219:15: acquire_memory: allocated here
bluez-5.85/mesh/rpl.c:221:12: branch_false: following ‘false’ branch...
bluez-5.85/mesh/rpl.c:221:12: branch_false: ...to here
bluez-5.85/mesh/rpl.c:227:25: throw: if ‘readdir’ throws an exception...
bluez-5.85/mesh/rpl.c:227:25: danger: ‘opendir(l_malloc(len))’ leaks here; was allocated at [(5)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def274]
bluez-5.85/mesh/rpl.c:267:25: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(&path)’
bluez-5.85/mesh/rpl.c:251:12: branch_false: following ‘false’ branch...
bluez-5.85/mesh/rpl.c:254:13: branch_false: ...to here
bluez-5.85/mesh/rpl.c:254:12: branch_false: following ‘false’ branch...
bluez-5.85/mesh/rpl.c:258:9: branch_false: ...to here
bluez-5.85/mesh/rpl.c:262:15: acquire_memory: allocated here
bluez-5.85/mesh/rpl.c:263:12: branch_false: following ‘false’ branch...
bluez-5.85/mesh/rpl.c:263:12: branch_false: ...to here
bluez-5.85/mesh/rpl.c:267:25: throw: if ‘readdir’ throws an exception...
bluez-5.85/mesh/rpl.c:267:25: danger: ‘opendir(&path)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/4)
Error: COMPILER_WARNING (CWE-704): [#def275]
bluez-5.85/mesh/util.c: scope_hint: In function ‘create_dir’
bluez-5.85/mesh/util.c:108:14: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def276]
bluez-5.85/mesh/util.c:108:14: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-401): [#def277]
bluez-5.85/monitor/analyze.c:127:9: warning[-Wanalyzer-malloc-leak]: leak of ‘popen("gnuplot", "w")’
bluez-5.85/monitor/analyze.c:141:13: enter_function: entry to ‘print_stats’
bluez-5.85/monitor/analyze.c:158:9: call_function: calling ‘plot_draw’ from ‘print_stats’
Error: COMPILER_WARNING: [#def278]
bluez-5.85/monitor/avctp.c: scope_hint: In function ‘avrcp_get_capabilities’
bluez-5.85/monitor/avctp.c:806:13: warning[-Wunused-but-set-variable=]: variable ‘i’ set but not used
Error: COMPILER_WARNING: [#def279]
bluez-5.85/monitor/avctp.c: scope_hint: In function ‘avrcp_list_player_attributes’
bluez-5.85/monitor/avctp.c:861:13: warning[-Wunused-but-set-variable=]: variable ‘i’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-401): [#def280]
bluez-5.85/monitor/control.c:987:17: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
bluez-5.85/monitor/control.c:1054:12: enter_function: entry to ‘open_channel’
bluez-5.85/monitor/control.c:1058:16: acquire_memory: allocated here
bluez-5.85/monitor/control.c:1059:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
bluez-5.85/monitor/control.c:1062:9: branch_false: ...to here
bluez-5.85/monitor/control.c:1065:20: call_function: calling ‘open_socket’ from ‘open_channel’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def281]
bluez-5.85/monitor/control.c:1000:25: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
bluez-5.85/monitor/control.c:1054:12: enter_function: entry to ‘open_channel’
bluez-5.85/monitor/control.c:1058:16: acquire_memory: allocated here
bluez-5.85/monitor/control.c:1059:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
bluez-5.85/monitor/control.c:1062:9: branch_false: ...to here
bluez-5.85/monitor/control.c:1065:20: call_function: calling ‘open_socket’ from ‘open_channel’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def282]
bluez-5.85/monitor/control.c:1003:17: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
bluez-5.85/monitor/control.c:1054:12: enter_function: entry to ‘open_channel’
bluez-5.85/monitor/control.c:1058:16: acquire_memory: allocated here
bluez-5.85/monitor/control.c:1059:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
bluez-5.85/monitor/control.c:1062:9: branch_false: ...to here
bluez-5.85/monitor/control.c:1065:20: call_function: calling ‘open_socket’ from ‘open_channel’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def283]
bluez-5.85/monitor/control.c:1004:17: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
bluez-5.85/monitor/control.c:1054:12: enter_function: entry to ‘open_channel’
bluez-5.85/monitor/control.c:1058:16: acquire_memory: allocated here
bluez-5.85/monitor/control.c:1059:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
bluez-5.85/monitor/control.c:1062:9: branch_false: ...to here
bluez-5.85/monitor/control.c:1065:20: call_function: calling ‘open_socket’ from ‘open_channel’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def284]
bluez-5.85/monitor/control.c:1009:17: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
bluez-5.85/monitor/control.c:1054:12: enter_function: entry to ‘open_channel’
bluez-5.85/monitor/control.c:1058:16: acquire_memory: allocated here
bluez-5.85/monitor/control.c:1059:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
bluez-5.85/monitor/control.c:1062:9: branch_false: ...to here
bluez-5.85/monitor/control.c:1065:20: call_function: calling ‘open_socket’ from ‘open_channel’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def285]
bluez-5.85/monitor/control.c:1010:17: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
bluez-5.85/monitor/control.c:1054:12: enter_function: entry to ‘open_channel’
bluez-5.85/monitor/control.c:1058:16: acquire_memory: allocated here
bluez-5.85/monitor/control.c:1059:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
bluez-5.85/monitor/control.c:1062:9: branch_false: ...to here
bluez-5.85/monitor/control.c:1065:20: call_function: calling ‘open_socket’ from ‘open_channel’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def286]
bluez-5.85/monitor/control.c:1015:17: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
bluez-5.85/monitor/control.c:1054:12: enter_function: entry to ‘open_channel’
bluez-5.85/monitor/control.c:1058:16: acquire_memory: allocated here
bluez-5.85/monitor/control.c:1059:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
bluez-5.85/monitor/control.c:1062:9: branch_false: ...to here
bluez-5.85/monitor/control.c:1065:20: call_function: calling ‘open_socket’ from ‘open_channel’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def287]
bluez-5.85/monitor/control.c:1016:17: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
bluez-5.85/monitor/control.c:1054:12: enter_function: entry to ‘open_channel’
bluez-5.85/monitor/control.c:1058:16: acquire_memory: allocated here
bluez-5.85/monitor/control.c:1059:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
bluez-5.85/monitor/control.c:1062:9: branch_false: ...to here
bluez-5.85/monitor/control.c:1065:20: call_function: calling ‘open_socket’ from ‘open_channel’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def288]
bluez-5.85/monitor/control.c:1132:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/kmsg", 0)’
bluez-5.85/monitor/control.c:1128:14: acquire_resource: opened here
bluez-5.85/monitor/control.c:1129:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/control.c:1132:13: branch_false: ...to here
bluez-5.85/monitor/control.c:1132:13: throw: if ‘mainloop_add_fd’ throws an exception...
bluez-5.85/monitor/control.c:1132:13: danger: ‘open("/dev/kmsg", 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def289]
bluez-5.85/monitor/control.c:1212:13: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
bluez-5.85/monitor/control.c:1186:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/control.c:1191:9: branch_false: ...to here
bluez-5.85/monitor/control.c:1195:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/control.c:1200:9: branch_false: ...to here
bluez-5.85/monitor/control.c:1202:16: acquire_memory: allocated here
bluez-5.85/monitor/control.c:1203:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
bluez-5.85/monitor/control.c:1208:9: branch_false: ...to here
bluez-5.85/monitor/control.c:1212:13: throw: if ‘mainloop_add_fd’ throws an exception...
bluez-5.85/monitor/control.c:1212:13: danger: ‘data’ leaks here; was allocated at [(5)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def290]
bluez-5.85/monitor/control.c:1253:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/monitor/control.c:1226:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/control.c:1229:13: branch_false: ...to here
bluez-5.85/monitor/control.c:1229:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/control.c:1234:9: branch_false: ...to here
bluez-5.85/monitor/control.c:1236:14: acquire_resource: socket created here
bluez-5.85/monitor/control.c:1237:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
bluez-5.85/monitor/control.c:1242:9: branch_false: ...to here
bluez-5.85/monitor/control.c:1246:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/control.c:1252:13: branch_false: ...to here
bluez-5.85/monitor/control.c:1252:12: branch_true: following ‘true’ branch...
bluez-5.85/monitor/control.c:1253:17: branch_true: ...to here
bluez-5.85/monitor/control.c:1253:17: throw: if ‘perror’ throws an exception...
bluez-5.85/monitor/control.c:1253:17: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def291]
bluez-5.85/monitor/control.c:1254:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/monitor/control.c:1226:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/control.c:1229:13: branch_false: ...to here
bluez-5.85/monitor/control.c:1229:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/control.c:1234:9: branch_false: ...to here
bluez-5.85/monitor/control.c:1236:14: acquire_resource: socket created here
bluez-5.85/monitor/control.c:1237:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
bluez-5.85/monitor/control.c:1242:9: branch_false: ...to here
bluez-5.85/monitor/control.c:1246:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/control.c:1252:13: branch_false: ...to here
bluez-5.85/monitor/control.c:1252:12: branch_true: following ‘true’ branch...
bluez-5.85/monitor/control.c:1253:17: branch_true: ...to here
bluez-5.85/monitor/control.c:1254:17: throw: if ‘close’ throws an exception...
bluez-5.85/monitor/control.c:1254:17: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def292]
bluez-5.85/monitor/control.c:1258:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/monitor/control.c:1226:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/control.c:1229:13: branch_false: ...to here
bluez-5.85/monitor/control.c:1229:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/control.c:1234:9: branch_false: ...to here
bluez-5.85/monitor/control.c:1236:14: acquire_resource: socket created here
bluez-5.85/monitor/control.c:1237:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
bluez-5.85/monitor/control.c:1242:9: branch_false: ...to here
bluez-5.85/monitor/control.c:1246:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/control.c:1252:13: branch_false: ...to here
bluez-5.85/monitor/control.c:1252:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/control.c:1258:13: branch_false: ...to here
bluez-5.85/monitor/control.c:1258:13: throw: if ‘mainloop_add_fd’ throws an exception...
bluez-5.85/monitor/control.c:1258:13: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def293]
bluez-5.85/monitor/control.c:1465:13: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
bluez-5.85/monitor/control.c:1424:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/control.c:1430:13: branch_false: ...to here
bluez-5.85/monitor/control.c:1430:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/control.c:1437:9: branch_false: ...to here
bluez-5.85/monitor/control.c:1446:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/control.c:1453:9: branch_false: ...to here
bluez-5.85/monitor/control.c:1455:16: acquire_memory: allocated here
bluez-5.85/monitor/control.c:1456:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
bluez-5.85/monitor/control.c:1461:9: branch_false: ...to here
bluez-5.85/monitor/control.c:1465:13: throw: if ‘mainloop_add_fd’ throws an exception...
bluez-5.85/monitor/control.c:1465:13: danger: ‘data’ leaks here; was allocated at [(7)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def294]
bluez-5.85/monitor/display.c:78:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd[0]’
bluez-5.85/monitor/display.c:100:6: enter_function: entry to ‘open_pager’
bluez-5.85/monitor/display.c:106:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:109:17: branch_false: ...to here
bluez-5.85/monitor/display.c:115:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:118:9: branch_false: ...to here
bluez-5.85/monitor/display.c:120:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:125:22: branch_false: ...to here
bluez-5.85/monitor/display.c:128:12: branch_true: following ‘true’ branch...
bluez-5.85/monitor/display.c:129:17: branch_true: ...to here
bluez-5.85/monitor/display.c:130:17: call_function: calling ‘close_pipe’ from ‘open_pager’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def295]
bluez-5.85/monitor/display.c:78:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd[1]’
bluez-5.85/monitor/display.c:100:6: enter_function: entry to ‘open_pager’
bluez-5.85/monitor/display.c:106:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:109:17: branch_false: ...to here
bluez-5.85/monitor/display.c:115:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:118:9: branch_false: ...to here
bluez-5.85/monitor/display.c:120:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:125:22: branch_false: ...to here
bluez-5.85/monitor/display.c:128:12: branch_true: following ‘true’ branch...
bluez-5.85/monitor/display.c:129:17: branch_true: ...to here
bluez-5.85/monitor/display.c:130:17: call_function: calling ‘close_pipe’ from ‘open_pager’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def296]
bluez-5.85/monitor/display.c:80:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd[0]’
bluez-5.85/monitor/display.c:100:6: enter_function: entry to ‘open_pager’
bluez-5.85/monitor/display.c:106:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:109:17: branch_false: ...to here
bluez-5.85/monitor/display.c:115:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:118:9: branch_false: ...to here
bluez-5.85/monitor/display.c:120:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:125:22: branch_false: ...to here
bluez-5.85/monitor/display.c:128:12: branch_true: following ‘true’ branch...
bluez-5.85/monitor/display.c:129:17: branch_true: ...to here
bluez-5.85/monitor/display.c:130:17: call_function: calling ‘close_pipe’ from ‘open_pager’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def297]
bluez-5.85/monitor/display.c:80:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd[1]’
bluez-5.85/monitor/display.c:100:6: enter_function: entry to ‘open_pager’
bluez-5.85/monitor/display.c:106:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:109:17: branch_false: ...to here
bluez-5.85/monitor/display.c:115:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:118:9: branch_false: ...to here
bluez-5.85/monitor/display.c:120:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:125:22: branch_false: ...to here
bluez-5.85/monitor/display.c:128:12: branch_true: following ‘true’ branch...
bluez-5.85/monitor/display.c:129:17: branch_true: ...to here
bluez-5.85/monitor/display.c:130:17: call_function: calling ‘close_pipe’ from ‘open_pager’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def298]
bluez-5.85/monitor/display.c:107:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd[0]’
bluez-5.85/monitor/display.c:106:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:109:17: branch_false: ...to here
bluez-5.85/monitor/display.c:115:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:118:9: branch_false: ...to here
bluez-5.85/monitor/display.c:120:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:125:22: branch_false: ...to here
bluez-5.85/monitor/display.c:134:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:158:13: branch_false: ...to here
bluez-5.85/monitor/display.c:158:12: branch_true: following ‘true’ branch...
bluez-5.85/monitor/display.c:159:17: branch_true: ...to here
bluez-5.85/monitor/display.c:107:17: danger: ‘fd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def299]
bluez-5.85/monitor/display.c:107:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd[1]’
bluez-5.85/monitor/display.c:106:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:109:17: branch_false: ...to here
bluez-5.85/monitor/display.c:115:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:118:9: branch_false: ...to here
bluez-5.85/monitor/display.c:120:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:125:22: branch_false: ...to here
bluez-5.85/monitor/display.c:134:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:158:13: branch_false: ...to here
bluez-5.85/monitor/display.c:158:12: branch_true: following ‘true’ branch...
bluez-5.85/monitor/display.c:159:17: branch_true: ...to here
bluez-5.85/monitor/display.c:107:17: danger: ‘fd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def300]
bluez-5.85/monitor/display.c:129:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd[0]’
bluez-5.85/monitor/display.c:106:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:109:17: branch_false: ...to here
bluez-5.85/monitor/display.c:115:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:118:9: branch_false: ...to here
bluez-5.85/monitor/display.c:120:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:125:22: branch_false: ...to here
bluez-5.85/monitor/display.c:128:12: branch_true: following ‘true’ branch...
bluez-5.85/monitor/display.c:129:17: branch_true: ...to here
bluez-5.85/monitor/display.c:129:17: throw: if ‘perror’ throws an exception...
bluez-5.85/monitor/display.c:129:17: danger: ‘fd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def301]
bluez-5.85/monitor/display.c:129:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd[1]’
bluez-5.85/monitor/display.c:106:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:109:17: branch_false: ...to here
bluez-5.85/monitor/display.c:115:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:118:9: branch_false: ...to here
bluez-5.85/monitor/display.c:120:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:125:22: branch_false: ...to here
bluez-5.85/monitor/display.c:128:12: branch_true: following ‘true’ branch...
bluez-5.85/monitor/display.c:129:17: branch_true: ...to here
bluez-5.85/monitor/display.c:129:17: throw: if ‘perror’ throws an exception...
bluez-5.85/monitor/display.c:129:17: danger: ‘fd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def302]
bluez-5.85/monitor/display.c:158:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(fd[1], 1)’
bluez-5.85/monitor/display.c:106:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:109:17: branch_false: ...to here
bluez-5.85/monitor/display.c:115:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:118:9: branch_false: ...to here
bluez-5.85/monitor/display.c:120:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:125:22: branch_false: ...to here
bluez-5.85/monitor/display.c:128:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:134:12: branch_false: ...to here
bluez-5.85/monitor/display.c:134:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:158:13: branch_false: ...to here
bluez-5.85/monitor/display.c:158:13: acquire_resource: opened here
bluez-5.85/monitor/display.c:158:12: danger: ‘dup2(fd[1], 1)’ leaks here; was opened at [(13)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def303]
bluez-5.85/monitor/display.c:159:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd[0]’
bluez-5.85/monitor/display.c:106:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:109:17: branch_false: ...to here
bluez-5.85/monitor/display.c:115:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:118:9: branch_false: ...to here
bluez-5.85/monitor/display.c:120:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:125:22: branch_false: ...to here
bluez-5.85/monitor/display.c:128:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:134:12: branch_false: ...to here
bluez-5.85/monitor/display.c:134:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:158:13: branch_false: ...to here
bluez-5.85/monitor/display.c:158:12: branch_true: following ‘true’ branch...
bluez-5.85/monitor/display.c:159:17: branch_true: ...to here
bluez-5.85/monitor/display.c:159:17: throw: if ‘perror’ throws an exception...
bluez-5.85/monitor/display.c:159:17: danger: ‘fd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def304]
bluez-5.85/monitor/display.c:159:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd[1]’
bluez-5.85/monitor/display.c:106:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:109:17: branch_false: ...to here
bluez-5.85/monitor/display.c:115:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:118:9: branch_false: ...to here
bluez-5.85/monitor/display.c:120:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:125:22: branch_false: ...to here
bluez-5.85/monitor/display.c:128:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:134:12: branch_false: ...to here
bluez-5.85/monitor/display.c:134:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:158:13: branch_false: ...to here
bluez-5.85/monitor/display.c:158:12: branch_true: following ‘true’ branch...
bluez-5.85/monitor/display.c:159:17: branch_true: ...to here
bluez-5.85/monitor/display.c:159:17: throw: if ‘perror’ throws an exception...
bluez-5.85/monitor/display.c:159:17: danger: ‘fd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def305]
bluez-5.85/monitor/display.c:164:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd[0]’
bluez-5.85/monitor/display.c:100:6: enter_function: entry to ‘open_pager’
bluez-5.85/monitor/display.c:106:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:109:17: branch_false: ...to here
bluez-5.85/monitor/display.c:115:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:118:9: branch_false: ...to here
bluez-5.85/monitor/display.c:120:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:125:22: branch_false: ...to here
bluez-5.85/monitor/display.c:128:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:134:12: branch_false: ...to here
bluez-5.85/monitor/display.c:134:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:158:13: branch_false: ...to here
bluez-5.85/monitor/display.c:158:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:163:9: branch_false: ...to here
bluez-5.85/monitor/display.c:163:9: call_function: calling ‘close_pipe’ from ‘open_pager’
bluez-5.85/monitor/display.c:163:9: return_function: returning to ‘open_pager’ from ‘close_pipe’
bluez-5.85/monitor/display.c:164:1: danger: ‘fd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def306]
bluez-5.85/monitor/display.c:164:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd[1]’
bluez-5.85/monitor/display.c:100:6: enter_function: entry to ‘open_pager’
bluez-5.85/monitor/display.c:106:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:109:17: branch_false: ...to here
bluez-5.85/monitor/display.c:115:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:118:9: branch_false: ...to here
bluez-5.85/monitor/display.c:120:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:125:22: branch_false: ...to here
bluez-5.85/monitor/display.c:128:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:134:12: branch_false: ...to here
bluez-5.85/monitor/display.c:134:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:158:13: branch_false: ...to here
bluez-5.85/monitor/display.c:158:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/display.c:163:9: branch_false: ...to here
bluez-5.85/monitor/display.c:163:9: call_function: calling ‘close_pipe’ from ‘open_pager’
bluez-5.85/monitor/display.c:163:9: return_function: returning to ‘open_pager’ from ‘close_pipe’
bluez-5.85/monitor/display.c:164:1: danger: ‘fd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def307]
bluez-5.85/monitor/ellisys.c:55:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/monitor/ellisys.c:39:12: branch_false: following ‘false’ branch...
bluez-5.85/monitor/ellisys.c:44:14: branch_false: ...to here
bluez-5.85/monitor/ellisys.c:44:14: acquire_resource: socket created here
bluez-5.85/monitor/ellisys.c:45:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
bluez-5.85/monitor/ellisys.c:50:9: branch_false: ...to here
bluez-5.85/monitor/ellisys.c:55:13: throw: if ‘connect’ throws an exception...
bluez-5.85/monitor/ellisys.c:55:13: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def308]
bluez-5.85/monitor/hcidump.c:56:17: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
bluez-5.85/monitor/hcidump.c:170:13: enter_function: entry to ‘open_device’
bluez-5.85/monitor/hcidump.c:174:16: acquire_memory: allocated here
bluez-5.85/monitor/hcidump.c:175:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
bluez-5.85/monitor/hcidump.c:175:12: branch_false: ...to here
bluez-5.85/monitor/hcidump.c:181:20: call_function: calling ‘open_hci_dev’ from ‘open_device’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def309]
bluez-5.85/monitor/hcidump.c:66:17: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
bluez-5.85/monitor/hcidump.c:170:13: enter_function: entry to ‘open_device’
bluez-5.85/monitor/hcidump.c:174:16: acquire_memory: allocated here
bluez-5.85/monitor/hcidump.c:175:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
bluez-5.85/monitor/hcidump.c:175:12: branch_false: ...to here
bluez-5.85/monitor/hcidump.c:181:20: call_function: calling ‘open_hci_dev’ from ‘open_device’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def310]
bluez-5.85/monitor/hcidump.c:67:17: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
bluez-5.85/monitor/hcidump.c:170:13: enter_function: entry to ‘open_device’
bluez-5.85/monitor/hcidump.c:174:16: acquire_memory: allocated here
bluez-5.85/monitor/hcidump.c:175:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
bluez-5.85/monitor/hcidump.c:175:12: branch_false: ...to here
bluez-5.85/monitor/hcidump.c:181:20: call_function: calling ‘open_hci_dev’ from ‘open_device’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def311]
bluez-5.85/monitor/hcidump.c:72:17: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
bluez-5.85/monitor/hcidump.c:170:13: enter_function: entry to ‘open_device’
bluez-5.85/monitor/hcidump.c:174:16: acquire_memory: allocated here
bluez-5.85/monitor/hcidump.c:175:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
bluez-5.85/monitor/hcidump.c:175:12: branch_false: ...to here
bluez-5.85/monitor/hcidump.c:181:20: call_function: calling ‘open_hci_dev’ from ‘open_device’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def312]
bluez-5.85/monitor/hcidump.c:73:17: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
bluez-5.85/monitor/hcidump.c:170:13: enter_function: entry to ‘open_device’
bluez-5.85/monitor/hcidump.c:174:16: acquire_memory: allocated here
bluez-5.85/monitor/hcidump.c:175:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
bluez-5.85/monitor/hcidump.c:175:12: branch_false: ...to here
bluez-5.85/monitor/hcidump.c:181:20: call_function: calling ‘open_hci_dev’ from ‘open_device’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def313]
bluez-5.85/monitor/hcidump.c:78:17: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
bluez-5.85/monitor/hcidump.c:170:13: enter_function: entry to ‘open_device’
bluez-5.85/monitor/hcidump.c:174:16: acquire_memory: allocated here
bluez-5.85/monitor/hcidump.c:175:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
bluez-5.85/monitor/hcidump.c:175:12: branch_false: ...to here
bluez-5.85/monitor/hcidump.c:181:20: call_function: calling ‘open_hci_dev’ from ‘open_device’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def314]
bluez-5.85/monitor/hcidump.c:79:17: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
bluez-5.85/monitor/hcidump.c:170:13: enter_function: entry to ‘open_device’
bluez-5.85/monitor/hcidump.c:174:16: acquire_memory: allocated here
bluez-5.85/monitor/hcidump.c:175:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
bluez-5.85/monitor/hcidump.c:175:12: branch_false: ...to here
bluez-5.85/monitor/hcidump.c:181:20: call_function: calling ‘open_hci_dev’ from ‘open_device’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def315]
bluez-5.85/monitor/hcidump.c:89:17: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
bluez-5.85/monitor/hcidump.c:170:13: enter_function: entry to ‘open_device’
bluez-5.85/monitor/hcidump.c:174:16: acquire_memory: allocated here
bluez-5.85/monitor/hcidump.c:175:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
bluez-5.85/monitor/hcidump.c:175:12: branch_false: ...to here
bluez-5.85/monitor/hcidump.c:181:20: call_function: calling ‘open_hci_dev’ from ‘open_device’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def316]
bluez-5.85/monitor/hcidump.c:222:17: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
bluez-5.85/monitor/hcidump.c:383:5: enter_function: entry to ‘hcidump_tracing’
bluez-5.85/monitor/hcidump.c:387:16: acquire_memory: allocated here
bluez-5.85/monitor/hcidump.c:388:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
bluez-5.85/monitor/hcidump.c:388:12: branch_false: ...to here
bluez-5.85/monitor/hcidump.c:394:20: call_function: calling ‘open_stack_internal’ from ‘hcidump_tracing’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def317]
bluez-5.85/monitor/hcidump.c:265:17: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
bluez-5.85/monitor/hcidump.c:383:5: enter_function: entry to ‘hcidump_tracing’
bluez-5.85/monitor/hcidump.c:387:16: acquire_memory: allocated here
bluez-5.85/monitor/hcidump.c:388:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
bluez-5.85/monitor/hcidump.c:388:12: branch_false: ...to here
bluez-5.85/monitor/hcidump.c:394:20: call_function: calling ‘open_stack_internal’ from ‘hcidump_tracing’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def318]
bluez-5.85/monitor/hcidump.c:275:17: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
bluez-5.85/monitor/hcidump.c:383:5: enter_function: entry to ‘hcidump_tracing’
bluez-5.85/monitor/hcidump.c:387:16: acquire_memory: allocated here
bluez-5.85/monitor/hcidump.c:388:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
bluez-5.85/monitor/hcidump.c:388:12: branch_false: ...to here
bluez-5.85/monitor/hcidump.c:394:20: call_function: calling ‘open_stack_internal’ from ‘hcidump_tracing’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def319]
bluez-5.85/monitor/hcidump.c:276:17: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
bluez-5.85/monitor/hcidump.c:383:5: enter_function: entry to ‘hcidump_tracing’
bluez-5.85/monitor/hcidump.c:387:16: acquire_memory: allocated here
bluez-5.85/monitor/hcidump.c:388:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
bluez-5.85/monitor/hcidump.c:388:12: branch_false: ...to here
bluez-5.85/monitor/hcidump.c:394:20: call_function: calling ‘open_stack_internal’ from ‘hcidump_tracing’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def320]
bluez-5.85/monitor/hcidump.c:281:17: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
bluez-5.85/monitor/hcidump.c:383:5: enter_function: entry to ‘hcidump_tracing’
bluez-5.85/monitor/hcidump.c:387:16: acquire_memory: allocated here
bluez-5.85/monitor/hcidump.c:388:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
bluez-5.85/monitor/hcidump.c:388:12: branch_false: ...to here
bluez-5.85/monitor/hcidump.c:394:20: call_function: calling ‘open_stack_internal’ from ‘hcidump_tracing’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def321]
bluez-5.85/monitor/hcidump.c:282:17: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
bluez-5.85/monitor/hcidump.c:383:5: enter_function: entry to ‘hcidump_tracing’
bluez-5.85/monitor/hcidump.c:387:16: acquire_memory: allocated here
bluez-5.85/monitor/hcidump.c:388:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
bluez-5.85/monitor/hcidump.c:388:12: branch_false: ...to here
bluez-5.85/monitor/hcidump.c:394:20: call_function: calling ‘open_stack_internal’ from ‘hcidump_tracing’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def322]
bluez-5.85/monitor/hcidump.c:292:17: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
bluez-5.85/monitor/hcidump.c:383:5: enter_function: entry to ‘hcidump_tracing’
bluez-5.85/monitor/hcidump.c:387:16: acquire_memory: allocated here
bluez-5.85/monitor/hcidump.c:388:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
bluez-5.85/monitor/hcidump.c:388:12: branch_false: ...to here
bluez-5.85/monitor/hcidump.c:394:20: call_function: calling ‘open_stack_internal’ from ‘hcidump_tracing’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def323]
bluez-5.85/monitor/hcidump.c:293:17: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
bluez-5.85/monitor/hcidump.c:383:5: enter_function: entry to ‘hcidump_tracing’
bluez-5.85/monitor/hcidump.c:387:16: acquire_memory: allocated here
bluez-5.85/monitor/hcidump.c:388:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
bluez-5.85/monitor/hcidump.c:388:12: branch_false: ...to here
bluez-5.85/monitor/hcidump.c:394:20: call_function: calling ‘open_stack_internal’ from ‘hcidump_tracing’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def324]
bluez-5.85/monitor/jlink.c:207:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tok’
bluez-5.85/monitor/jlink.c:203:12: branch_false: following ‘false’ branch (when ‘cfg’ is non-NULL)...
bluez-5.85/monitor/jlink.c:206:15: branch_false: ...to here
bluez-5.85/monitor/jlink.c:207:13: danger: dereference of NULL ‘tok’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def325]
bluez-5.85/obexd/client/bip.c:266:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*maxsize’
bluez-5.85/obexd/client/bip.c:280:21: enter_function: entry to ‘get_image’
bluez-5.85/obexd/client/bip.c:295:14: call_function: calling ‘parse_get_image_dict’ from ‘get_image’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def326]
bluez-5.85/obexd/plugins/filesystem.c:95:13: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(name)’
bluez-5.85/obexd/plugins/filesystem.c:469:17: enter_function: entry to ‘append_listing’
bluez-5.85/obexd/plugins/filesystem.c:480:14: acquire_memory: allocated here
bluez-5.85/obexd/plugins/filesystem.c:481:12: branch_false: following ‘false’ branch...
bluez-5.85/obexd/plugins/filesystem.c:487:12: branch_false: ...to here
bluez-5.85/obexd/plugins/filesystem.c:490:15: call_function: calling ‘verify_path’ from ‘append_listing’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def327]
bluez-5.85/obexd/plugins/filesystem.c:102:14: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(name)’
bluez-5.85/obexd/plugins/filesystem.c:469:17: enter_function: entry to ‘append_listing’
bluez-5.85/obexd/plugins/filesystem.c:480:14: acquire_memory: allocated here
bluez-5.85/obexd/plugins/filesystem.c:481:12: branch_false: following ‘false’ branch...
bluez-5.85/obexd/plugins/filesystem.c:487:12: branch_false: ...to here
bluez-5.85/obexd/plugins/filesystem.c:490:15: call_function: calling ‘verify_path’ from ‘append_listing’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def328]
bluez-5.85/obexd/plugins/filesystem.c:503:22: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(name)’
bluez-5.85/obexd/plugins/filesystem.c:480:14: acquire_memory: allocated here
bluez-5.85/obexd/plugins/filesystem.c:481:12: branch_false: following ‘false’ branch...
bluez-5.85/obexd/plugins/filesystem.c:487:12: branch_false: ...to here
bluez-5.85/obexd/plugins/filesystem.c:491:12: branch_false: following ‘false’ branch...
bluez-5.85/obexd/plugins/filesystem.c:496:15: branch_false: ...to here
bluez-5.85/obexd/plugins/filesystem.c:497:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
bluez-5.85/obexd/plugins/filesystem.c:497:12: branch_false: ...to here
bluez-5.85/obexd/plugins/filesystem.c:503:22: throw: if ‘readdir’ throws an exception...
bluez-5.85/obexd/plugins/filesystem.c:503:22: danger: ‘opendir(name)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def329]
bluez-5.85/obexd/plugins/filesystem.c:554:17: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(name)’
bluez-5.85/obexd/plugins/filesystem.c:480:14: acquire_memory: allocated here
bluez-5.85/obexd/plugins/filesystem.c:481:12: branch_false: following ‘false’ branch...
bluez-5.85/obexd/plugins/filesystem.c:487:12: branch_false: ...to here
bluez-5.85/obexd/plugins/filesystem.c:497:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
bluez-5.85/obexd/plugins/filesystem.c:498:20: branch_true: ...to here
bluez-5.85/obexd/plugins/filesystem.c:553:12: branch_true: following ‘true’ branch...
bluez-5.85/obexd/plugins/filesystem.c:554:17: branch_true: ...to here
bluez-5.85/obexd/plugins/filesystem.c:554:17: danger: ‘opendir(name)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def330]
bluez-5.85/obexd/plugins/mas.c:214:19: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
bluez-5.85/obexd/plugins/mas.c:213:9: acquire_resource: ‘va_start’ called here
bluez-5.85/obexd/plugins/mas.c:214:19: throw: if ‘g_markup_vprintf_escaped’ throws an exception...
bluez-5.85/obexd/plugins/mas.c:214:19: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def331]
bluez-5.85/obexd/plugins/messages-dummy.c:97:27: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(g_build_filename(*fld_23(D)->session.cwd_absolute, *fld.name, 0))’
bluez-5.85/obexd/plugins/messages-dummy.c:123:16: enter_function: entry to ‘get_subdirs’
bluez-5.85/obexd/plugins/messages-dummy.c:130:14: acquire_memory: allocated here
bluez-5.85/obexd/plugins/messages-dummy.c:132:12: branch_false: following ‘false’ branch...
bluez-5.85/obexd/plugins/messages-dummy.c:132:12: branch_false: ...to here
bluez-5.85/obexd/plugins/messages-dummy.c:143:24: call_function: calling ‘get_next_subdir’ from ‘get_subdirs’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def332]
bluez-5.85/obexd/plugins/messages-dummy.c:165:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cur’
bluez-5.85/obexd/plugins/messages-dummy.c:176:17: enter_function: entry to ‘get_folder_listing’
bluez-5.85/obexd/plugins/messages-dummy.c:180:17: release_memory: ‘list’ is NULL
bluez-5.85/obexd/plugins/messages-dummy.c:182:13: call_function: calling ‘get_subdirs’ from ‘get_folder_listing’
bluez-5.85/obexd/plugins/messages-dummy.c:182:13: return_function: returning to ‘get_folder_listing’ from ‘get_subdirs’
bluez-5.85/obexd/plugins/messages-dummy.c:184:12: branch_false: following ‘false’ branch...
bluez-5.85/obexd/plugins/messages-dummy.c:189:13: branch_false: ...to here
bluez-5.85/obexd/plugins/messages-dummy.c:189:12: branch_false: following ‘false’ branch...
bluez-5.85/obexd/plugins/messages-dummy.c:194:9: branch_false: ...to here
bluez-5.85/obexd/plugins/messages-dummy.c:194:9: release_memory: ‘list’ is NULL
bluez-5.85/obexd/plugins/messages-dummy.c:194:9: call_function: calling ‘return_folder_listing’ from ‘get_folder_listing’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def333]
bluez-5.85/obexd/plugins/messages-dummy.c:509:9: warning[-Wanalyzer-file-leak]: leak of FILE
bluez-5.85/obexd/plugins/messages-dummy.c:493:19: acquire_resource: opened here
bluez-5.85/obexd/plugins/messages-dummy.c:494:12: branch_false: following ‘false’ branch...
bluez-5.85/obexd/plugins/messages-dummy.c:509:9: branch_false: ...to here
bluez-5.85/obexd/plugins/messages-dummy.c:509:9: danger: leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def334]
bluez-5.85/obexd/plugins/messages-dummy.c:509:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
bluez-5.85/obexd/plugins/messages-dummy.c:493:19: acquire_memory: allocated here
bluez-5.85/obexd/plugins/messages-dummy.c:494:12: branch_false: following ‘false’ branch...
bluez-5.85/obexd/plugins/messages-dummy.c:509:9: branch_false: ...to here
bluez-5.85/obexd/plugins/messages-dummy.c:509:9: danger: ‘<unknown>’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def335]
bluez-5.85/obexd/plugins/messages-dummy.c:538:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(g_build_filename(*(struct session *)session.cwd_absolute, handle, 0), "r")’
bluez-5.85/obexd/plugins/messages-dummy.c:530:14: acquire_resource: opened here
bluez-5.85/obexd/plugins/messages-dummy.c:531:12: branch_false: following ‘false’ branch...
bluez-5.85/obexd/plugins/messages-dummy.c:537:13: branch_false: ...to here
bluez-5.85/obexd/plugins/messages-dummy.c:537:12: branch_true: following ‘true’ branch...
bluez-5.85/obexd/plugins/messages-dummy.c:538:17: branch_true: ...to here
bluez-5.85/obexd/plugins/messages-dummy.c:538:17: branch_true: following ‘true’ branch...
bluez-5.85/obexd/plugins/messages-dummy.c:538:17: branch_true: ...to here
bluez-5.85/obexd/plugins/messages-dummy.c:538:17: throw: if ‘obex_debug’ throws an exception...
bluez-5.85/obexd/plugins/messages-dummy.c:538:17: danger: ‘fopen(g_build_filename(*(struct session *)session.cwd_absolute, handle, 0), "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def336]
bluez-5.85/obexd/plugins/messages-dummy.c:538:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(g_build_filename(*(struct session *)session.cwd_absolute, handle, 0), "r")’
bluez-5.85/obexd/plugins/messages-dummy.c:530:14: acquire_memory: allocated here
bluez-5.85/obexd/plugins/messages-dummy.c:531:12: branch_false: following ‘false’ branch...
bluez-5.85/obexd/plugins/messages-dummy.c:537:13: branch_false: ...to here
bluez-5.85/obexd/plugins/messages-dummy.c:537:12: branch_true: following ‘true’ branch...
bluez-5.85/obexd/plugins/messages-dummy.c:538:17: branch_true: ...to here
bluez-5.85/obexd/plugins/messages-dummy.c:538:17: branch_true: following ‘true’ branch...
bluez-5.85/obexd/plugins/messages-dummy.c:538:17: branch_true: ...to here
bluez-5.85/obexd/plugins/messages-dummy.c:538:17: throw: if ‘obex_debug’ throws an exception...
bluez-5.85/obexd/plugins/messages-dummy.c:538:17: danger: ‘fopen(g_build_filename(*(struct session *)session.cwd_absolute, handle, 0), "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def337]
bluez-5.85/obexd/plugins/messages-dummy.c:543:21: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(g_build_filename(*(struct session *)session.cwd_absolute, handle, 0), "r")’
bluez-5.85/obexd/plugins/messages-dummy.c:530:14: acquire_resource: opened here
bluez-5.85/obexd/plugins/messages-dummy.c:531:12: branch_false: following ‘false’ branch...
bluez-5.85/obexd/plugins/messages-dummy.c:537:13: branch_false: ...to here
bluez-5.85/obexd/plugins/messages-dummy.c:537:12: branch_false: following ‘false’ branch...
bluez-5.85/obexd/plugins/messages-dummy.c:543:21: branch_false: ...to here
bluez-5.85/obexd/plugins/messages-dummy.c:546:12: branch_false: following ‘false’ branch (when ‘msg != 18446744073709551615’)...
bluez-5.85/obexd/plugins/messages-dummy.c:552:18: branch_false: ...to here
bluez-5.85/obexd/plugins/messages-dummy.c:554:12: branch_true: following ‘true’ branch (when ‘callback’ is non-NULL)...
bluez-5.85/obexd/plugins/messages-dummy.c:555:17: branch_true: ...to here
bluez-5.85/obexd/plugins/messages-dummy.c:555:17: throw: if the called function throws an exception...
bluez-5.85/obexd/plugins/messages-dummy.c:543:21: danger: ‘fopen(g_build_filename(*(struct session *)session.cwd_absolute, handle, 0), "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def338]
bluez-5.85/obexd/plugins/messages-dummy.c:543:21: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(g_build_filename(*(struct session *)session.cwd_absolute, handle, 0), "r")’
bluez-5.85/obexd/plugins/messages-dummy.c:530:14: acquire_memory: allocated here
bluez-5.85/obexd/plugins/messages-dummy.c:531:12: branch_false: following ‘false’ branch...
bluez-5.85/obexd/plugins/messages-dummy.c:537:13: branch_false: ...to here
bluez-5.85/obexd/plugins/messages-dummy.c:537:12: branch_false: following ‘false’ branch...
bluez-5.85/obexd/plugins/messages-dummy.c:543:21: branch_false: ...to here
bluez-5.85/obexd/plugins/messages-dummy.c:546:12: branch_false: following ‘false’ branch (when ‘msg != 18446744073709551615’)...
bluez-5.85/obexd/plugins/messages-dummy.c:552:18: branch_false: ...to here
bluez-5.85/obexd/plugins/messages-dummy.c:554:12: branch_true: following ‘true’ branch (when ‘callback’ is non-NULL)...
bluez-5.85/obexd/plugins/messages-dummy.c:555:17: branch_true: ...to here
bluez-5.85/obexd/plugins/messages-dummy.c:555:17: throw: if the called function throws an exception...
bluez-5.85/obexd/plugins/messages-dummy.c:543:21: danger: ‘fopen(g_build_filename(*(struct session *)session.cwd_absolute, handle, 0), "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def339]
bluez-5.85/obexd/plugins/messages-dummy.c:555:17: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
bluez-5.85/obexd/plugins/messages-dummy.c:531:12: branch_false: following ‘false’ branch...
bluez-5.85/obexd/plugins/messages-dummy.c:537:13: branch_false: ...to here
bluez-5.85/obexd/plugins/messages-dummy.c:537:12: branch_false: following ‘false’ branch...
bluez-5.85/obexd/plugins/messages-dummy.c:543:21: branch_false: ...to here
bluez-5.85/obexd/plugins/messages-dummy.c:546:12: branch_false: following ‘false’ branch (when ‘msg != 18446744073709551615’)...
bluez-5.85/obexd/plugins/messages-dummy.c:552:18: branch_false: ...to here
bluez-5.85/obexd/plugins/messages-dummy.c:552:18: acquire_memory: allocated here
bluez-5.85/obexd/plugins/messages-dummy.c:554:12: branch_true: following ‘true’ branch (when ‘callback’ is non-NULL)...
bluez-5.85/obexd/plugins/messages-dummy.c:555:17: branch_true: ...to here
bluez-5.85/obexd/plugins/messages-dummy.c:555:17: throw: if the called function throws an exception...
bluez-5.85/obexd/plugins/messages-dummy.c:555:17: danger: ‘buffer’ leaks here; was allocated at [(7)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def340]
bluez-5.85/obexd/plugins/messages-dummy.c:558:17: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
bluez-5.85/obexd/plugins/messages-dummy.c:531:12: branch_false: following ‘false’ branch...
bluez-5.85/obexd/plugins/messages-dummy.c:537:13: branch_false: ...to here
bluez-5.85/obexd/plugins/messages-dummy.c:537:12: branch_false: following ‘false’ branch...
bluez-5.85/obexd/plugins/messages-dummy.c:543:21: branch_false: ...to here
bluez-5.85/obexd/plugins/messages-dummy.c:546:12: branch_false: following ‘false’ branch (when ‘msg != 18446744073709551615’)...
bluez-5.85/obexd/plugins/messages-dummy.c:552:18: branch_false: ...to here
bluez-5.85/obexd/plugins/messages-dummy.c:552:18: acquire_memory: allocated here
bluez-5.85/obexd/plugins/messages-dummy.c:554:12: branch_false: following ‘false’ branch (when ‘callback’ is NULL)...
bluez-5.85/obexd/plugins/messages-dummy.c:557:13: branch_false: ...to here
bluez-5.85/obexd/plugins/messages-dummy.c:557:12: branch_true: following ‘true’ branch...
bluez-5.85/obexd/plugins/messages-dummy.c:558:17: branch_true: ...to here
bluez-5.85/obexd/plugins/messages-dummy.c:558:17: branch_true: following ‘true’ branch...
bluez-5.85/obexd/plugins/messages-dummy.c:558:17: branch_true: ...to here
bluez-5.85/obexd/plugins/messages-dummy.c:558:17: throw: if ‘obex_debug’ throws an exception...
bluez-5.85/obexd/plugins/messages-dummy.c:558:17: danger: ‘buffer’ leaks here; was allocated at [(7)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def341]
bluez-5.85/obexd/plugins/phonebook-dummy.c:167:21: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
bluez-5.85/obexd/plugins/phonebook-dummy.c:119:12: branch_false: following ‘false’ branch (when ‘folderfd >= 0’)...
bluez-5.85/obexd/plugins/phonebook-dummy.c:119:12: branch_false: ...to here
bluez-5.85/obexd/plugins/phonebook-dummy.c:156:25: branch_true: following ‘true’ branch...
bluez-5.85/obexd/plugins/phonebook-dummy.c:157:29: branch_true: ...to here
bluez-5.85/obexd/plugins/phonebook-dummy.c:160:20: branch_false: following ‘false’ branch...
bluez-5.85/obexd/plugins/phonebook-dummy.c:166:22: branch_false: ...to here
bluez-5.85/obexd/plugins/phonebook-dummy.c:166:22: acquire_memory: allocated here
bluez-5.85/obexd/plugins/phonebook-dummy.c:167:21: throw: if ‘Parse_MIME_FromFile’ throws an exception...
bluez-5.85/obexd/plugins/phonebook-dummy.c:167:21: danger: ‘fp’ leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def342]
bluez-5.85/obexd/plugins/phonebook-dummy.c:516:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(g_build_filename(root_folder, folder, id, 0), 0)’
bluez-5.85/obexd/plugins/phonebook-dummy.c:514:14: acquire_resource: opened here
bluez-5.85/obexd/plugins/phonebook-dummy.c:516:9: branch_true: following ‘true’ branch...
bluez-5.85/obexd/plugins/phonebook-dummy.c:516:9: branch_true: ...to here
bluez-5.85/obexd/plugins/phonebook-dummy.c:516:9: throw: if ‘g_free_sized’ throws an exception...
bluez-5.85/obexd/plugins/phonebook-dummy.c:516:9: danger: ‘open(g_build_filename(root_folder, folder, id, 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def343]
bluez-5.85/obexd/plugins/phonebook-dummy.c:525:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(g_build_filename(root_folder, folder, id, 0), 0)’
bluez-5.85/obexd/plugins/phonebook-dummy.c:514:14: acquire_resource: opened here
bluez-5.85/obexd/plugins/phonebook-dummy.c:518:12: branch_false: following ‘false’ branch...
bluez-5.85/obexd/plugins/phonebook-dummy.c:525:17: branch_false: ...to here
bluez-5.85/obexd/plugins/phonebook-dummy.c:525:17: throw: if ‘g_malloc0’ throws an exception...
bluez-5.85/obexd/plugins/phonebook-dummy.c:525:17: danger: ‘open(g_build_filename(root_folder, folder, id, 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def344]
bluez-5.85/obexd/plugins/phonebook-dummy.c:531:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor
bluez-5.85/obexd/plugins/phonebook-dummy.c:514:14: acquire_resource: opened here
bluez-5.85/obexd/plugins/phonebook-dummy.c:518:12: branch_false: following ‘false’ branch...
bluez-5.85/obexd/plugins/phonebook-dummy.c:525:17: branch_false: ...to here
bluez-5.85/obexd/plugins/phonebook-dummy.c:531:21: throw: if ‘g_idle_add_full’ throws an exception...
bluez-5.85/obexd/plugins/phonebook-dummy.c:531:21: danger: leaks here; was opened at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def345]
bluez-5.85/obexd/plugins/phonebook-dummy.c:550:9: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(g_build_filename(root_folder, name, 0))’
bluez-5.85/obexd/plugins/phonebook-dummy.c:549:14: acquire_memory: allocated here
bluez-5.85/obexd/plugins/phonebook-dummy.c:550:9: branch_true: following ‘true’ branch...
bluez-5.85/obexd/plugins/phonebook-dummy.c:550:9: branch_true: ...to here
bluez-5.85/obexd/plugins/phonebook-dummy.c:550:9: throw: if ‘g_free_sized’ throws an exception...
bluez-5.85/obexd/plugins/phonebook-dummy.c:550:9: danger: ‘opendir(g_build_filename(root_folder, name, 0))’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def346]
bluez-5.85/obexd/plugins/phonebook-dummy.c:559:17: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(g_build_filename(root_folder, name, 0))’
bluez-5.85/obexd/plugins/phonebook-dummy.c:549:14: acquire_memory: allocated here
bluez-5.85/obexd/plugins/phonebook-dummy.c:552:12: branch_false: following ‘false’ branch...
bluez-5.85/obexd/plugins/phonebook-dummy.c:559:17: branch_false: ...to here
bluez-5.85/obexd/plugins/phonebook-dummy.c:559:17: throw: if ‘g_malloc0’ throws an exception...
bluez-5.85/obexd/plugins/phonebook-dummy.c:559:17: danger: ‘opendir(g_build_filename(root_folder, name, 0))’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def347]
bluez-5.85/obexd/plugins/phonebook-dummy.c:565:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
bluez-5.85/obexd/plugins/phonebook-dummy.c:549:14: acquire_memory: allocated here
bluez-5.85/obexd/plugins/phonebook-dummy.c:552:12: branch_false: following ‘false’ branch...
bluez-5.85/obexd/plugins/phonebook-dummy.c:559:17: branch_false: ...to here
bluez-5.85/obexd/plugins/phonebook-dummy.c:565:17: throw: if ‘g_malloc0’ throws an exception...
bluez-5.85/obexd/plugins/phonebook-dummy.c:565:17: danger: ‘<unknown>’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def348]
bluez-5.85/obexd/plugins/vcard.c:251:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
bluez-5.85/obexd/plugins/vcard.c:738:13: enter_function: entry to ‘vcard_printf_datetime’
bluez-5.85/obexd/plugins/vcard.c:744:9: branch_true: following ‘true’ branch...
bluez-5.85/obexd/plugins/vcard.c:744:9: branch_true: ...to here
bluez-5.85/obexd/plugins/vcard.c:762:12: branch_true: following ‘true’ branch...
bluez-5.85/obexd/plugins/vcard.c:763:17: branch_true: ...to here
bluez-5.85/obexd/plugins/vcard.c:764:17: call_function: calling ‘vcard_qp_print_encoded’ from ‘vcard_printf_datetime’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def349]
bluez-5.85/obexd/src/log.c:30:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
bluez-5.85/obexd/src/log.c:28:9: acquire_resource: ‘va_start’ called here
bluez-5.85/obexd/src/log.c:30:9: throw: if ‘vsyslog’ throws an exception...
bluez-5.85/obexd/src/log.c:30:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def350]
bluez-5.85/obexd/src/log.c:41:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
bluez-5.85/obexd/src/log.c:39:9: acquire_resource: ‘va_start’ called here
bluez-5.85/obexd/src/log.c:41:9: throw: if ‘vsyslog’ throws an exception...
bluez-5.85/obexd/src/log.c:41:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def351]
bluez-5.85/obexd/src/log.c:52:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
bluez-5.85/obexd/src/log.c:50:9: acquire_resource: ‘va_start’ called here
bluez-5.85/obexd/src/log.c:52:9: throw: if ‘vsyslog’ throws an exception...
bluez-5.85/obexd/src/log.c:52:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-758): [#def352]
bluez-5.85/obexd/src/log.c:85: error[comparePointers]: Comparing pointers that point to different objects
Error: CPPCHECK_WARNING (CWE-758): [#def353]
bluez-5.85/obexd/src/log.c:98: error[comparePointers]: Comparing pointers that point to different objects
Error: GCC_ANALYZER_WARNING (CWE-775): [#def354]
bluez-5.85/peripheral/efivars.c:75:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&pathname, 524288)’
bluez-5.85/peripheral/efivars.c:66:14: acquire_resource: opened here
bluez-5.85/peripheral/efivars.c:67:12: branch_false: following ‘false’ branch...
bluez-5.85/peripheral/efivars.c:70:9: branch_false: ...to here
bluez-5.85/peripheral/efivars.c:75:15: throw: if ‘readv’ throws an exception...
bluez-5.85/peripheral/efivars.c:75:15: danger: ‘open(&pathname, 524288)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def355]
bluez-5.85/peripheral/efivars.c:102:14: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
bluez-5.85/peripheral/efivars.c:98:15: acquire_memory: allocated here
bluez-5.85/peripheral/efivars.c:99:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
bluez-5.85/peripheral/efivars.c:102:14: branch_false: ...to here
bluez-5.85/peripheral/efivars.c:102:14: throw: if ‘open’ throws an exception...
bluez-5.85/peripheral/efivars.c:102:14: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def356]
bluez-5.85/peripheral/efivars.c:111:19: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
bluez-5.85/peripheral/efivars.c:98:15: acquire_memory: allocated here
bluez-5.85/peripheral/efivars.c:99:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
bluez-5.85/peripheral/efivars.c:102:14: branch_false: ...to here
bluez-5.85/peripheral/efivars.c:103:12: branch_false: following ‘false’ branch...
bluez-5.85/peripheral/efivars.c:108:9: branch_false: ...to here
bluez-5.85/peripheral/efivars.c:111:19: throw: if ‘write’ throws an exception...
bluez-5.85/peripheral/efivars.c:111:19: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def357]
bluez-5.85/peripheral/efivars.c:113:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
bluez-5.85/peripheral/efivars.c:98:15: acquire_memory: allocated here
bluez-5.85/peripheral/efivars.c:99:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
bluez-5.85/peripheral/efivars.c:102:14: branch_false: ...to here
bluez-5.85/peripheral/efivars.c:103:12: branch_false: following ‘false’ branch...
bluez-5.85/peripheral/efivars.c:108:9: branch_false: ...to here
bluez-5.85/peripheral/efivars.c:113:9: throw: if ‘close’ throws an exception...
bluez-5.85/peripheral/efivars.c:113:9: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def358]
bluez-5.85/peripheral/gap.c:89:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
bluez-5.85/peripheral/gap.c:75:15: acquire_memory: allocated here
bluez-5.85/peripheral/gap.c:76:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
bluez-5.85/peripheral/gap.c:76:12: branch_false: ...to here
bluez-5.85/peripheral/gap.c:89:9: throw: if ‘mgmt_send’ throws an exception...
bluez-5.85/peripheral/gap.c:89:9: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def359]
bluez-5.85/peripheral/gatt.c:102:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘accept(att_fd, & addr, & addrlen)’
bluez-5.85/peripheral/gatt.c:143:13: enter_function: entry to ‘att_conn_callback’
bluez-5.85/peripheral/gatt.c:150:12: branch_false: following ‘false’ branch...
bluez-5.85/peripheral/gatt.c:155:9: branch_false: ...to here
bluez-5.85/peripheral/gatt.c:159:12: branch_false: following ‘false’ branch...
bluez-5.85/peripheral/gatt.c:164:16: branch_false: ...to here
bluez-5.85/peripheral/gatt.c:164:16: call_function: calling ‘gatt_conn_new’ from ‘att_conn_callback’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def360]
bluez-5.85/peripheral/gatt.c:106:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘accept(att_fd, & addr, & addrlen)’
bluez-5.85/peripheral/gatt.c:143:13: enter_function: entry to ‘att_conn_callback’
bluez-5.85/peripheral/gatt.c:150:12: branch_false: following ‘false’ branch...
bluez-5.85/peripheral/gatt.c:155:9: branch_false: ...to here
bluez-5.85/peripheral/gatt.c:159:12: branch_false: following ‘false’ branch...
bluez-5.85/peripheral/gatt.c:164:16: branch_false: ...to here
bluez-5.85/peripheral/gatt.c:164:16: call_function: calling ‘gatt_conn_new’ from ‘att_conn_callback’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def361]
bluez-5.85/plugins/autopair.c:282:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/urandom", 0)’
bluez-5.85/plugins/autopair.c:271:14: acquire_resource: opened here
bluez-5.85/plugins/autopair.c:272:12: branch_false: following ‘false’ branch...
bluez-5.85/plugins/autopair.c:279:13: branch_false: ...to here
bluez-5.85/plugins/autopair.c:280:12: branch_true: following ‘true’ branch...
bluez-5.85/plugins/autopair.c:281:23: branch_true: ...to here
bluez-5.85/plugins/autopair.c:282:17: throw: if ‘btd_error’ throws an exception...
bluez-5.85/plugins/autopair.c:282:17: danger: ‘open("/dev/urandom", 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def362]
bluez-5.85/plugins/autopair.c:288:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/urandom", 0)’
bluez-5.85/plugins/autopair.c:271:14: acquire_resource: opened here
bluez-5.85/plugins/autopair.c:272:12: branch_false: following ‘false’ branch...
bluez-5.85/plugins/autopair.c:279:13: branch_false: ...to here
bluez-5.85/plugins/autopair.c:280:12: branch_false: following ‘false’ branch...
bluez-5.85/plugins/autopair.c:288:9: branch_false: ...to here
bluez-5.85/plugins/autopair.c:288:9: danger: ‘open("/dev/urandom", 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def363]
bluez-5.85/profiles/audio/a2dp.c:231:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
bluez-5.85/profiles/audio/a2dp.c:1525:17: enter_function: entry to ‘a2dp_reconfigure’
bluez-5.85/profiles/audio/a2dp.c:1575:9: call_function: calling ‘finalize_setup_errno’ from ‘a2dp_reconfigure’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def364]
bluez-5.85/profiles/audio/a2dp.c:3002:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*setup.rsep’
bluez-5.85/profiles/audio/a2dp.c:2981:13: enter_function: entry to ‘select_cb’
bluez-5.85/profiles/audio/a2dp.c:2987:12: branch_false: following ‘false’ branch...
bluez-5.85/profiles/audio/a2dp.c:2990:12: branch_false: ...to here
bluez-5.85/profiles/audio/a2dp.c:2990:12: branch_false: following ‘false’ branch (when ‘size < 0’)...
bluez-5.85/profiles/audio/a2dp.c:2995:22: branch_false: ...to here
bluez-5.85/profiles/audio/a2dp.c:2996:12: branch_false: following ‘false’ branch...
bluez-5.85/profiles/audio/a2dp.c:3001:23: branch_false: ...to here
bluez-5.85/profiles/audio/a2dp.c:3001:23: call_function: calling ‘find_remote_sep’ from ‘select_cb’
bluez-5.85/profiles/audio/a2dp.c:3001:23: return_function: returning to ‘select_cb’ from ‘find_remote_sep’
bluez-5.85/profiles/audio/a2dp.c:3001:9: release_memory: ‘*setup.rsep’ is NULL
bluez-5.85/profiles/audio/a2dp.c:3002:19: danger: dereference of NULL ‘find_remote_sep(*setup.chan, queue_pop_head(*setup.eps))’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def365]
bluez-5.85/profiles/audio/a2dp.c:3048:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
bluez-5.85/profiles/audio/a2dp.c:3024:16: branch_true: following ‘true’ branch (when ‘list’ is non-NULL)...
bluez-5.85/profiles/audio/a2dp.c:3025:34: branch_true: ...to here
bluez-5.85/profiles/audio/a2dp.c:3044:20: branch_true: following ‘true’ branch (when ‘seps’ is NULL)...
bluez-5.85/profiles/audio/a2dp.c:3045:32: branch_true: ...to here
bluez-5.85/profiles/audio/a2dp.c:3048:21: danger: dereference of NULL ‘find_channel(session)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def366]
bluez-5.85/profiles/audio/avctp.c:1204:26: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/profiles/audio/avctp.c:1164:14: acquire_resource: opened here
bluez-5.85/profiles/audio/avctp.c:1165:12: branch_false: following ‘false’ branch...
bluez-5.85/profiles/audio/avctp.c:1178:9: branch_false: ...to here
bluez-5.85/profiles/audio/avctp.c:1204:26: throw: if ‘btd_device_get_vendor’ throws an exception...
bluez-5.85/profiles/audio/avctp.c:1204:26: danger: ‘fd’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def367]
bluez-5.85/profiles/audio/avctp.c:1205:26: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/profiles/audio/avctp.c:1164:14: acquire_resource: opened here
bluez-5.85/profiles/audio/avctp.c:1165:12: branch_false: following ‘false’ branch...
bluez-5.85/profiles/audio/avctp.c:1178:9: branch_false: ...to here
bluez-5.85/profiles/audio/avctp.c:1205:26: throw: if ‘btd_device_get_product’ throws an exception...
bluez-5.85/profiles/audio/avctp.c:1205:26: danger: ‘fd’ leaks here; was opened at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def368]
bluez-5.85/profiles/audio/avctp.c:1206:26: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/profiles/audio/avctp.c:1164:14: acquire_resource: opened here
bluez-5.85/profiles/audio/avctp.c:1165:12: branch_false: following ‘false’ branch...
bluez-5.85/profiles/audio/avctp.c:1178:9: branch_false: ...to here
bluez-5.85/profiles/audio/avctp.c:1206:26: throw: if ‘btd_device_get_version’ throws an exception...
bluez-5.85/profiles/audio/avctp.c:1206:26: danger: ‘fd’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def369]
bluez-5.85/profiles/audio/avctp.c:1208:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/profiles/audio/avctp.c:1164:14: acquire_resource: opened here
bluez-5.85/profiles/audio/avctp.c:1165:12: branch_false: following ‘false’ branch...
bluez-5.85/profiles/audio/avctp.c:1178:9: branch_false: ...to here
bluez-5.85/profiles/audio/avctp.c:1208:13: throw: if ‘write’ throws an exception...
bluez-5.85/profiles/audio/avctp.c:1208:13: danger: ‘fd’ leaks here; was opened at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def370]
bluez-5.85/profiles/audio/avctp.c:1210:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/profiles/audio/avctp.c:1164:14: acquire_resource: opened here
bluez-5.85/profiles/audio/avctp.c:1165:12: branch_false: following ‘false’ branch...
bluez-5.85/profiles/audio/avctp.c:1178:9: branch_false: ...to here
bluez-5.85/profiles/audio/avctp.c:1208:12: branch_true: following ‘true’ branch...
bluez-5.85/profiles/audio/avctp.c:1209:24: branch_true: ...to here
bluez-5.85/profiles/audio/avctp.c:1210:17: throw: if ‘btd_error’ throws an exception...
bluez-5.85/profiles/audio/avctp.c:1210:17: danger: ‘fd’ leaks here; was opened at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def371]
bluez-5.85/profiles/audio/avctp.c:1212:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/profiles/audio/avctp.c:1164:14: acquire_resource: opened here
bluez-5.85/profiles/audio/avctp.c:1165:12: branch_false: following ‘false’ branch...
bluez-5.85/profiles/audio/avctp.c:1178:9: branch_false: ...to here
bluez-5.85/profiles/audio/avctp.c:1208:12: branch_true: following ‘true’ branch...
bluez-5.85/profiles/audio/avctp.c:1209:24: branch_true: ...to here
bluez-5.85/profiles/audio/avctp.c:1212:17: throw: if ‘close’ throws an exception...
bluez-5.85/profiles/audio/avctp.c:1212:17: danger: ‘fd’ leaks here; was opened at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def372]
bluez-5.85/profiles/audio/avrcp.c:742:14: warning[-Wanalyzer-null-argument]: use of NULL ‘status’ where non-null expected
bluez-5.85/profiles/audio/avrcp.c:4600:6: enter_function: entry to ‘avrcp_unregister_player’
bluez-5.85/profiles/audio/avrcp.c:4608:36: branch_true: following ‘true’ branch (when ‘l’ is non-NULL)...
bluez-5.85/profiles/audio/avrcp.c:4609:31: branch_true: ...to here
bluez-5.85/profiles/audio/avrcp.c:4623:25: call_function: calling ‘notify_addressed_player_changed’ from ‘avrcp_unregister_player’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def373]
bluez-5.85/profiles/audio/avrcp.c:825:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘data’
bluez-5.85/profiles/audio/avrcp.c:4600:6: enter_function: entry to ‘avrcp_unregister_player’
bluez-5.85/profiles/audio/avrcp.c:4608:36: branch_true: following ‘true’ branch (when ‘l’ is non-NULL)...
bluez-5.85/profiles/audio/avrcp.c:4609:31: branch_true: ...to here
bluez-5.85/profiles/audio/avrcp.c:4623:25: call_function: calling ‘notify_addressed_player_changed’ from ‘avrcp_unregister_player’
Error: CPPCHECK_WARNING (CWE-457): [#def374]
bluez-5.85/profiles/audio/avrcp.c:2377: warning[uninitvar]: Uninitialized variable: attrs
Error: GCC_ANALYZER_WARNING (CWE-476): [#def375]
bluez-5.85/profiles/audio/bap.c:2632:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘setup’
bluez-5.85/profiles/audio/bap.c:2805:13: enter_function: entry to ‘bap_state’
bluez-5.85/profiles/audio/bap.c:2819:12: branch_false: following ‘false’ branch...
bluez-5.85/profiles/audio/bap.c:2822:17: branch_false: ...to here
bluez-5.85/profiles/audio/bap.c:2847:20: branch_false: following ‘false’ branch...
bluez-5.85/profiles/audio/bap.c:2853:25: branch_false: ...to here
bluez-5.85/profiles/audio/bap.c:2853:25: call_function: calling ‘setup_create_io’ from ‘bap_state’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def376]
bluez-5.85/profiles/audio/bap.c:3583:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘setup’
bluez-5.85/profiles/audio/bap.c:2805:13: enter_function: entry to ‘bap_state’
bluez-5.85/profiles/audio/bap.c:2819:12: branch_false: following ‘false’ branch...
bluez-5.85/profiles/audio/bap.c:2822:17: branch_false: ...to here
bluez-5.85/profiles/audio/bap.c:2847:20: branch_false: following ‘false’ branch...
bluez-5.85/profiles/audio/bap.c:2853:25: branch_false: ...to here
bluez-5.85/profiles/audio/bap.c:2853:25: call_function: calling ‘setup_create_io’ from ‘bap_state’
Error: CPPCHECK_WARNING (CWE-476): [#def377]
bluez-5.85/profiles/audio/bass.c:969: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: addr
Error: CPPCHECK_WARNING (CWE-476): [#def378]
bluez-5.85/profiles/audio/bass.c:970: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: addr
Error: GCC_ANALYZER_WARNING (CWE-476): [#def379]
bluez-5.85/profiles/audio/bass.c:970:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘addr’
bluez-5.85/profiles/audio/bass.c:942:12: branch_false: following ‘false’ branch...
bluez-5.85/profiles/audio/bass.c:947:14: branch_false: ...to here
bluez-5.85/profiles/audio/bass.c:948:12: branch_false: following ‘false’ branch...
bluez-5.85/profiles/audio/bass.c:951:12: branch_false: ...to here
bluez-5.85/profiles/audio/bass.c:968:16: acquire_memory: this call could return NULL
bluez-5.85/profiles/audio/bass.c:970:9: danger: ‘addr’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def380]
bluez-5.85/profiles/audio/bass.c:972:9: warning[-Wanalyzer-malloc-leak]: leak of ‘addr’
bluez-5.85/profiles/audio/bass.c:942:12: branch_false: following ‘false’ branch...
bluez-5.85/profiles/audio/bass.c:947:14: branch_false: ...to here
bluez-5.85/profiles/audio/bass.c:948:12: branch_false: following ‘false’ branch...
bluez-5.85/profiles/audio/bass.c:951:12: branch_false: ...to here
bluez-5.85/profiles/audio/bass.c:968:16: acquire_memory: allocated here
bluez-5.85/profiles/audio/bass.c:972:9: throw: if ‘device_get_address’ throws an exception...
bluez-5.85/profiles/audio/bass.c:972:9: danger: ‘addr’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-476): [#def381]
bluez-5.85/profiles/audio/bass.c:973: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: addr
Error: GCC_ANALYZER_WARNING (CWE-401): [#def382]
bluez-5.85/profiles/audio/bass.c:973:40: warning[-Wanalyzer-malloc-leak]: leak of ‘addr’
bluez-5.85/profiles/audio/bass.c:942:12: branch_false: following ‘false’ branch...
bluez-5.85/profiles/audio/bass.c:947:14: branch_false: ...to here
bluez-5.85/profiles/audio/bass.c:948:12: branch_false: following ‘false’ branch...
bluez-5.85/profiles/audio/bass.c:951:12: branch_false: ...to here
bluez-5.85/profiles/audio/bass.c:968:16: acquire_memory: allocated here
bluez-5.85/profiles/audio/bass.c:973:40: throw: if ‘device_get_le_address_type’ throws an exception...
bluez-5.85/profiles/audio/bass.c:973:40: danger: ‘addr’ leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def383]
bluez-5.85/profiles/audio/bass.c:1962:9: warning[-Wanalyzer-malloc-leak]: leak of ‘iov.iov_base’
bluez-5.85/profiles/audio/bass.c:1953:12: branch_false: following ‘false’ branch...
bluez-5.85/profiles/audio/bass.c:1958:24: branch_false: ...to here
bluez-5.85/profiles/audio/bass.c:1958:24: acquire_memory: allocated here
bluez-5.85/profiles/audio/bass.c:1959:12: branch_false: following ‘false’ branch...
bluez-5.85/profiles/audio/bass.c:1962:9: branch_false: ...to here
bluez-5.85/profiles/audio/bass.c:1962:9: throw: if ‘util_iov_push_mem’ throws an exception...
bluez-5.85/profiles/audio/bass.c:1962:9: danger: ‘iov.iov_base’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def384]
bluez-5.85/profiles/cups/hcrp.c:200:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ctrl_sk’
bluez-5.85/profiles/cups/hcrp.c:187:24: acquire_resource: socket created here
bluez-5.85/profiles/cups/hcrp.c:187:12: branch_false: following ‘false’ branch (when ‘ctrl_sk >= 0’)...
bluez-5.85/profiles/cups/hcrp.c:195:9: branch_false: ...to here
bluez-5.85/profiles/cups/hcrp.c:199:12: branch_true: following ‘true’ branch...
bluez-5.85/profiles/cups/hcrp.c:200:17: branch_true: ...to here
bluez-5.85/profiles/cups/hcrp.c:200:17: throw: if ‘perror’ throws an exception...
bluez-5.85/profiles/cups/hcrp.c:200:17: danger: ‘ctrl_sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def385]
bluez-5.85/profiles/cups/hcrp.c:201:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ctrl_sk’
bluez-5.85/profiles/cups/hcrp.c:187:24: acquire_resource: socket created here
bluez-5.85/profiles/cups/hcrp.c:187:12: branch_false: following ‘false’ branch (when ‘ctrl_sk >= 0’)...
bluez-5.85/profiles/cups/hcrp.c:195:9: branch_false: ...to here
bluez-5.85/profiles/cups/hcrp.c:199:12: branch_true: following ‘true’ branch...
bluez-5.85/profiles/cups/hcrp.c:200:17: branch_true: ...to here
bluez-5.85/profiles/cups/hcrp.c:201:17: throw: if ‘close’ throws an exception...
bluez-5.85/profiles/cups/hcrp.c:201:17: danger: ‘ctrl_sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-666): [#def386]
bluez-5.85/profiles/cups/hcrp.c:213:13: warning[-Wanalyzer-fd-phase-mismatch]: ‘connect’ on file descriptor ‘ctrl_sk’ in wrong phase
bluez-5.85/profiles/cups/hcrp.c:187:24: acquire_resource: socket created here
bluez-5.85/profiles/cups/hcrp.c:187:12: branch_false: following ‘false’ branch (when ‘ctrl_sk >= 0’)...
bluez-5.85/profiles/cups/hcrp.c:195:9: branch_false: ...to here
bluez-5.85/profiles/cups/hcrp.c:199:12: branch_false: following ‘false’ branch...
bluez-5.85/profiles/cups/hcrp.c:208:9: branch_false: ...to here
bluez-5.85/profiles/cups/hcrp.c:213:13: danger: ‘connect’ expects a new socket file descriptor but ‘ctrl_sk’ is bound
Error: GCC_ANALYZER_WARNING (CWE-775): [#def387]
bluez-5.85/profiles/cups/hcrp.c:214:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ctrl_sk’
bluez-5.85/profiles/cups/hcrp.c:187:24: acquire_resource: socket created here
bluez-5.85/profiles/cups/hcrp.c:187:12: branch_false: following ‘false’ branch (when ‘ctrl_sk >= 0’)...
bluez-5.85/profiles/cups/hcrp.c:195:9: branch_false: ...to here
bluez-5.85/profiles/cups/hcrp.c:199:12: branch_false: following ‘false’ branch...
bluez-5.85/profiles/cups/hcrp.c:208:9: branch_false: ...to here
bluez-5.85/profiles/cups/hcrp.c:213:12: branch_true: following ‘true’ branch...
bluez-5.85/profiles/cups/hcrp.c:214:17: branch_true: ...to here
bluez-5.85/profiles/cups/hcrp.c:214:17: throw: if ‘perror’ throws an exception...
bluez-5.85/profiles/cups/hcrp.c:214:17: danger: ‘ctrl_sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def388]
bluez-5.85/profiles/cups/hcrp.c:215:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ctrl_sk’
bluez-5.85/profiles/cups/hcrp.c:187:24: acquire_resource: socket created here
bluez-5.85/profiles/cups/hcrp.c:187:12: branch_false: following ‘false’ branch (when ‘ctrl_sk >= 0’)...
bluez-5.85/profiles/cups/hcrp.c:195:9: branch_false: ...to here
bluez-5.85/profiles/cups/hcrp.c:199:12: branch_false: following ‘false’ branch...
bluez-5.85/profiles/cups/hcrp.c:208:9: branch_false: ...to here
bluez-5.85/profiles/cups/hcrp.c:213:12: branch_true: following ‘true’ branch...
bluez-5.85/profiles/cups/hcrp.c:214:17: branch_true: ...to here
bluez-5.85/profiles/cups/hcrp.c:215:17: throw: if ‘close’ throws an exception...
bluez-5.85/profiles/cups/hcrp.c:215:17: danger: ‘ctrl_sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def389]
bluez-5.85/profiles/cups/main.c:467:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘name’
bluez-5.85/profiles/cups/main.c:451:26: enter_function: entry to ‘filter_func’
bluez-5.85/profiles/cups/main.c:454:12: branch_true: following ‘true’ branch...
bluez-5.85/profiles/cups/main.c:460:17: branch_true: ...to here
bluez-5.85/profiles/cups/main.c:465:21: call_function: calling ‘parse_device_properties’ from ‘filter_func’
bluez-5.85/profiles/cups/main.c:465:21: return_function: returning to ‘filter_func’ from ‘parse_device_properties’
bluez-5.85/profiles/cups/main.c:465:20: branch_false: following ‘false’ branch...
bluez-5.85/profiles/cups/main.c:467:17: branch_false: ...to here
bluez-5.85/profiles/cups/main.c:467:17: danger: use of uninitialized value ‘name’ here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def390]
bluez-5.85/profiles/cups/spp.c:47:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/profiles/cups/spp.c:34:19: acquire_resource: stream socket created here
bluez-5.85/profiles/cups/spp.c:34:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/profiles/cups/spp.c:42:9: branch_false: ...to here
bluez-5.85/profiles/cups/spp.c:46:12: branch_true: following ‘true’ branch...
bluez-5.85/profiles/cups/spp.c:47:17: branch_true: ...to here
bluez-5.85/profiles/cups/spp.c:47:17: throw: if ‘perror’ throws an exception...
bluez-5.85/profiles/cups/spp.c:47:17: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def391]
bluez-5.85/profiles/cups/spp.c:48:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/profiles/cups/spp.c:34:19: acquire_resource: stream socket created here
bluez-5.85/profiles/cups/spp.c:34:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/profiles/cups/spp.c:42:9: branch_false: ...to here
bluez-5.85/profiles/cups/spp.c:46:12: branch_true: following ‘true’ branch...
bluez-5.85/profiles/cups/spp.c:47:17: branch_true: ...to here
bluez-5.85/profiles/cups/spp.c:48:17: throw: if ‘close’ throws an exception...
bluez-5.85/profiles/cups/spp.c:48:17: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-666): [#def392]
bluez-5.85/profiles/cups/spp.c:59:13: warning[-Wanalyzer-fd-phase-mismatch]: ‘connect’ on file descriptor ‘sk’ in wrong phase
bluez-5.85/profiles/cups/spp.c:34:19: acquire_resource: stream socket created here
bluez-5.85/profiles/cups/spp.c:34:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/profiles/cups/spp.c:42:9: branch_false: ...to here
bluez-5.85/profiles/cups/spp.c:46:12: branch_false: following ‘false’ branch...
bluez-5.85/profiles/cups/spp.c:55:9: branch_false: ...to here
bluez-5.85/profiles/cups/spp.c:59:13: danger: ‘connect’ expects a new socket file descriptor but ‘sk’ is bound
Error: GCC_ANALYZER_WARNING (CWE-775): [#def393]
bluez-5.85/profiles/cups/spp.c:60:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/profiles/cups/spp.c:34:19: acquire_resource: stream socket created here
bluez-5.85/profiles/cups/spp.c:34:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/profiles/cups/spp.c:42:9: branch_false: ...to here
bluez-5.85/profiles/cups/spp.c:46:12: branch_false: following ‘false’ branch...
bluez-5.85/profiles/cups/spp.c:55:9: branch_false: ...to here
bluez-5.85/profiles/cups/spp.c:59:12: branch_true: following ‘true’ branch...
bluez-5.85/profiles/cups/spp.c:60:17: branch_true: ...to here
bluez-5.85/profiles/cups/spp.c:60:17: throw: if ‘perror’ throws an exception...
bluez-5.85/profiles/cups/spp.c:60:17: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def394]
bluez-5.85/profiles/cups/spp.c:61:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/profiles/cups/spp.c:34:19: acquire_resource: stream socket created here
bluez-5.85/profiles/cups/spp.c:34:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/profiles/cups/spp.c:42:9: branch_false: ...to here
bluez-5.85/profiles/cups/spp.c:46:12: branch_false: following ‘false’ branch...
bluez-5.85/profiles/cups/spp.c:55:9: branch_false: ...to here
bluez-5.85/profiles/cups/spp.c:59:12: branch_true: following ‘true’ branch...
bluez-5.85/profiles/cups/spp.c:60:17: branch_true: ...to here
bluez-5.85/profiles/cups/spp.c:61:17: throw: if ‘close’ throws an exception...
bluez-5.85/profiles/cups/spp.c:61:17: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def395]
bluez-5.85/profiles/network/bnep.c:344:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup_fd’
bluez-5.85/profiles/network/bnep.c:340:18: acquire_resource: opened here
bluez-5.85/profiles/network/bnep.c:341:12: branch_false: following ‘false’ branch (when ‘dup_fd >= 0’)...
bluez-5.85/profiles/network/bnep.c:344:19: branch_false: ...to here
bluez-5.85/profiles/network/bnep.c:344:19: throw: if ‘g_malloc0’ throws an exception...
bluez-5.85/profiles/network/bnep.c:344:19: danger: ‘dup_fd’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def396]
bluez-5.85/profiles/network/bnep.c:345:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup_fd’
bluez-5.85/profiles/network/bnep.c:340:18: acquire_resource: opened here
bluez-5.85/profiles/network/bnep.c:341:12: branch_false: following ‘false’ branch (when ‘dup_fd >= 0’)...
bluez-5.85/profiles/network/bnep.c:344:19: branch_false: ...to here
bluez-5.85/profiles/network/bnep.c:345:23: throw: if ‘g_io_channel_unix_new’ throws an exception...
bluez-5.85/profiles/network/bnep.c:345:23: danger: ‘dup_fd’ leaks here; was opened at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def397]
bluez-5.85/src/adapter.c:977:9: warning[-Wanalyzer-null-argument]: use of NULL ‘name’ where non-null expected
bluez-5.85/src/adapter.c:1001:5: enter_function: entry to ‘adapter_set_name’
bluez-5.85/src/adapter.c:1003:12: branch_false: following ‘false’ branch...
bluez-5.85/src/adapter.c:1006:9: branch_false: ...to here
bluez-5.85/src/adapter.c:1009:9: release_memory: ‘name’ is NULL
bluez-5.85/src/adapter.c:1015:12: branch_false: following ‘false’ branch...
bluez-5.85/src/adapter.c:1018:9: branch_false: ...to here
bluez-5.85/src/adapter.c:1018:9: branch_false: following ‘false’ branch...
bluez-5.85/src/adapter.c:1020:49: branch_false: ...to here
bluez-5.85/src/adapter.c:1023:16: call_function: calling ‘set_name’ from ‘adapter_set_name’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def398]
bluez-5.85/src/adapter.c:2603:33: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(&uuidstr)’
bluez-5.85/src/adapter.c:2586:16: branch_true: following ‘true’ branch...
bluez-5.85/src/adapter.c:2591:21: branch_true: ...to here
bluez-5.85/src/adapter.c:2591:20: branch_false: following ‘false’ branch...
bluez-5.85/src/adapter.c:2595:17: branch_false: ...to here
bluez-5.85/src/adapter.c:2597:20: branch_false: following ‘false’ branch...
bluez-5.85/src/adapter.c:2600:17: branch_false: ...to here
bluez-5.85/src/adapter.c:2603:64: acquire_memory: allocated here
bluez-5.85/src/adapter.c:2603:33: danger: ‘strdup(&uuidstr)’ leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def399]
bluez-5.85/src/adapter.c:3443:9: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(&uuidstr)’
bluez-5.85/src/adapter.c:3434:12: branch_true: following ‘true’ branch...
bluez-5.85/src/adapter.c:3437:14: branch_true: ...to here
bluez-5.85/src/adapter.c:3437:12: branch_true: following ‘true’ branch...
bluez-5.85/src/adapter.c:3440:9: branch_true: ...to here
bluez-5.85/src/adapter.c:3443:33: acquire_memory: allocated here
bluez-5.85/src/adapter.c:3443:9: danger: ‘strdup(&uuidstr)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def400]
bluez-5.85/src/adapter.c:4995:25: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(&dirname)’
bluez-5.85/src/adapter.c:4987:15: acquire_memory: allocated here
bluez-5.85/src/adapter.c:4988:12: branch_false: following ‘false’ branch...
bluez-5.85/src/adapter.c:4988:12: branch_false: ...to here
bluez-5.85/src/adapter.c:4995:25: throw: if ‘readdir’ throws an exception...
bluez-5.85/src/adapter.c:4995:25: danger: ‘opendir(&dirname)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def401]
bluez-5.85/src/adv_monitor.c:977: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: monitor->merged_pattern
Error: GCC_ANALYZER_WARNING (CWE-476): [#def402]
bluez-5.85/src/adv_monitor.c:977:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*monitor.merged_pattern’
bluez-5.85/src/adv_monitor.c:976:35: acquire_memory: this call could return NULL
bluez-5.85/src/adv_monitor.c:977:9: danger: ‘calloc(1, 56)’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def403]
bluez-5.85/src/adv_monitor.c:1120:18: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
bluez-5.85/src/adv_monitor.c:1116:14: acquire_memory: allocated here
bluez-5.85/src/adv_monitor.c:1117:12: branch_false: following ‘false’ branch (when ‘cp’ is non-NULL)...
bluez-5.85/src/adv_monitor.c:1120:18: branch_false: ...to here
bluez-5.85/src/adv_monitor.c:1120:18: throw: if ‘queue_get_entries’ throws an exception...
bluez-5.85/src/adv_monitor.c:1120:18: danger: ‘cp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def404]
bluez-5.85/src/adv_monitor.c:1127:14: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
bluez-5.85/src/adv_monitor.c:1116:14: acquire_memory: allocated here
bluez-5.85/src/adv_monitor.c:1117:12: branch_false: following ‘false’ branch (when ‘cp’ is non-NULL)...
bluez-5.85/src/adv_monitor.c:1120:18: branch_false: ...to here
bluez-5.85/src/adv_monitor.c:1120:63: branch_false: following ‘false’ branch (when ‘e’ is NULL)...
bluez-5.85/src/adv_monitor.c:1127:14: branch_false: ...to here
bluez-5.85/src/adv_monitor.c:1127:14: throw: if ‘mgmt_send’ throws an exception...
bluez-5.85/src/adv_monitor.c:1127:14: danger: ‘cp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def405]
bluez-5.85/src/adv_monitor.c:1131:17: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
bluez-5.85/src/adv_monitor.c:1116:14: acquire_memory: allocated here
bluez-5.85/src/adv_monitor.c:1117:12: branch_false: following ‘false’ branch (when ‘cp’ is non-NULL)...
bluez-5.85/src/adv_monitor.c:1120:18: branch_false: ...to here
bluez-5.85/src/adv_monitor.c:1120:63: branch_false: following ‘false’ branch (when ‘e’ is NULL)...
bluez-5.85/src/adv_monitor.c:1127:14: branch_false: ...to here
bluez-5.85/src/adv_monitor.c:1127:12: branch_true: following ‘true’ branch...
bluez-5.85/src/adv_monitor.c:1131:17: branch_true: ...to here
bluez-5.85/src/adv_monitor.c:1131:17: throw: if ‘btd_error’ throws an exception...
bluez-5.85/src/adv_monitor.c:1131:17: danger: ‘cp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def406]
bluez-5.85/src/adv_monitor.c:1163:18: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
bluez-5.85/src/adv_monitor.c:1151:14: acquire_memory: allocated here
bluez-5.85/src/adv_monitor.c:1152:12: branch_false: following ‘false’ branch (when ‘cp’ is non-NULL)...
bluez-5.85/src/adv_monitor.c:1155:35: branch_false: ...to here
bluez-5.85/src/adv_monitor.c:1163:18: throw: if ‘queue_get_entries’ throws an exception...
bluez-5.85/src/adv_monitor.c:1163:18: danger: ‘cp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def407]
bluez-5.85/src/adv_monitor.c:1170:14: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
bluez-5.85/src/adv_monitor.c:1151:14: acquire_memory: allocated here
bluez-5.85/src/adv_monitor.c:1152:12: branch_false: following ‘false’ branch (when ‘cp’ is non-NULL)...
bluez-5.85/src/adv_monitor.c:1155:35: branch_false: ...to here
bluez-5.85/src/adv_monitor.c:1163:63: branch_false: following ‘false’ branch (when ‘e’ is NULL)...
bluez-5.85/src/adv_monitor.c:1170:14: branch_false: ...to here
bluez-5.85/src/adv_monitor.c:1170:14: throw: if ‘mgmt_send’ throws an exception...
bluez-5.85/src/adv_monitor.c:1170:14: danger: ‘cp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def408]
bluez-5.85/src/adv_monitor.c:1174:17: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
bluez-5.85/src/adv_monitor.c:1151:14: acquire_memory: allocated here
bluez-5.85/src/adv_monitor.c:1152:12: branch_false: following ‘false’ branch (when ‘cp’ is non-NULL)...
bluez-5.85/src/adv_monitor.c:1155:35: branch_false: ...to here
bluez-5.85/src/adv_monitor.c:1163:63: branch_false: following ‘false’ branch (when ‘e’ is NULL)...
bluez-5.85/src/adv_monitor.c:1170:14: branch_false: ...to here
bluez-5.85/src/adv_monitor.c:1170:12: branch_true: following ‘true’ branch...
bluez-5.85/src/adv_monitor.c:1174:17: branch_true: ...to here
bluez-5.85/src/adv_monitor.c:1174:17: throw: if ‘btd_error’ throws an exception...
bluez-5.85/src/adv_monitor.c:1174:17: danger: ‘cp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def409]
bluez-5.85/src/advertising.c:1010:20: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
bluez-5.85/src/advertising.c:957:12: enter_function: entry to ‘refresh_legacy_adv’
bluez-5.85/src/advertising.c:974:12: branch_false: following ‘false’ branch...
bluez-5.85/src/advertising.c:979:20: call_function: calling ‘generate_scan_rsp’ from ‘refresh_legacy_adv’
bluez-5.85/src/advertising.c:979:20: return_function: returning to ‘refresh_legacy_adv’ from ‘generate_scan_rsp’
bluez-5.85/src/advertising.c:980:12: branch_true: following ‘true’ branch...
bluez-5.85/src/advertising.c:980:23: branch_true: ...to here
bluez-5.85/src/advertising.c:980:13: branch_false: following ‘false’ branch...
bluez-5.85/src/advertising.c:986:21: branch_false: ...to here
bluez-5.85/src/advertising.c:989:14: acquire_memory: allocated here
bluez-5.85/src/advertising.c:990:12: branch_false: following ‘false’ branch (when ‘cp’ is non-NULL)...
bluez-5.85/src/advertising.c:997:9: branch_false: ...to here
bluez-5.85/src/advertising.c:1004:12: branch_false: following ‘false’ branch...
bluez-5.85/src/advertising.c:1007:9: branch_false: ...to here
bluez-5.85/src/advertising.c:1010:20: throw: if ‘mgmt_send’ throws an exception...
bluez-5.85/src/advertising.c:1010:20: danger: ‘cp’ leaks here; was allocated at [(15)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def410]
bluez-5.85/src/advertising.c:1015:17: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
bluez-5.85/src/advertising.c:957:12: enter_function: entry to ‘refresh_legacy_adv’
bluez-5.85/src/advertising.c:974:12: branch_false: following ‘false’ branch...
bluez-5.85/src/advertising.c:979:20: call_function: calling ‘generate_scan_rsp’ from ‘refresh_legacy_adv’
bluez-5.85/src/advertising.c:979:20: return_function: returning to ‘refresh_legacy_adv’ from ‘generate_scan_rsp’
bluez-5.85/src/advertising.c:980:12: branch_true: following ‘true’ branch...
bluez-5.85/src/advertising.c:980:23: branch_true: ...to here
bluez-5.85/src/advertising.c:980:13: branch_false: following ‘false’ branch...
bluez-5.85/src/advertising.c:986:21: branch_false: ...to here
bluez-5.85/src/advertising.c:989:14: acquire_memory: allocated here
bluez-5.85/src/advertising.c:990:12: branch_false: following ‘false’ branch (when ‘cp’ is non-NULL)...
bluez-5.85/src/advertising.c:997:9: branch_false: ...to here
bluez-5.85/src/advertising.c:1004:12: branch_false: following ‘false’ branch...
bluez-5.85/src/advertising.c:1007:9: branch_false: ...to here
bluez-5.85/src/advertising.c:1014:12: branch_true: following ‘true’ branch...
bluez-5.85/src/advertising.c:1015:17: branch_true: ...to here
bluez-5.85/src/advertising.c:1015:17: throw: if ‘btd_error’ throws an exception...
bluez-5.85/src/advertising.c:1015:17: danger: ‘cp’ leaks here; was allocated at [(15)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def411]
bluez-5.85/src/advertising.c:1467:20: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
bluez-5.85/src/advertising.c:1409:12: branch_false: following ‘false’ branch (when ‘status == 0’)...
bluez-5.85/src/advertising.c:1412:13: branch_false: ...to here
bluez-5.85/src/advertising.c:1412:12: branch_false: following ‘false’ branch...
bluez-5.85/src/advertising.c:1417:9: branch_false: ...to here
bluez-5.85/src/advertising.c:1430:12: branch_false: following ‘false’ branch...
bluez-5.85/src/advertising.c:1447:14: acquire_memory: allocated here
bluez-5.85/src/advertising.c:1448:12: branch_false: following ‘false’ branch (when ‘cp’ is non-NULL)...
bluez-5.85/src/advertising.c:1453:24: branch_false: ...to here
bluez-5.85/src/advertising.c:1458:12: branch_false: following ‘false’ branch (when ‘scan_rsp’ is NULL)...
bluez-5.85/src/advertising.c:1461:9: branch_false: ...to here
bluez-5.85/src/advertising.c:1467:20: throw: if ‘mgmt_send’ throws an exception...
bluez-5.85/src/advertising.c:1467:20: danger: ‘cp’ leaks here; was allocated at [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def412]
bluez-5.85/src/advertising.c:1478:17: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
bluez-5.85/src/advertising.c:1409:12: branch_false: following ‘false’ branch (when ‘status == 0’)...
bluez-5.85/src/advertising.c:1412:13: branch_false: ...to here
bluez-5.85/src/advertising.c:1412:12: branch_false: following ‘false’ branch...
bluez-5.85/src/advertising.c:1417:9: branch_false: ...to here
bluez-5.85/src/advertising.c:1430:12: branch_false: following ‘false’ branch...
bluez-5.85/src/advertising.c:1447:14: acquire_memory: allocated here
bluez-5.85/src/advertising.c:1448:12: branch_false: following ‘false’ branch (when ‘cp’ is non-NULL)...
bluez-5.85/src/advertising.c:1453:24: branch_false: ...to here
bluez-5.85/src/advertising.c:1458:12: branch_false: following ‘false’ branch (when ‘scan_rsp’ is NULL)...
bluez-5.85/src/advertising.c:1461:9: branch_false: ...to here
bluez-5.85/src/advertising.c:1471:12: branch_false: following ‘false’ branch...
bluez-5.85/src/advertising.c:1475:9: branch_false: ...to here
bluez-5.85/src/advertising.c:1478:17: throw: if ‘btd_error’ throws an exception...
bluez-5.85/src/advertising.c:1478:17: danger: ‘cp’ leaks here; was allocated at [(7)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def413]
bluez-5.85/src/log.c:40:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
bluez-5.85/src/log.c:163:6: enter_function: entry to ‘__btd_log_init’
bluez-5.85/src/log.c:179:9: call_function: calling ‘info’ from ‘__btd_log_init’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def414]
bluez-5.85/src/log.c:48:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
bluez-5.85/src/log.c:163:6: enter_function: entry to ‘__btd_log_init’
bluez-5.85/src/log.c:179:9: call_function: calling ‘info’ from ‘__btd_log_init’
Error: CPPCHECK_WARNING (CWE-758): [#def415]
bluez-5.85/src/log.c:159: error[comparePointers]: Comparing pointers that point to different objects
Error: GCC_ANALYZER_WARNING (CWE-401): [#def416]
bluez-5.85/src/main.c:773:17: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(uuid)’
bluez-5.85/src/main.c:741:12: branch_false: following ‘false’ branch...
bluez-5.85/src/main.c:746:27: branch_false: ...to here
bluez-5.85/src/main.c:748:21: branch_true: following ‘true’ branch...
bluez-5.85/src/main.c:752:22: branch_true: ...to here
bluez-5.85/src/main.c:752:20: branch_false: following ‘false’ branch...
bluez-5.85/src/main.c:760:29: branch_true: following ‘true’ branch (when ‘j != 7’)...
bluez-5.85/src/main.c:761:30: branch_true: ...to here
bluez-5.85/src/main.c:766:20: branch_false: following ‘false’ branch (when ‘j != 7’)...
bluez-5.85/src/main.c:771:17: branch_false: ...to here
bluez-5.85/src/main.c:771:17: branch_false: following ‘false’ branch...
bluez-5.85/src/main.c:773:50: branch_false: ...to here
bluez-5.85/src/main.c:773:50: acquire_memory: allocated here
bluez-5.85/src/main.c:773:17: danger: ‘strdup(uuid)’ leaks here; was allocated at [(13)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def417]
bluez-5.85/src/main.c:987:17: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup("*")’
bluez-5.85/src/main.c:987:50: acquire_memory: allocated here
bluez-5.85/src/main.c:987:17: danger: ‘strdup("*")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def418]
bluez-5.85/src/oui.c:50:16: warning[-Wanalyzer-malloc-leak]: leak of ‘comp’
bluez-5.85/src/oui.c:32:12: branch_false: following ‘false’ branch...
bluez-5.85/src/oui.c:35:16: branch_false: ...to here
bluez-5.85/src/oui.c:36:12: branch_false: following ‘false’ branch...
bluez-5.85/src/oui.c:39:16: branch_false: ...to here
bluez-5.85/src/oui.c:41:9: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
bluez-5.85/src/oui.c:42:36: branch_true: ...to here
bluez-5.85/src/oui.c:45:32: acquire_memory: allocated here
bluez-5.85/src/oui.c:50:16: throw: if ‘udev_hwdb_unref’ throws an exception...
bluez-5.85/src/oui.c:50:16: danger: ‘comp’ leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def419]
bluez-5.85/src/oui.c:53:16: warning[-Wanalyzer-malloc-leak]: leak of ‘comp’
bluez-5.85/src/oui.c:32:12: branch_false: following ‘false’ branch...
bluez-5.85/src/oui.c:35:16: branch_false: ...to here
bluez-5.85/src/oui.c:36:12: branch_false: following ‘false’ branch...
bluez-5.85/src/oui.c:39:16: branch_false: ...to here
bluez-5.85/src/oui.c:41:9: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
bluez-5.85/src/oui.c:42:36: branch_true: ...to here
bluez-5.85/src/oui.c:45:32: acquire_memory: allocated here
bluez-5.85/src/oui.c:53:16: throw: if ‘udev_unref’ throws an exception...
bluez-5.85/src/oui.c:53:16: danger: ‘comp’ leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def420]
bluez-5.85/src/profile.c:2286:21: warning[-Wanalyzer-null-argument]: use of NULL ‘*ext.role’ where non-null expected
bluez-5.85/src/profile.c:2233:12: enter_function: entry to ‘parse_ext_opt’
bluez-5.85/src/profile.c:2241:12: branch_false: following ‘false’ branch...
bluez-5.85/src/profile.c:2247:20: branch_false: ...to here
bluez-5.85/src/profile.c:2247:19: branch_false: following ‘false’ branch...
bluez-5.85/src/profile.c:2252:20: branch_false: ...to here
bluez-5.85/src/profile.c:2252:19: branch_false: following ‘false’ branch...
bluez-5.85/src/profile.c:2257:20: branch_false: ...to here
bluez-5.85/src/profile.c:2257:19: branch_false: following ‘false’ branch...
bluez-5.85/src/profile.c:2265:20: branch_false: ...to here
bluez-5.85/src/profile.c:2265:19: branch_false: following ‘false’ branch...
bluez-5.85/src/profile.c:2274:20: branch_false: ...to here
bluez-5.85/src/profile.c:2274:19: branch_false: following ‘false’ branch...
bluez-5.85/src/profile.c:2279:20: branch_false: ...to here
bluez-5.85/src/profile.c:2279:19: branch_true: following ‘true’ branch...
bluez-5.85/src/profile.c:2280:20: branch_true: ...to here
bluez-5.85/src/profile.c:2280:20: branch_false: following ‘false’ branch...
bluez-5.85/src/profile.c:2282:17: branch_false: ...to here
bluez-5.85/src/profile.c:2284:17: release_memory: ‘*ext.role’ is NULL
bluez-5.85/src/profile.c:2286:21: danger: argument 1 (‘<unknown>’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-775): [#def421]
bluez-5.85/src/rfkill.c:75:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&sysname, 0)’
bluez-5.85/src/rfkill.c:68:18: acquire_resource: opened here
bluez-5.85/src/rfkill.c:69:12: branch_false: following ‘false’ branch...
bluez-5.85/src/rfkill.c:72:9: branch_false: ...to here
bluez-5.85/src/rfkill.c:74:12: branch_true: following ‘true’ branch...
bluez-5.85/src/rfkill.c:75:17: branch_true: ...to here
bluez-5.85/src/rfkill.c:75:17: danger: ‘open(&sysname, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def422]
bluez-5.85/src/rfkill.c:79:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&sysname, 0)’
bluez-5.85/src/rfkill.c:68:18: acquire_resource: opened here
bluez-5.85/src/rfkill.c:69:12: branch_false: following ‘false’ branch...
bluez-5.85/src/rfkill.c:72:9: branch_false: ...to here
bluez-5.85/src/rfkill.c:74:12: branch_false: following ‘false’ branch...
bluez-5.85/src/rfkill.c:79:9: branch_false: ...to here
bluez-5.85/src/rfkill.c:79:9: danger: ‘open(&sysname, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def423]
bluez-5.85/src/rfkill.c:107:22: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/rfkill", 2)’
bluez-5.85/src/rfkill.c:87:5: enter_function: entry to ‘rfkill_get_blocked’
bluez-5.85/src/rfkill.c:92:14: acquire_resource: opened here
bluez-5.85/src/rfkill.c:93:12: branch_false: following ‘false’ branch...
bluez-5.85/src/rfkill.c:93:12: branch_false: ...to here
bluez-5.85/src/rfkill.c:104:20: branch_false: following ‘false’ branch...
bluez-5.85/src/rfkill.c:107:22: branch_false: ...to here
bluez-5.85/src/rfkill.c:107:22: call_function: calling ‘get_adapter_id_for_rfkill’ from ‘rfkill_get_blocked’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def424]
bluez-5.85/src/rfkill.c:114:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/rfkill", 2)’
bluez-5.85/src/rfkill.c:92:14: acquire_resource: opened here
bluez-5.85/src/rfkill.c:93:12: branch_false: following ‘false’ branch...
bluez-5.85/src/rfkill.c:93:12: branch_false: ...to here
bluez-5.85/src/rfkill.c:114:9: danger: ‘open("/dev/rfkill", 2)’ leaks here; was opened at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def425]
bluez-5.85/src/rfkill.c:195:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/rfkill", 2)’
bluez-5.85/src/rfkill.c:183:14: acquire_resource: opened here
bluez-5.85/src/rfkill.c:184:12: branch_false: following ‘false’ branch...
bluez-5.85/src/rfkill.c:195:19: branch_false: ...to here
bluez-5.85/src/rfkill.c:195:19: danger: ‘open("/dev/rfkill", 2)’ leaks here; was opened at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def426]
bluez-5.85/src/sdp-xml.c:306:34: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
bluez-5.85/src/sdp-xml.c:444:13: enter_function: entry to ‘element_start’
bluez-5.85/src/sdp-xml.c:453:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
bluez-5.85/src/sdp-xml.c:465:13: branch_false: ...to here
bluez-5.85/src/sdp-xml.c:465:12: branch_true: following ‘true’ branch...
bluez-5.85/src/sdp-xml.c:466:48: branch_true: ...to here
bluez-5.85/src/sdp-xml.c:466:48: call_function: calling ‘sdp_xml_data_alloc’ from ‘element_start’
bluez-5.85/src/sdp-xml.c:466:48: return_function: returning to ‘element_start’ from ‘sdp_xml_data_alloc’
bluez-5.85/src/sdp-xml.c:474:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
bluez-5.85/src/sdp-xml.c:476:19: branch_false: ...to here
bluez-5.85/src/sdp-xml.c:476:17: branch_false: following ‘false’ branch (when the strings are non-equal)...
bluez-5.85/src/sdp-xml.c:476:17: branch_false: ...to here
bluez-5.85/src/sdp-xml.c:481:29: branch_false: following ‘false’ branch...
bluez-5.85/src/sdp-xml.c:504:46: branch_false: ...to here
bluez-5.85/src/sdp-xml.c:504:46: call_function: calling ‘sdp_xml_parse_datatype’ from ‘element_start’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def427]
bluez-5.85/src/sdp-xml.c:328:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sdp_xml_parse_string_decode(data, encoding, & length)’
bluez-5.85/src/sdp-xml.c:444:13: enter_function: entry to ‘element_start’
bluez-5.85/src/sdp-xml.c:453:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
bluez-5.85/src/sdp-xml.c:465:13: branch_false: ...to here
bluez-5.85/src/sdp-xml.c:465:12: branch_true: following ‘true’ branch...
bluez-5.85/src/sdp-xml.c:466:48: branch_true: ...to here
bluez-5.85/src/sdp-xml.c:466:48: call_function: calling ‘sdp_xml_data_alloc’ from ‘element_start’
bluez-5.85/src/sdp-xml.c:466:48: return_function: returning to ‘element_start’ from ‘sdp_xml_data_alloc’
bluez-5.85/src/sdp-xml.c:474:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
bluez-5.85/src/sdp-xml.c:476:19: branch_false: ...to here
bluez-5.85/src/sdp-xml.c:476:17: branch_false: following ‘false’ branch (when the strings are non-equal)...
bluez-5.85/src/sdp-xml.c:476:17: branch_false: ...to here
bluez-5.85/src/sdp-xml.c:481:29: branch_false: following ‘false’ branch...
bluez-5.85/src/sdp-xml.c:504:46: branch_false: ...to here
bluez-5.85/src/sdp-xml.c:504:46: call_function: calling ‘sdp_xml_parse_datatype’ from ‘element_start’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def428]
bluez-5.85/src/sdp-xml.c:328:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sdp_xml_parse_string_decode(data, 0, & length)’
bluez-5.85/src/sdp-xml.c:444:13: enter_function: entry to ‘element_start’
bluez-5.85/src/sdp-xml.c:453:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
bluez-5.85/src/sdp-xml.c:465:13: branch_false: ...to here
bluez-5.85/src/sdp-xml.c:465:12: branch_true: following ‘true’ branch...
bluez-5.85/src/sdp-xml.c:466:48: branch_true: ...to here
bluez-5.85/src/sdp-xml.c:466:48: call_function: calling ‘sdp_xml_data_alloc’ from ‘element_start’
bluez-5.85/src/sdp-xml.c:466:48: return_function: returning to ‘element_start’ from ‘sdp_xml_data_alloc’
bluez-5.85/src/sdp-xml.c:474:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
bluez-5.85/src/sdp-xml.c:476:19: branch_false: ...to here
bluez-5.85/src/sdp-xml.c:476:17: branch_false: following ‘false’ branch (when the strings are non-equal)...
bluez-5.85/src/sdp-xml.c:476:17: branch_false: ...to here
bluez-5.85/src/sdp-xml.c:481:29: branch_false: following ‘false’ branch...
bluez-5.85/src/sdp-xml.c:504:46: branch_false: ...to here
bluez-5.85/src/sdp-xml.c:504:46: call_function: calling ‘sdp_xml_parse_datatype’ from ‘element_start’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def429]
bluez-5.85/src/sdp-xml.c:333:34: warning[-Wanalyzer-malloc-leak]: leak of ‘sdp_xml_parse_string_decode(data, encoding, & length)’
bluez-5.85/src/sdp-xml.c:444:13: enter_function: entry to ‘element_start’
bluez-5.85/src/sdp-xml.c:453:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
bluez-5.85/src/sdp-xml.c:465:13: branch_false: ...to here
bluez-5.85/src/sdp-xml.c:465:12: branch_true: following ‘true’ branch...
bluez-5.85/src/sdp-xml.c:466:48: branch_true: ...to here
bluez-5.85/src/sdp-xml.c:466:48: call_function: calling ‘sdp_xml_data_alloc’ from ‘element_start’
bluez-5.85/src/sdp-xml.c:466:48: return_function: returning to ‘element_start’ from ‘sdp_xml_data_alloc’
bluez-5.85/src/sdp-xml.c:474:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
bluez-5.85/src/sdp-xml.c:476:19: branch_false: ...to here
bluez-5.85/src/sdp-xml.c:476:17: branch_false: following ‘false’ branch (when the strings are non-equal)...
bluez-5.85/src/sdp-xml.c:476:17: branch_false: ...to here
bluez-5.85/src/sdp-xml.c:481:29: branch_true: following ‘true’ branch...
bluez-5.85/src/sdp-xml.c:482:30: branch_true: ...to here
bluez-5.85/src/sdp-xml.c:482:28: branch_true: following ‘true’ branch (when the strings are equal)...
bluez-5.85/src/sdp-xml.c:483:53: branch_true: ...to here
bluez-5.85/src/sdp-xml.c:495:28: branch_true: following ‘true’ branch (when the strings are equal)...
bluez-5.85/src/sdp-xml.c:496:61: branch_true: ...to here
bluez-5.85/src/sdp-xml.c:496:36: branch_true: following ‘true’ branch (when the strings are equal)...
bluez-5.85/src/sdp-xml.c:497:41: branch_true: ...to here
bluez-5.85/src/sdp-xml.c:500:28: branch_true: following ‘true’ branch (when the strings are equal)...
bluez-5.85/src/sdp-xml.c:501:85: branch_true: ...to here
bluez-5.85/src/sdp-xml.c:481:29: branch_false: following ‘false’ branch...
bluez-5.85/src/sdp-xml.c:504:46: branch_false: ...to here
bluez-5.85/src/sdp-xml.c:504:46: call_function: calling ‘sdp_xml_parse_datatype’ from ‘element_start’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def430]
bluez-5.85/src/sdp-xml.c:467:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
bluez-5.85/src/sdp-xml.c:453:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
bluez-5.85/src/sdp-xml.c:465:13: branch_false: ...to here
bluez-5.85/src/sdp-xml.c:465:12: branch_true: following ‘true’ branch...
bluez-5.85/src/sdp-xml.c:466:48: branch_true: ...to here
bluez-5.85/src/sdp-xml.c:467:17: danger: dereference of NULL ‘sdp_xml_data_alloc()’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def431]
bluez-5.85/src/sdp-xml.c:471:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
bluez-5.85/src/sdp-xml.c:453:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
bluez-5.85/src/sdp-xml.c:465:13: branch_false: ...to here
bluez-5.85/src/sdp-xml.c:465:12: branch_false: following ‘false’ branch...
bluez-5.85/src/sdp-xml.c:470:40: branch_false: ...to here
bluez-5.85/src/sdp-xml.c:471:17: danger: dereference of NULL ‘sdp_xml_data_alloc()’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def432]
bluez-5.85/src/sdp-xml.c:501:33: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
bluez-5.85/src/sdp-xml.c:444:13: enter_function: entry to ‘element_start’
bluez-5.85/src/sdp-xml.c:453:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
bluez-5.85/src/sdp-xml.c:465:13: branch_false: ...to here
bluez-5.85/src/sdp-xml.c:465:12: branch_true: following ‘true’ branch...
bluez-5.85/src/sdp-xml.c:466:48: branch_true: ...to here
bluez-5.85/src/sdp-xml.c:466:48: call_function: calling ‘sdp_xml_data_alloc’ from ‘element_start’
bluez-5.85/src/sdp-xml.c:466:48: return_function: returning to ‘element_start’ from ‘sdp_xml_data_alloc’
bluez-5.85/src/sdp-xml.c:474:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
bluez-5.85/src/sdp-xml.c:476:19: branch_false: ...to here
bluez-5.85/src/sdp-xml.c:476:17: branch_false: following ‘false’ branch (when the strings are non-equal)...
bluez-5.85/src/sdp-xml.c:476:17: branch_false: ...to here
bluez-5.85/src/sdp-xml.c:481:29: branch_true: following ‘true’ branch...
bluez-5.85/src/sdp-xml.c:482:30: branch_true: ...to here
bluez-5.85/src/sdp-xml.c:482:28: branch_true: following ‘true’ branch (when the strings are equal)...
bluez-5.85/src/sdp-xml.c:483:53: branch_true: ...to here
bluez-5.85/src/sdp-xml.c:495:28: branch_true: following ‘true’ branch (when the strings are equal)...
bluez-5.85/src/sdp-xml.c:496:61: branch_true: ...to here
bluez-5.85/src/sdp-xml.c:496:36: branch_true: following ‘true’ branch (when the strings are equal)...
bluez-5.85/src/sdp-xml.c:497:41: branch_true: ...to here
bluez-5.85/src/sdp-xml.c:500:28: branch_true: following ‘true’ branch (when the strings are equal)...
bluez-5.85/src/sdp-xml.c:501:85: branch_true: ...to here
bluez-5.85/src/sdp-xml.c:501:62: acquire_memory: allocated here
bluez-5.85/src/sdp-xml.c:481:29: branch_true: following ‘true’ branch...
bluez-5.85/src/sdp-xml.c:482:30: branch_true: ...to here
bluez-5.85/src/sdp-xml.c:482:28: branch_true: following ‘true’ branch (when the strings are equal)...
bluez-5.85/src/sdp-xml.c:483:53: branch_true: ...to here
bluez-5.85/src/sdp-xml.c:500:28: branch_true: following ‘true’ branch (when the strings are equal)...
bluez-5.85/src/sdp-xml.c:501:85: branch_true: ...to here
bluez-5.85/src/sdp-xml.c:501:33: danger: ‘<unknown>’ leaks here; was allocated at [(27)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/26)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def433]
bluez-5.85/src/sdp-xml.c:934:17: warning[-Wanalyzer-malloc-leak]: leak of ‘strBuf’
bluez-5.85/src/sdp-xml.c:1000:6: enter_function: entry to ‘convert_sdp_record_to_xml’
bluez-5.85/src/sdp-xml.c:1008:12: branch_true: following ‘true’ branch...
bluez-5.85/src/sdp-xml.c:1011:17: call_function: inlined call to ‘sdp_list_foreach’ from ‘convert_sdp_record_to_xml’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def434]
bluez-5.85/src/sdpd-database.c:156:24: warning[-Wanalyzer-malloc-leak]: leak of ‘item’
bluez-5.85/src/sdpd-database.c:147:31: acquire_memory: allocated here
bluez-5.85/src/sdpd-database.c:149:12: branch_false: following ‘false’ branch (when ‘item’ is non-NULL)...
bluez-5.85/src/sdpd-database.c:154:9: branch_false: ...to here
bluez-5.85/src/sdpd-database.c:156:24: throw: if ‘sdp_list_insert_sorted’ throws an exception...
bluez-5.85/src/sdpd-database.c:156:24: danger: ‘item’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def435]
bluez-5.85/src/sdpd-database.c:178:21: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
bluez-5.85/src/sdpd-database.c:171:15: acquire_memory: allocated here
bluez-5.85/src/sdpd-database.c:172:12: branch_false: following ‘false’ branch (when ‘dev’ is non-NULL)...
bluez-5.85/src/sdpd-database.c:175:9: branch_false: ...to here
bluez-5.85/src/sdpd-database.c:178:21: throw: if ‘sdp_list_insert_sorted’ throws an exception...
bluez-5.85/src/sdpd-database.c:178:21: danger: ‘dev’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def436]
bluez-5.85/src/sdpd-request.c:70:19: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
bluez-5.85/src/sdpd-request.c:1009:13: enter_function: entry to ‘process_request’
bluez-5.85/src/sdpd-request.c:1014:24: acquire_memory: allocated here
bluez-5.85/src/sdpd-request.c:1077:17: call_function: calling ‘sdp_cstate_cleanup’ from ‘process_request’
Error: CPPCHECK_WARNING (CWE-476): [#def437]
bluez-5.85/src/sdpd-request.c:105: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-476): [#def438]
bluez-5.85/src/sdpd-request.c:106: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cinfo
Error: CPPCHECK_WARNING (CWE-476): [#def439]
bluez-5.85/src/sdpd-request.c:107: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cinfo
Error: CPPCHECK_WARNING (CWE-476): [#def440]
bluez-5.85/src/sdpd-request.c:108: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cinfo
Error: CPPCHECK_WARNING (CWE-476): [#def441]
bluez-5.85/src/sdpd-request.c:109: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cinfo
Error: CPPCHECK_WARNING (CWE-476): [#def442]
bluez-5.85/src/sdpd-request.c:110: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cinfo
Error: CPPCHECK_WARNING (CWE-476): [#def443]
bluez-5.85/src/sdpd-request.c:111: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cinfo
Error: CPPCHECK_WARNING (CWE-476): [#def444]
bluez-5.85/src/sdpd-request.c:112: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cinfo
Error: CPPCHECK_WARNING (CWE-476): [#def445]
bluez-5.85/src/sdpd-request.c:116: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cinfo
Error: COMPILER_WARNING: [#def446]
bluez-5.85/src/sdpd-request.c: scope_hint: In function ‘extract_des’
bluez-5.85/src/sdpd-request.c:141:15: warning[-Wunused-but-set-variable=]: variable ‘numberOfElements’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-401): [#def447]
bluez-5.85/src/sdpd-request.c:149:19: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
bluez-5.85/src/sdpd-request.c:1009:13: enter_function: entry to ‘process_request’
bluez-5.85/src/sdpd-request.c:1014:24: acquire_memory: allocated here
bluez-5.85/src/sdpd-request.c:1023:12: branch_false: following ‘false’ branch...
bluez-5.85/src/sdpd-request.c:1028:23: branch_false: ...to here
bluez-5.85/src/sdpd-request.c:1033:26: call_function: calling ‘service_search_req’ from ‘process_request’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def448]
bluez-5.85/src/sdpd-request.c:153:17: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
bluez-5.85/src/sdpd-request.c:1009:13: enter_function: entry to ‘process_request’
bluez-5.85/src/sdpd-request.c:1014:24: acquire_memory: allocated here
bluez-5.85/src/sdpd-request.c:1023:12: branch_false: following ‘false’ branch...
bluez-5.85/src/sdpd-request.c:1028:23: branch_false: ...to here
bluez-5.85/src/sdpd-request.c:1033:26: call_function: calling ‘service_search_req’ from ‘process_request’
Error: CPPCHECK_WARNING (CWE-476): [#def449]
bluez-5.85/src/sdpd-request.c:203: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: aid
Error: GCC_ANALYZER_WARNING (CWE-476): [#def450]
bluez-5.85/src/sdpd-request.c:203:33: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘aid’
bluez-5.85/src/sdpd-request.c:1009:13: enter_function: entry to ‘process_request’
bluez-5.85/src/sdpd-request.c:1023:12: branch_false: following ‘false’ branch...
bluez-5.85/src/sdpd-request.c:1028:23: branch_false: ...to here
bluez-5.85/src/sdpd-request.c:1038:26: call_function: calling ‘service_attr_req’ from ‘process_request’
Error: CPPCHECK_WARNING (CWE-476): [#def451]
bluez-5.85/src/sdpd-request.c:204: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: aid
Error: CPPCHECK_WARNING (CWE-476): [#def452]
bluez-5.85/src/sdpd-request.c:230: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: aid
Error: GCC_ANALYZER_WARNING (CWE-476): [#def453]
bluez-5.85/src/sdpd-request.c:230:33: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘aid’
bluez-5.85/src/sdpd-request.c:1009:13: enter_function: entry to ‘process_request’
bluez-5.85/src/sdpd-request.c:1023:12: branch_false: following ‘false’ branch...
bluez-5.85/src/sdpd-request.c:1028:23: branch_false: ...to here
bluez-5.85/src/sdpd-request.c:1038:26: call_function: calling ‘service_attr_req’ from ‘process_request’
Error: CPPCHECK_WARNING (CWE-476): [#def454]
bluez-5.85/src/sdpd-request.c:231: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: aid
Error: GCC_ANALYZER_WARNING (CWE-401): [#def455]
bluez-5.85/src/sdpd-request.c:250:34: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
bluez-5.85/src/sdpd-request.c:1009:13: enter_function: entry to ‘process_request’
bluez-5.85/src/sdpd-request.c:1014:24: acquire_memory: allocated here
bluez-5.85/src/sdpd-request.c:1023:12: branch_false: following ‘false’ branch...
bluez-5.85/src/sdpd-request.c:1028:23: branch_false: ...to here
bluez-5.85/src/sdpd-request.c:1033:26: call_function: calling ‘service_search_req’ from ‘process_request’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def456]
bluez-5.85/src/sdpd-request.c:250:34: warning[-Wanalyzer-malloc-leak]: leak of ‘puuid’
bluez-5.85/src/sdpd-request.c:837:12: enter_function: entry to ‘service_search_attr_req’
bluez-5.85/src/sdpd-request.c:854:19: call_function: calling ‘extract_des’ from ‘service_search_attr_req’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def457]
bluez-5.85/src/sdpd-request.c:265:32: warning[-Wanalyzer-malloc-leak]: leak of ‘aid’
bluez-5.85/src/sdpd-request.c:1009:13: enter_function: entry to ‘process_request’
bluez-5.85/src/sdpd-request.c:1023:12: branch_false: following ‘false’ branch...
bluez-5.85/src/sdpd-request.c:1028:23: branch_false: ...to here
bluez-5.85/src/sdpd-request.c:1038:26: call_function: calling ‘service_attr_req’ from ‘process_request’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def458]
bluez-5.85/src/sdpd-request.c:265:32: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
bluez-5.85/src/sdpd-request.c:1009:13: enter_function: entry to ‘process_request’
bluez-5.85/src/sdpd-request.c:1014:24: acquire_memory: allocated here
bluez-5.85/src/sdpd-request.c:1023:12: branch_false: following ‘false’ branch...
bluez-5.85/src/sdpd-request.c:1028:23: branch_false: ...to here
bluez-5.85/src/sdpd-request.c:1033:26: call_function: calling ‘service_search_req’ from ‘process_request’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def459]
bluez-5.85/src/sdpd-request.c:265:32: warning[-Wanalyzer-malloc-leak]: leak of ‘pElem’
bluez-5.85/src/sdpd-request.c:837:12: enter_function: entry to ‘service_search_attr_req’
bluez-5.85/src/sdpd-request.c:854:19: call_function: calling ‘extract_des’ from ‘service_search_attr_req’
Error: CPPCHECK_WARNING (CWE-476): [#def460]
bluez-5.85/src/sdpd-request.c:1017: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf
Error: GCC_ANALYZER_WARNING (CWE-688): [#def461]
bluez-5.85/src/sdpd-request.c:1017:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘buf’ where non-null expected
bluez-5.85/src/sdpd-request.c:1014:24: acquire_memory: this call could return NULL
bluez-5.85/src/sdpd-request.c:1017:9: danger: argument 1 (‘buf’) from [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-682): [#def462]
bluez-5.85/src/sdpd-request.c:1018: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def463]
bluez-5.85/src/sdpd-request.c:1050:34: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
bluez-5.85/src/sdpd-request.c:1014:24: acquire_memory: allocated here
bluez-5.85/src/sdpd-request.c:1023:12: branch_false: following ‘false’ branch...
bluez-5.85/src/sdpd-request.c:1028:23: branch_false: ...to here
bluez-5.85/src/sdpd-request.c:1049:20: branch_true: following ‘true’ branch...
bluez-5.85/src/sdpd-request.c:1050:34: branch_true: ...to here
bluez-5.85/src/sdpd-request.c:1050:34: throw: if ‘service_register_req’ throws an exception...
bluez-5.85/src/sdpd-request.c:1050:34: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def464]
bluez-5.85/src/sdpd-request.c:1057:34: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
bluez-5.85/src/sdpd-request.c:1014:24: acquire_memory: allocated here
bluez-5.85/src/sdpd-request.c:1023:12: branch_false: following ‘false’ branch...
bluez-5.85/src/sdpd-request.c:1028:23: branch_false: ...to here
bluez-5.85/src/sdpd-request.c:1056:20: branch_true: following ‘true’ branch...
bluez-5.85/src/sdpd-request.c:1057:34: branch_true: ...to here
bluez-5.85/src/sdpd-request.c:1057:34: throw: if ‘service_update_req’ throws an exception...
bluez-5.85/src/sdpd-request.c:1057:34: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def465]
bluez-5.85/src/sdpd-request.c:1064:34: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
bluez-5.85/src/sdpd-request.c:1014:24: acquire_memory: allocated here
bluez-5.85/src/sdpd-request.c:1023:12: branch_false: following ‘false’ branch...
bluez-5.85/src/sdpd-request.c:1028:23: branch_false: ...to here
bluez-5.85/src/sdpd-request.c:1063:20: branch_true: following ‘true’ branch...
bluez-5.85/src/sdpd-request.c:1064:34: branch_true: ...to here
bluez-5.85/src/sdpd-request.c:1064:34: throw: if ‘service_remove_req’ throws an exception...
bluez-5.85/src/sdpd-request.c:1064:34: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def466]
bluez-5.85/src/sdpd-request.c:1069:17: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
bluez-5.85/src/sdpd-request.c:1014:24: acquire_memory: allocated here
bluez-5.85/src/sdpd-request.c:1023:12: branch_false: following ‘false’ branch...
bluez-5.85/src/sdpd-request.c:1028:23: branch_false: ...to here
bluez-5.85/src/sdpd-request.c:1069:17: throw: if ‘btd_error’ throws an exception...
bluez-5.85/src/sdpd-request.c:1069:17: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def467]
bluez-5.85/src/sdpd-request.c:1093:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
bluez-5.85/src/sdpd-request.c:1014:24: acquire_memory: allocated here
bluez-5.85/src/sdpd-request.c:1093:13: throw: if ‘send’ throws an exception...
bluez-5.85/src/sdpd-request.c:1093:13: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def468]
bluez-5.85/src/sdpd-request.c:1094:17: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
bluez-5.85/src/sdpd-request.c:1014:24: acquire_memory: allocated here
bluez-5.85/src/sdpd-request.c:1093:12: branch_true: following ‘true’ branch...
bluez-5.85/src/sdpd-request.c:1094:17: branch_true: ...to here
bluez-5.85/src/sdpd-request.c:1094:17: throw: if ‘btd_error’ throws an exception...
bluez-5.85/src/sdpd-request.c:1094:17: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def469]
bluez-5.85/src/sdpd-server.c:161:15: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
bluez-5.85/src/sdpd-server.c:149:12: branch_false: following ‘false’ branch...
bluez-5.85/src/sdpd-server.c:152:15: branch_false: ...to here
bluez-5.85/src/sdpd-server.c:153:12: branch_false: following ‘false’ branch (when ‘len > 4’)...
bluez-5.85/src/sdpd-server.c:156:40: branch_false: ...to here
bluez-5.85/src/sdpd-server.c:157:15: acquire_memory: allocated here
bluez-5.85/src/sdpd-server.c:158:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
bluez-5.85/src/sdpd-server.c:161:15: branch_false: ...to here
bluez-5.85/src/sdpd-server.c:161:15: throw: if ‘recv’ throws an exception...
bluez-5.85/src/sdpd-server.c:161:15: danger: ‘buf’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-476): [#def470]
bluez-5.85/src/sdpd-service.c:378: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: version
Error: CPPCHECK_WARNING (CWE-476): [#def471]
bluez-5.85/src/sdpd-service.c:379: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: version
Error: CPPCHECK_WARNING (CWE-476): [#def472]
bluez-5.85/src/sdpd-service.c:380: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: version
Error: CPPCHECK_WARNING (CWE-476): [#def473]
bluez-5.85/src/sdpd-service.c:381: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: versions
Error: CPPCHECK_WARNING (CWE-476): [#def474]
bluez-5.85/src/sdpd-service.c:382: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: versionDTDs
Error: CPPCHECK_WARNING (CWE-476): [#def475]
bluez-5.85/src/sdpd-service.c:386: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: versions
Error: GCC_ANALYZER_WARNING (CWE-688): [#def476]
bluez-5.85/src/shared/ad.c:389:17: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
bluez-5.85/src/shared/ad.c:385:12: branch_true: following 'true' branch...
bluez-5.85/src/shared/ad.c:386:21: branch_true: ...to here
bluez-5.85/src/shared/ad.c:388:17: release_memory: using NULL here
bluez-5.85/src/shared/ad.c:389:17: danger: argument 1 ('realloc(*<unknown>.data, len)') NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def477]
bluez-5.85/src/shared/ad.c:547:43: warning[-Wanalyzer-malloc-leak]: leak of 'iov.iov_base'
bluez-5.85/src/shared/ad.c:694:10: enter_function: entry to 'bt_ad_generate'
bluez-5.85/src/shared/ad.c:698:12: branch_false: following 'false' branch (when 'ad' is non-NULL)...
bluez-5.85/src/shared/ad.c:701:19: branch_false: ...to here
bluez-5.85/src/shared/ad.c:701:19: call_function: calling 'bt_ad_length' from 'bt_ad_generate'
bluez-5.85/src/shared/ad.c:701:19: return_function: returning to 'bt_ad_generate' from 'bt_ad_length'
bluez-5.85/src/shared/ad.c:703:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/ad.c:706:24: branch_false: ...to here
bluez-5.85/src/shared/ad.c:706:24: acquire_memory: allocated here
bluez-5.85/src/shared/ad.c:707:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/ad.c:710:9: branch_false: ...to here
bluez-5.85/src/shared/ad.c:712:9: call_function: calling 'serialize_service_uuids' from 'bt_ad_generate'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def478]
bluez-5.85/src/shared/ad.c:556:33: warning[-Wanalyzer-malloc-leak]: leak of 'iov.iov_base'
bluez-5.85/src/shared/ad.c:694:10: enter_function: entry to 'bt_ad_generate'
bluez-5.85/src/shared/ad.c:698:12: branch_false: following 'false' branch (when 'ad' is non-NULL)...
bluez-5.85/src/shared/ad.c:701:19: branch_false: ...to here
bluez-5.85/src/shared/ad.c:701:19: call_function: calling 'bt_ad_length' from 'bt_ad_generate'
bluez-5.85/src/shared/ad.c:701:19: return_function: returning to 'bt_ad_generate' from 'bt_ad_length'
bluez-5.85/src/shared/ad.c:703:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/ad.c:706:24: branch_false: ...to here
bluez-5.85/src/shared/ad.c:706:24: acquire_memory: allocated here
bluez-5.85/src/shared/ad.c:707:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/ad.c:710:9: branch_false: ...to here
bluez-5.85/src/shared/ad.c:712:9: call_function: calling 'serialize_service_uuids' from 'bt_ad_generate'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def479]
bluez-5.85/src/shared/ad.c:847:17: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
bluez-5.85/src/shared/ad.c:843:12: branch_true: following 'true' branch...
bluez-5.85/src/shared/ad.c:844:21: branch_true: ...to here
bluez-5.85/src/shared/ad.c:846:17: release_memory: using NULL here
bluez-5.85/src/shared/ad.c:847:17: danger: argument 1 ('realloc(*<unknown>.data, len)') NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def480]
bluez-5.85/src/shared/ad.c:983:17: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
bluez-5.85/src/shared/ad.c:979:12: branch_true: following 'true' branch...
bluez-5.85/src/shared/ad.c:980:21: branch_true: ...to here
bluez-5.85/src/shared/ad.c:982:17: release_memory: using NULL here
bluez-5.85/src/shared/ad.c:983:17: danger: argument 1 ('realloc(*<unknown>.data, len)') NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-404): [#def481]
bluez-5.85/src/shared/att.c:307:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
bluez-5.85/src/shared/att.c:821:13: enter_function: entry to 'handle_rsp'
bluez-5.85/src/shared/att.c:835:12: branch_true: following 'true' branch (when 'op' is NULL)...
bluez-5.85/src/shared/att.c:836:17: branch_true: ...to here
bluez-5.85/src/shared/att.c:836:17: call_function: calling 'att_log' from 'handle_rsp'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def482]
bluez-5.85/src/shared/bap.c:708:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
bluez-5.85/src/shared/bap.c:5671:6: enter_function: entry to 'bt_bap_detach'
bluez-5.85/src/shared/bap.c:5673:9: call_function: calling 'bap_debug' from 'bt_bap_detach'
Error: CPPCHECK_WARNING (CWE-476): [#def483]
bluez-5.85/src/shared/bap.c:1027: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: status
Error: CPPCHECK_WARNING (CWE-476): [#def484]
bluez-5.85/src/shared/bap.c:1028: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: status
Error: CPPCHECK_WARNING (CWE-476): [#def485]
bluez-5.85/src/shared/bap.c:1029: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: status
Error: CPPCHECK_WARNING (CWE-476): [#def486]
bluez-5.85/src/shared/bap.c:1091: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: status
Error: CPPCHECK_WARNING (CWE-476): [#def487]
bluez-5.85/src/shared/bap.c:1092: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: status
Error: CPPCHECK_WARNING (CWE-476): [#def488]
bluez-5.85/src/shared/bap.c:1093: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: status
Error: CPPCHECK_WARNING (CWE-476): [#def489]
bluez-5.85/src/shared/bap.c:1095: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: status
Error: CPPCHECK_WARNING (CWE-476): [#def490]
bluez-5.85/src/shared/bap.c:1128: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: status
Error: CPPCHECK_WARNING (CWE-476): [#def491]
bluez-5.85/src/shared/bap.c:1129: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: status
Error: CPPCHECK_WARNING (CWE-476): [#def492]
bluez-5.85/src/shared/bap.c:1130: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: status
Error: CPPCHECK_WARNING (CWE-476): [#def493]
bluez-5.85/src/shared/bap.c:1132: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: status
Error: GCC_ANALYZER_WARNING (CWE-476): [#def494]
bluez-5.85/src/shared/bap.c:1672:46: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
bluez-5.85/src/shared/bap.c:5342:13: enter_function: entry to 'bap_cp_notify'
bluez-5.85/src/shared/bap.c:5351:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/bap.c:5355:9: branch_false: ...to here
bluez-5.85/src/shared/bap.c:5371:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/bap.c:5371:12: branch_false: ...to here
bluez-5.85/src/shared/bap.c:5387:9: call_function: calling 'bap_req_complete' from 'bap_cp_notify'
bluez-5.85/src/shared/bap.c:5387:9: return_function: returning to 'bap_cp_notify' from 'bap_req_complete'
bluez-5.85/src/shared/bap.c:5388:9: call_function: calling 'bap_process_queue' from 'bap_cp_notify'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def495]
bluez-5.85/src/shared/bap.c:5396:46: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def496]
bluez-5.85/src/shared/bap.c:5461:9: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def497]
bluez-5.85/src/shared/bass.c:141:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
bluez-5.85/src/shared/bass.c:1497:13: enter_function: entry to 'bass_disconnected'
bluez-5.85/src/shared/bass.c:1503:9: call_function: calling 'bass_debug' from 'bass_disconnected'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def498]
bluez-5.85/src/shared/bass.c:420:17: warning[-Wanalyzer-null-dereference]: dereference of NULL 'bad_code'
bluez-5.85/src/shared/bass.c:1279:13: enter_function: entry to 'read_bcast_recv_state'
bluez-5.85/src/shared/bass.c:1298:13: call_function: calling 'bass_build_bcast_src' from 'read_bcast_recv_state'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def499]
bluez-5.85/src/shared/bass.c:455:15: warning[-Wanalyzer-malloc-leak]: leak of 'notif'
bluez-5.85/src/shared/bass.c:1861:5: enter_function: entry to 'bt_bass_set_pa_sync'
bluez-5.85/src/shared/bass.c:1865:12: branch_false: following 'false' branch (when 'bcast_src' is non-NULL)...
bluez-5.85/src/shared/bass.c:1868:9: branch_false: ...to here
bluez-5.85/src/shared/bass.c:1870:15: call_function: calling 'bass_parse_bcast_src' from 'bt_bass_set_pa_sync'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def500]
bluez-5.85/src/shared/bass.c:1047:28: warning[-Wanalyzer-malloc-leak]: leak of '*data.meta'
bluez-5.85/src/shared/bass.c:1018:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/bass.c:1026:9: branch_false: ...to here
bluez-5.85/src/shared/bass.c:1028:25: branch_true: following 'true' branch...
bluez-5.85/src/shared/bass.c:1030:34: branch_true: ...to here
bluez-5.85/src/shared/bass.c:1034:20: branch_false: following 'false' branch...
bluez-5.85/src/shared/bass.c:1037:22: branch_false: ...to here
bluez-5.85/src/shared/bass.c:1037:20: branch_false: following 'false' branch...
bluez-5.85/src/shared/bass.c:1041:33: branch_false: ...to here
bluez-5.85/src/shared/bass.c:1041:20: branch_true: following 'true' branch...
bluez-5.85/src/shared/bass.c:1043:25: branch_true: ...to here
bluez-5.85/src/shared/bass.c:1047:28: branch_false: following 'false' branch...
bluez-5.85/src/shared/bass.c:1051:22: branch_false: ...to here
bluez-5.85/src/shared/bass.c:1051:20: branch_true: following 'true' branch...
bluez-5.85/src/shared/bass.c:1051:20: branch_true: ...to here
bluez-5.85/src/shared/bass.c:1028:25: branch_true: following 'true' branch...
bluez-5.85/src/shared/bass.c:1030:34: branch_true: ...to here
bluez-5.85/src/shared/bass.c:1034:20: branch_false: following 'false' branch...
bluez-5.85/src/shared/bass.c:1037:22: branch_false: ...to here
bluez-5.85/src/shared/bass.c:1037:20: branch_false: following 'false' branch...
bluez-5.85/src/shared/bass.c:1041:33: branch_false: ...to here
bluez-5.85/src/shared/bass.c:1041:20: branch_true: following 'true' branch...
bluez-5.85/src/shared/bass.c:1043:25: branch_true: ...to here
bluez-5.85/src/shared/bass.c:1046:38: acquire_memory: allocated here
bluez-5.85/src/shared/bass.c:1047:28: danger: '*data.meta' leaks here; was allocated at [(23)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/22)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def501]
bluez-5.85/src/shared/bass.c:1829:9: warning[-Wanalyzer-malloc-leak]: leak of 'req.iov_base'
bluez-5.85/src/shared/bass.c:1812:5: enter_function: entry to 'bt_bass_send'
bluez-5.85/src/shared/bass.c:1820:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/bass.c:1823:9: call_function: calling 'bass_debug' from 'bt_bass_send'
bluez-5.85/src/shared/bass.c:1823:9: return_function: returning to 'bt_bass_send' from 'bass_debug'
bluez-5.85/src/shared/bass.c:1825:24: acquire_memory: allocated here
bluez-5.85/src/shared/bass.c:1826:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/bass.c:1829:9: branch_false: ...to here
bluez-5.85/src/shared/bass.c:1829:9: throw: if 'util_iov_push_mem' throws an exception...
bluez-5.85/src/shared/bass.c:1829:9: danger: 'req.iov_base' leaks here; was allocated at [(9)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def502]
bluez-5.85/src/shared/btsnoop.c:83:23: warning[-Wanalyzer-malloc-leak]: leak of 'btsnoop'
bluez-5.85/src/shared/btsnoop.c:79:19: acquire_memory: allocated here
bluez-5.85/src/shared/btsnoop.c:80:12: branch_false: following 'false' branch (when 'btsnoop' is non-NULL)...
bluez-5.85/src/shared/btsnoop.c:83:23: branch_false: ...to here
bluez-5.85/src/shared/btsnoop.c:83:23: throw: if 'open' throws an exception...
bluez-5.85/src/shared/btsnoop.c:83:23: danger: 'btsnoop' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def503]
bluez-5.85/src/shared/btsnoop.c:123:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor
bluez-5.85/src/shared/btsnoop.c:80:12: branch_false: following 'false' branch (when 'btsnoop' is non-NULL)...
bluez-5.85/src/shared/btsnoop.c:83:23: branch_false: ...to here
bluez-5.85/src/shared/btsnoop.c:83:23: acquire_resource: opened here
bluez-5.85/src/shared/btsnoop.c:84:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/btsnoop.c:89:9: branch_false: ...to here
bluez-5.85/src/shared/btsnoop.c:123:9: throw: if 'close' throws an exception...
bluez-5.85/src/shared/btsnoop.c:123:9: danger: leaks here; was opened at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def504]
bluez-5.85/src/shared/btsnoop.c:123:9: warning[-Wanalyzer-malloc-leak]: leak of 'btsnoop'
bluez-5.85/src/shared/btsnoop.c:79:19: acquire_memory: allocated here
bluez-5.85/src/shared/btsnoop.c:80:12: branch_false: following 'false' branch (when 'btsnoop' is non-NULL)...
bluez-5.85/src/shared/btsnoop.c:83:23: branch_false: ...to here
bluez-5.85/src/shared/btsnoop.c:84:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/btsnoop.c:89:9: branch_false: ...to here
bluez-5.85/src/shared/btsnoop.c:123:9: throw: if 'close' throws an exception...
bluez-5.85/src/shared/btsnoop.c:123:9: danger: 'btsnoop' leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def505]
bluez-5.85/src/shared/btsnoop.c:153:23: warning[-Wanalyzer-malloc-leak]: leak of 'btsnoop'
bluez-5.85/src/shared/btsnoop.c:138:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/btsnoop.c:141:19: branch_false: ...to here
bluez-5.85/src/shared/btsnoop.c:141:19: acquire_memory: allocated here
bluez-5.85/src/shared/btsnoop.c:142:12: branch_false: following 'false' branch (when 'btsnoop' is non-NULL)...
bluez-5.85/src/shared/btsnoop.c:146:12: branch_false: ...to here
bluez-5.85/src/shared/btsnoop.c:153:23: throw: if 'open' throws an exception...
bluez-5.85/src/shared/btsnoop.c:153:23: danger: 'btsnoop' leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def506]
bluez-5.85/src/shared/btsnoop.c:170:19: warning[-Wanalyzer-malloc-leak]: leak of 'btsnoop'
bluez-5.85/src/shared/btsnoop.c:138:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/btsnoop.c:141:19: branch_false: ...to here
bluez-5.85/src/shared/btsnoop.c:141:19: acquire_memory: allocated here
bluez-5.85/src/shared/btsnoop.c:142:12: branch_false: following 'false' branch (when 'btsnoop' is non-NULL)...
bluez-5.85/src/shared/btsnoop.c:146:12: branch_false: ...to here
bluez-5.85/src/shared/btsnoop.c:155:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/btsnoop.c:160:9: branch_false: ...to here
bluez-5.85/src/shared/btsnoop.c:170:19: throw: if 'write' throws an exception...
bluez-5.85/src/shared/btsnoop.c:170:19: danger: 'btsnoop' leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def507]
bluez-5.85/src/shared/btsnoop.c:172:17: warning[-Wanalyzer-malloc-leak]: leak of 'btsnoop'
bluez-5.85/src/shared/btsnoop.c:138:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/btsnoop.c:141:19: branch_false: ...to here
bluez-5.85/src/shared/btsnoop.c:141:19: acquire_memory: allocated here
bluez-5.85/src/shared/btsnoop.c:142:12: branch_false: following 'false' branch (when 'btsnoop' is non-NULL)...
bluez-5.85/src/shared/btsnoop.c:146:12: branch_false: ...to here
bluez-5.85/src/shared/btsnoop.c:155:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/btsnoop.c:160:9: branch_false: ...to here
bluez-5.85/src/shared/btsnoop.c:171:12: branch_true: following 'true' branch...
bluez-5.85/src/shared/btsnoop.c:172:17: branch_true: ...to here
bluez-5.85/src/shared/btsnoop.c:172:17: throw: if 'close' throws an exception...
bluez-5.85/src/shared/btsnoop.c:172:17: danger: 'btsnoop' leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def508]
bluez-5.85/src/shared/ccp.c:124:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
bluez-5.85/src/shared/ccp.c:1220:6: enter_function: entry to 'bt_ccp_detach'
bluez-5.85/src/shared/ccp.c:1222:9: call_function: calling 'ccp_debug' from 'bt_ccp_detach'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def509]
bluez-5.85/src/shared/ccp.c:813:46: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
bluez-5.85/src/shared/ccp.c:806:13: enter_function: entry to 'bt_ccp_technology_attach'
bluez-5.85/src/shared/ccp.c:809:30: call_function: calling 'ccp_get_ccs' from 'bt_ccp_technology_attach'
bluez-5.85/src/shared/ccp.c:809:30: return_function: returning to 'bt_ccp_technology_attach' from 'ccp_get_ccs'
bluez-5.85/src/shared/ccp.c:811:9: call_function: calling 'ccp_debug' from 'bt_ccp_technology_attach'
bluez-5.85/src/shared/ccp.c:811:9: return_function: returning to 'bt_ccp_technology_attach' from 'ccp_debug'
bluez-5.85/src/shared/ccp.c:813:46: danger: dereference of NULL 'ccp_get_ccs(ccp)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def510]
bluez-5.85/src/shared/ccp.c:833:46: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
bluez-5.85/src/shared/ccp.c:826:13: enter_function: entry to 'bt_ccp_strength_attach'
bluez-5.85/src/shared/ccp.c:829:30: call_function: calling 'ccp_get_ccs' from 'bt_ccp_strength_attach'
bluez-5.85/src/shared/ccp.c:829:30: return_function: returning to 'bt_ccp_strength_attach' from 'ccp_get_ccs'
bluez-5.85/src/shared/ccp.c:831:9: call_function: calling 'ccp_debug' from 'bt_ccp_strength_attach'
bluez-5.85/src/shared/ccp.c:831:9: return_function: returning to 'bt_ccp_strength_attach' from 'ccp_debug'
bluez-5.85/src/shared/ccp.c:833:46: danger: dereference of NULL 'ccp_get_ccs(ccp)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def511]
bluez-5.85/src/shared/ccp.c:853:46: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
bluez-5.85/src/shared/ccp.c:846:13: enter_function: entry to 'bt_ccp_ccid_attach'
bluez-5.85/src/shared/ccp.c:849:30: call_function: calling 'ccp_get_ccs' from 'bt_ccp_ccid_attach'
bluez-5.85/src/shared/ccp.c:849:30: return_function: returning to 'bt_ccp_ccid_attach' from 'ccp_get_ccs'
bluez-5.85/src/shared/ccp.c:851:9: call_function: calling 'ccp_debug' from 'bt_ccp_ccid_attach'
bluez-5.85/src/shared/ccp.c:851:9: return_function: returning to 'bt_ccp_ccid_attach' from 'ccp_debug'
bluez-5.85/src/shared/ccp.c:853:46: danger: dereference of NULL 'ccp_get_ccs(ccp)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def512]
bluez-5.85/src/shared/ccp.c:872:46: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
bluez-5.85/src/shared/ccp.c:865:13: enter_function: entry to 'bt_ccp_tar_uri_attach'
bluez-5.85/src/shared/ccp.c:868:30: call_function: calling 'ccp_get_ccs' from 'bt_ccp_tar_uri_attach'
bluez-5.85/src/shared/ccp.c:868:30: return_function: returning to 'bt_ccp_tar_uri_attach' from 'ccp_get_ccs'
bluez-5.85/src/shared/ccp.c:870:9: call_function: calling 'ccp_debug' from 'bt_ccp_tar_uri_attach'
bluez-5.85/src/shared/ccp.c:870:9: return_function: returning to 'bt_ccp_tar_uri_attach' from 'ccp_debug'
bluez-5.85/src/shared/ccp.c:872:46: danger: dereference of NULL 'ccp_get_ccs(ccp)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def513]
bluez-5.85/src/shared/ccp.c:893:46: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
bluez-5.85/src/shared/ccp.c:886:13: enter_function: entry to 'bt_ccp_ctrl_point_attach'
bluez-5.85/src/shared/ccp.c:889:30: call_function: calling 'ccp_get_ccs' from 'bt_ccp_ctrl_point_attach'
bluez-5.85/src/shared/ccp.c:889:30: return_function: returning to 'bt_ccp_ctrl_point_attach' from 'ccp_get_ccs'
bluez-5.85/src/shared/ccp.c:891:9: call_function: calling 'ccp_debug' from 'bt_ccp_ctrl_point_attach'
bluez-5.85/src/shared/ccp.c:891:9: return_function: returning to 'bt_ccp_ctrl_point_attach' from 'ccp_debug'
bluez-5.85/src/shared/ccp.c:893:46: danger: dereference of NULL 'ccp_get_ccs(ccp)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def514]
bluez-5.85/src/shared/ccp.c:913:46: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
bluez-5.85/src/shared/ccp.c:906:13: enter_function: entry to 'bt_ccp_ctrl_opcode_attach'
bluez-5.85/src/shared/ccp.c:909:30: call_function: calling 'ccp_get_ccs' from 'bt_ccp_ctrl_opcode_attach'
bluez-5.85/src/shared/ccp.c:909:30: return_function: returning to 'bt_ccp_ctrl_opcode_attach' from 'ccp_get_ccs'
bluez-5.85/src/shared/ccp.c:911:9: call_function: calling 'ccp_debug' from 'bt_ccp_ctrl_opcode_attach'
bluez-5.85/src/shared/ccp.c:911:9: return_function: returning to 'bt_ccp_ctrl_opcode_attach' from 'ccp_debug'
bluez-5.85/src/shared/ccp.c:913:46: danger: dereference of NULL 'ccp_get_ccs(ccp)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def515]
bluez-5.85/src/shared/ccp.c:933:46: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
bluez-5.85/src/shared/ccp.c:926:13: enter_function: entry to 'bt_ccp_friendly_name_attach'
bluez-5.85/src/shared/ccp.c:929:30: call_function: calling 'ccp_get_ccs' from 'bt_ccp_friendly_name_attach'
bluez-5.85/src/shared/ccp.c:929:30: return_function: returning to 'bt_ccp_friendly_name_attach' from 'ccp_get_ccs'
bluez-5.85/src/shared/ccp.c:931:9: call_function: calling 'ccp_debug' from 'bt_ccp_friendly_name_attach'
bluez-5.85/src/shared/ccp.c:931:9: return_function: returning to 'bt_ccp_friendly_name_attach' from 'ccp_debug'
bluez-5.85/src/shared/ccp.c:933:46: danger: dereference of NULL 'ccp_get_ccs(ccp)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def516]
bluez-5.85/src/shared/ccp.c:953:46: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
bluez-5.85/src/shared/ccp.c:946:13: enter_function: entry to 'bt_ccp_signal_intrvl_attach'
bluez-5.85/src/shared/ccp.c:949:30: call_function: calling 'ccp_get_ccs' from 'bt_ccp_signal_intrvl_attach'
bluez-5.85/src/shared/ccp.c:949:30: return_function: returning to 'bt_ccp_signal_intrvl_attach' from 'ccp_get_ccs'
bluez-5.85/src/shared/ccp.c:951:9: call_function: calling 'ccp_debug' from 'bt_ccp_signal_intrvl_attach'
bluez-5.85/src/shared/ccp.c:951:9: return_function: returning to 'bt_ccp_signal_intrvl_attach' from 'ccp_debug'
bluez-5.85/src/shared/ccp.c:953:46: danger: dereference of NULL 'ccp_get_ccs(ccp)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def517]
bluez-5.85/src/shared/ccp.c:973:46: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
bluez-5.85/src/shared/ccp.c:966:13: enter_function: entry to 'bt_ccp_uri_list_attach'
bluez-5.85/src/shared/ccp.c:969:30: call_function: calling 'ccp_get_ccs' from 'bt_ccp_uri_list_attach'
bluez-5.85/src/shared/ccp.c:969:30: return_function: returning to 'bt_ccp_uri_list_attach' from 'ccp_get_ccs'
bluez-5.85/src/shared/ccp.c:971:9: call_function: calling 'ccp_debug' from 'bt_ccp_uri_list_attach'
bluez-5.85/src/shared/ccp.c:971:9: return_function: returning to 'bt_ccp_uri_list_attach' from 'ccp_debug'
bluez-5.85/src/shared/ccp.c:973:46: danger: dereference of NULL 'ccp_get_ccs(ccp)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def518]
bluez-5.85/src/shared/ccp.c:1129:9: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
bluez-5.85/src/shared/ccp.c:1123:13: enter_function: entry to 'foreach_ccs_service'
bluez-5.85/src/shared/ccp.c:1127:30: call_function: calling 'ccp_get_ccs' from 'foreach_ccs_service'
bluez-5.85/src/shared/ccp.c:1127:30: return_function: returning to 'foreach_ccs_service' from 'ccp_get_ccs'
bluez-5.85/src/shared/ccp.c:1129:9: danger: dereference of NULL 'ccp_get_ccs(user_data)'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def519]
bluez-5.85/src/shared/crypto.c:213:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor '*crypto.cmac_aes'
bluez-5.85/src/shared/crypto.c:589:13: enter_function: entry to 'aes_cmac_be'
bluez-5.85/src/shared/crypto.c:598:14: call_function: calling 'alg_new' from 'aes_cmac_be'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def520]
bluez-5.85/src/shared/crypto.c:213:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor '*crypto.ecb_aes'
bluez-5.85/src/shared/crypto.c:357:6: enter_function: entry to 'bt_crypto_e'
bluez-5.85/src/shared/crypto.c:367:9: call_function: inlined call to 'swap_buf' from 'bt_crypto_e'
bluez-5.85/src/shared/crypto.c:369:14: call_function: calling 'alg_new' from 'bt_crypto_e'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def521]
bluez-5.85/src/shared/crypto.c:259:39: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'alg_new(*crypto.ecb_aes, & tmp, 16)'
bluez-5.85/src/shared/crypto.c:357:6: enter_function: entry to 'bt_crypto_e'
bluez-5.85/src/shared/crypto.c:367:9: call_function: inlined call to 'swap_buf' from 'bt_crypto_e'
bluez-5.85/src/shared/crypto.c:369:14: call_function: calling 'alg_new' from 'bt_crypto_e'
bluez-5.85/src/shared/crypto.c:369:14: return_function: returning to 'bt_crypto_e' from 'alg_new'
bluez-5.85/src/shared/crypto.c:370:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/crypto.c:370:12: branch_false: ...to here
bluez-5.85/src/shared/crypto.c:375:9: call_function: inlined call to 'swap_buf' from 'bt_crypto_e'
bluez-5.85/src/shared/crypto.c:377:14: call_function: calling 'alg_encrypt' from 'bt_crypto_e'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def522]
bluez-5.85/src/shared/crypto.c:602:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'alg_new(*crypto.cmac_aes, key, 16)'
bluez-5.85/src/shared/crypto.c:589:13: enter_function: entry to 'aes_cmac_be'
bluez-5.85/src/shared/crypto.c:598:14: call_function: calling 'alg_new' from 'aes_cmac_be'
bluez-5.85/src/shared/crypto.c:598:14: return_function: returning to 'aes_cmac_be' from 'alg_new'
bluez-5.85/src/shared/crypto.c:599:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/crypto.c:602:15: branch_false: ...to here
bluez-5.85/src/shared/crypto.c:602:15: throw: if 'send' throws an exception...
bluez-5.85/src/shared/crypto.c:602:15: danger: 'alg_new(*crypto.cmac_aes, key, 16)' leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def523]
bluez-5.85/src/shared/crypto.c:738:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'alg_new(*crypto.cmac_aes, & key, 16)'
bluez-5.85/src/shared/crypto.c:724:6: enter_function: entry to 'bt_crypto_gatt_hash'
bluez-5.85/src/shared/crypto.c:731:12: branch_false: following 'false' branch (when 'crypto' is non-NULL)...
bluez-5.85/src/shared/crypto.c:734:14: branch_false: ...to here
bluez-5.85/src/shared/crypto.c:734:14: call_function: calling 'alg_new' from 'bt_crypto_gatt_hash'
bluez-5.85/src/shared/crypto.c:734:14: return_function: returning to 'bt_crypto_gatt_hash' from 'alg_new'
bluez-5.85/src/shared/crypto.c:735:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/crypto.c:738:15: branch_false: ...to here
bluez-5.85/src/shared/crypto.c:738:15: throw: if 'writev' throws an exception...
bluez-5.85/src/shared/crypto.c:738:15: danger: 'alg_new(*crypto.cmac_aes, & key, 16)' leaks here
Error: GCC_ANALYZER_WARNING (CWE-404): [#def524]
bluez-5.85/src/shared/csip.c:224:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
bluez-5.85/src/shared/csip.c:220:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/csip.c:223:9: acquire_resource: 'va_start' called here
bluez-5.85/src/shared/csip.c:224:9: throw: if 'util_debug_va' throws an exception...
bluez-5.85/src/shared/csip.c:224:9: danger: missing call to 'va_end' to match 'va_start' at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def525]
bluez-5.85/src/shared/ecc.c:78:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'fd'
bluez-5.85/src/shared/ecc.c:906:6: enter_function: entry to 'ecdh_shared_secret'
bluez-5.85/src/shared/ecc.c:914:14: call_function: calling 'get_random_number' from 'ecdh_shared_secret'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def526]
bluez-5.85/src/shared/ecc.c:86:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'fd'
bluez-5.85/src/shared/ecc.c:906:6: enter_function: entry to 'ecdh_shared_secret'
bluez-5.85/src/shared/ecc.c:914:14: call_function: calling 'get_random_number' from 'ecdh_shared_secret'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def527]
bluez-5.85/src/shared/gatt-client.c:191:9: warning[-Wanalyzer-malloc-leak]: leak of 'pdu'
bluez-5.85/src/shared/gatt-client.c:3142:13: enter_function: entry to 'handle_next_prep_write'
bluez-5.85/src/shared/gatt-client.c:3149:15: acquire_memory: allocated here
bluez-5.85/src/shared/gatt-client.c:3150:12: branch_false: following 'false' branch (when 'pdu' is non-NULL)...
bluez-5.85/src/shared/gatt-client.c:3155:9: branch_false: ...to here
bluez-5.85/src/shared/gatt-client.c:3165:12: branch_true: following 'true' branch...
bluez-5.85/src/shared/gatt-client.c:3166:17: branch_true: ...to here
bluez-5.85/src/shared/gatt-client.c:3166:17: call_function: calling 'request_unref' from 'handle_next_prep_write'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def528]
bluez-5.85/src/shared/gatt-client.c:205:17: warning[-Wanalyzer-malloc-leak]: leak of 'pdu'
bluez-5.85/src/shared/gatt-client.c:3142:13: enter_function: entry to 'handle_next_prep_write'
bluez-5.85/src/shared/gatt-client.c:3149:15: acquire_memory: allocated here
bluez-5.85/src/shared/gatt-client.c:3150:12: branch_false: following 'false' branch (when 'pdu' is non-NULL)...
bluez-5.85/src/shared/gatt-client.c:3155:9: branch_false: ...to here
bluez-5.85/src/shared/gatt-client.c:3165:12: branch_true: following 'true' branch...
bluez-5.85/src/shared/gatt-client.c:3166:17: branch_true: ...to here
bluez-5.85/src/shared/gatt-client.c:3166:17: call_function: calling 'request_unref' from 'handle_next_prep_write'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def529]
bluez-5.85/src/shared/gatt-client.c:208:17: warning[-Wanalyzer-malloc-leak]: leak of 'pdu'
bluez-5.85/src/shared/gatt-client.c:3142:13: enter_function: entry to 'handle_next_prep_write'
bluez-5.85/src/shared/gatt-client.c:3149:15: acquire_memory: allocated here
bluez-5.85/src/shared/gatt-client.c:3150:12: branch_false: following 'false' branch (when 'pdu' is non-NULL)...
bluez-5.85/src/shared/gatt-client.c:3155:9: branch_false: ...to here
bluez-5.85/src/shared/gatt-client.c:3165:12: branch_true: following 'true' branch...
bluez-5.85/src/shared/gatt-client.c:3166:17: branch_true: ...to here
bluez-5.85/src/shared/gatt-client.c:3166:17: call_function: calling 'request_unref' from 'handle_next_prep_write'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def530]
bluez-5.85/src/shared/gatt-client.c:209:21: warning[-Wanalyzer-malloc-leak]: leak of 'pdu'
bluez-5.85/src/shared/gatt-client.c:3142:13: enter_function: entry to 'handle_next_prep_write'
bluez-5.85/src/shared/gatt-client.c:3149:15: acquire_memory: allocated here
bluez-5.85/src/shared/gatt-client.c:3150:12: branch_false: following 'false' branch (when 'pdu' is non-NULL)...
bluez-5.85/src/shared/gatt-client.c:3155:9: branch_false: ...to here
bluez-5.85/src/shared/gatt-client.c:3165:12: branch_true: following 'true' branch...
bluez-5.85/src/shared/gatt-client.c:3166:17: branch_true: ...to here
bluez-5.85/src/shared/gatt-client.c:3166:17: call_function: calling 'request_unref' from 'handle_next_prep_write'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def531]
bluez-5.85/src/shared/gatt-client.c:418:17: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
bluez-5.85/src/shared/gatt-client.c:1968:13: enter_function: entry to 'service_changed_cb'
bluez-5.85/src/shared/gatt-client.c:1981:12: branch_true: following 'true' branch...
bluez-5.85/src/shared/gatt-client.c:1982:17: branch_true: ...to here
bluez-5.85/src/shared/gatt-client.c:1982:17: call_function: calling 'gatt_log' from 'service_changed_cb'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def532]
bluez-5.85/src/shared/gatt-client.c:2659:9: warning[-Wanalyzer-malloc-leak]: leak of 'pdu'
bluez-5.85/src/shared/gatt-client.c:3142:13: enter_function: entry to 'handle_next_prep_write'
bluez-5.85/src/shared/gatt-client.c:3149:15: acquire_memory: allocated here
bluez-5.85/src/shared/gatt-client.c:3150:12: branch_false: following 'false' branch (when 'pdu' is non-NULL)...
bluez-5.85/src/shared/gatt-client.c:3155:9: branch_false: ...to here
bluez-5.85/src/shared/gatt-client.c:3165:12: branch_true: following 'true' branch...
bluez-5.85/src/shared/gatt-client.c:3166:17: branch_true: ...to here
bluez-5.85/src/shared/gatt-client.c:3166:17: call_function: calling 'request_unref' from 'handle_next_prep_write'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def533]
bluez-5.85/src/shared/gatt-client.c:2662:17: warning[-Wanalyzer-malloc-leak]: leak of 'pdu'
bluez-5.85/src/shared/gatt-client.c:3142:13: enter_function: entry to 'handle_next_prep_write'
bluez-5.85/src/shared/gatt-client.c:3149:15: acquire_memory: allocated here
bluez-5.85/src/shared/gatt-client.c:3150:12: branch_false: following 'false' branch (when 'pdu' is non-NULL)...
bluez-5.85/src/shared/gatt-client.c:3155:9: branch_false: ...to here
bluez-5.85/src/shared/gatt-client.c:3165:12: branch_true: following 'true' branch...
bluez-5.85/src/shared/gatt-client.c:3166:17: branch_true: ...to here
bluez-5.85/src/shared/gatt-client.c:3166:17: call_function: calling 'request_unref' from 'handle_next_prep_write'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def534]
bluez-5.85/src/shared/gatt-client.c:2663:17: warning[-Wanalyzer-malloc-leak]: leak of 'pdu'
bluez-5.85/src/shared/gatt-client.c:3142:13: enter_function: entry to 'handle_next_prep_write'
bluez-5.85/src/shared/gatt-client.c:3149:15: acquire_memory: allocated here
bluez-5.85/src/shared/gatt-client.c:3150:12: branch_false: following 'false' branch (when 'pdu' is non-NULL)...
bluez-5.85/src/shared/gatt-client.c:3155:9: branch_false: ...to here
bluez-5.85/src/shared/gatt-client.c:3165:12: branch_true: following 'true' branch...
bluez-5.85/src/shared/gatt-client.c:3166:17: branch_true: ...to here
bluez-5.85/src/shared/gatt-client.c:3166:17: call_function: calling 'request_unref' from 'handle_next_prep_write'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def535]
bluez-5.85/src/shared/gatt-client.c:2668:17: warning[-Wanalyzer-malloc-leak]: leak of 'pdu'
bluez-5.85/src/shared/gatt-client.c:3142:13: enter_function: entry to 'handle_next_prep_write'
bluez-5.85/src/shared/gatt-client.c:3149:15: acquire_memory: allocated here
bluez-5.85/src/shared/gatt-client.c:3150:12: branch_false: following 'false' branch (when 'pdu' is non-NULL)...
bluez-5.85/src/shared/gatt-client.c:3155:9: branch_false: ...to here
bluez-5.85/src/shared/gatt-client.c:3165:12: branch_true: following 'true' branch...
bluez-5.85/src/shared/gatt-client.c:3166:17: branch_true: ...to here
bluez-5.85/src/shared/gatt-client.c:3166:17: call_function: calling 'request_unref' from 'handle_next_prep_write'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def536]
bluez-5.85/src/shared/gatt-client.c:2854:1: warning[-Wanalyzer-malloc-leak]: leak of 'buf'
bluez-5.85/src/shared/gatt-client.c:2856:13: enter_function: entry to 'read_long_cb'
bluez-5.85/src/shared/gatt-client.c:2864:12: branch_false: following 'false' branch (when 'opcode != 1')...
bluez-5.85/src/shared/gatt-client.c:2870:15: branch_false: ...to here
bluez-5.85/src/shared/gatt-client.c:2871:28: branch_false: following 'false' branch (when 'opcode == 13')...
bluez-5.85/src/shared/gatt-client.c:2872:29: branch_false: ...to here
bluez-5.85/src/shared/gatt-client.c:2870:13: branch_false: following 'false' branch...
bluez-5.85/src/shared/gatt-client.c:2877:12: branch_false: ...to here
bluez-5.85/src/shared/gatt-client.c:2877:12: branch_false: following 'false' branch (when 'length != 0')...
bluez-5.85/src/shared/gatt-client.c:2880:14: branch_false: ...to here
bluez-5.85/src/shared/gatt-client.c:2880:14: call_function: calling 'append_chunk' from 'read_long_cb'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def537]
bluez-5.85/src/shared/gatt-client.c:3159:15: warning[-Wanalyzer-malloc-leak]: leak of 'pdu'
bluez-5.85/src/shared/gatt-client.c:3149:15: acquire_memory: allocated here
bluez-5.85/src/shared/gatt-client.c:3150:12: branch_false: following 'false' branch (when 'pdu' is non-NULL)...
bluez-5.85/src/shared/gatt-client.c:3155:9: branch_false: ...to here
bluez-5.85/src/shared/gatt-client.c:3159:15: throw: if 'bt_att_resend' throws an exception...
bluez-5.85/src/shared/gatt-client.c:3159:15: danger: 'pdu' leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def538]
bluez-5.85/src/shared/gatt-client.c:3401:23: warning[-Wanalyzer-malloc-leak]: leak of 'pdu'
bluez-5.85/src/shared/gatt-client.c:3331:14: enter_function: entry to 'bt_gatt_client_write_long_value'
bluez-5.85/src/shared/gatt-client.c:3343:12: branch_false: following 'false' branch (when 'client' is non-NULL)...
bluez-5.85/src/shared/gatt-client.c:3346:21: branch_false: ...to here
bluez-5.85/src/shared/gatt-client.c:3346:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/gatt-client.c:3352:13: branch_false: ...to here
bluez-5.85/src/shared/gatt-client.c:3352:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/gatt-client.c:3355:14: branch_false: ...to here
bluez-5.85/src/shared/gatt-client.c:3357:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/gatt-client.c:3362:15: branch_false: ...to here
bluez-5.85/src/shared/gatt-client.c:3362:15: call_function: calling 'request_create' from 'bt_gatt_client_write_long_value'
bluez-5.85/src/shared/gatt-client.c:3362:15: return_function: returning to 'bt_gatt_client_write_long_value' from 'request_create'
bluez-5.85/src/shared/gatt-client.c:3363:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/gatt-client.c:3369:16: branch_false: ...to here
bluez-5.85/src/shared/gatt-client.c:3385:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/gatt-client.c:3390:15: acquire_memory: allocated here
bluez-5.85/src/shared/gatt-client.c:3391:12: branch_false: following 'false' branch (when 'pdu' is non-NULL)...
bluez-5.85/src/shared/gatt-client.c:3397:9: call_function: inlined call to 'put_le16' from 'bt_gatt_client_write_long_value'
bluez-5.85/src/shared/gatt-client.c:3401:23: throw: if 'bt_att_send' throws an exception...
bluez-5.85/src/shared/gatt-client.c:3401:23: danger: 'pdu' leaks here; was allocated at [(19)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/18)
Error: CPPCHECK_WARNING (CWE-682): [#def539]
bluez-5.85/src/shared/gatt-db.c:397: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def540]
bluez-5.85/src/shared/gatt-db.c:397:17: warning[-Wanalyzer-malloc-leak]: leak of 'data'
bluez-5.85/src/shared/gatt-db.c:376:13: enter_function: entry to 'gen_hash_m'
bluez-5.85/src/shared/gatt-db.c:395:24: acquire_memory: allocated here
bluez-5.85/src/shared/gatt-db.c:396:17: call_function: inlined call to 'put_le16' from 'gen_hash_m'
bluez-5.85/src/shared/gatt-db.c:397:17: throw: if 'bt_uuid_to_le' throws an exception...
bluez-5.85/src/shared/gatt-db.c:397:17: danger: 'data' leaks here; was allocated at [(4)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/3)
Error: CPPCHECK_WARNING (CWE-682): [#def541]
bluez-5.85/src/shared/gatt-db.c:398: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def542]
bluez-5.85/src/shared/gatt-db.c:409: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def543]
bluez-5.85/src/shared/gatt-db.c:409:17: warning[-Wanalyzer-malloc-leak]: leak of 'data'
bluez-5.85/src/shared/gatt-db.c:376:13: enter_function: entry to 'gen_hash_m'
bluez-5.85/src/shared/gatt-db.c:407:24: acquire_memory: allocated here
bluez-5.85/src/shared/gatt-db.c:408:17: call_function: inlined call to 'put_le16' from 'gen_hash_m'
bluez-5.85/src/shared/gatt-db.c:409:17: throw: if 'bt_uuid_to_le' throws an exception...
bluez-5.85/src/shared/gatt-db.c:409:17: danger: 'data' leaks here; was allocated at [(4)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def544]
bluez-5.85/src/shared/gatt-db.c:1927:32: warning[-Wanalyzer-null-dereference]: dereference of NULL 'value'
bluez-5.85/src/shared/gatt-db.c:1930:13: enter_function: entry to 'read_ext_prop'
bluez-5.85/src/shared/gatt-db.c:1945:9: call_function: calling 'gatt_db_attribute_read' from 'read_ext_prop'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def545]
bluez-5.85/src/shared/gatt-server.c:266:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
bluez-5.85/src/shared/gatt-server.c:262:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/gatt-server.c:265:9: acquire_resource: 'va_start' called here
bluez-5.85/src/shared/gatt-server.c:266:9: throw: if 'util_debug_va' throws an exception...
bluez-5.85/src/shared/gatt-server.c:266:9: danger: missing call to 'va_end' to match 'va_start' at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def546]
bluez-5.85/src/shared/gatt-server.c:1347:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'malloc((long unsigned int)length)' where non-null expected
bluez-5.85/src/shared/gatt-server.c:1304:13: enter_function: entry to 'prep_write_cb'
bluez-5.85/src/shared/gatt-server.c:1315:12: branch_false: following 'false' branch (when 'length > 3')...
bluez-5.85/src/shared/gatt-server.c:1320:13: branch_false: ...to here
bluez-5.85/src/shared/gatt-server.c:1320:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/gatt-server.c:1325:18: call_function: inlined call to 'get_le16' from 'prep_write_cb'
bluez-5.85/src/shared/gatt-server.c:1329:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/gatt-server.c:1334:9: branch_false: ...to here
bluez-5.85/src/shared/gatt-server.c:1334:9: call_function: calling 'gatt_log' from 'prep_write_cb'
bluez-5.85/src/shared/gatt-server.c:1334:9: return_function: returning to 'prep_write_cb' from 'gatt_log'
bluez-5.85/src/shared/gatt-server.c:1336:17: call_function: inlined call to 'check_length' from 'prep_write_cb'
bluez-5.85/src/shared/gatt-server.c:1340:17: branch_false: ...to here
bluez-5.85/src/shared/gatt-server.c:1341:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/gatt-server.c:1344:16: branch_false: ...to here
bluez-5.85/src/shared/gatt-server.c:1346:21: acquire_memory: this call could return NULL
bluez-5.85/src/shared/gatt-server.c:1347:9: danger: argument 1 ('malloc((long unsigned int)length)') from [(23)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/22) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def547]
bluez-5.85/src/shared/gatt-server.c:1841:17: warning[-Wanalyzer-malloc-leak]: leak of 'pdu'
bluez-5.85/src/shared/gatt-server.c:1855:6: enter_function: entry to 'bt_gatt_server_send_indication'
bluez-5.85/src/shared/gatt-server.c:1867:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/gatt-server.c:1871:15: acquire_memory: allocated here
bluez-5.85/src/shared/gatt-server.c:1872:12: branch_false: following 'false' branch (when 'pdu' is non-NULL)...
bluez-5.85/src/shared/gatt-server.c:1875:16: branch_false: ...to here
bluez-5.85/src/shared/gatt-server.c:1887:12: branch_true: following 'true' branch...
bluez-5.85/src/shared/gatt-server.c:1888:17: branch_true: ...to here
bluez-5.85/src/shared/gatt-server.c:1888:17: call_function: calling 'destroy_ind_data' from 'bt_gatt_server_send_indication'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def548]
bluez-5.85/src/shared/gatt-server.c:1875:16: warning[-Wanalyzer-malloc-leak]: leak of 'pdu'
bluez-5.85/src/shared/gatt-server.c:1867:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/gatt-server.c:1871:15: acquire_memory: allocated here
bluez-5.85/src/shared/gatt-server.c:1872:12: branch_false: following 'false' branch (when 'pdu' is non-NULL)...
bluez-5.85/src/shared/gatt-server.c:1875:16: branch_false: ...to here
bluez-5.85/src/shared/gatt-server.c:1875:16: throw: if 'util_malloc' throws an exception...
bluez-5.85/src/shared/gatt-server.c:1875:16: danger: 'pdu' leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def549]
bluez-5.85/src/shared/gatt-server.c:1884:20: warning[-Wanalyzer-malloc-leak]: leak of 'pdu'
bluez-5.85/src/shared/gatt-server.c:1867:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/gatt-server.c:1871:15: acquire_memory: allocated here
bluez-5.85/src/shared/gatt-server.c:1872:12: branch_false: following 'false' branch (when 'pdu' is non-NULL)...
bluez-5.85/src/shared/gatt-server.c:1875:16: branch_false: ...to here
bluez-5.85/src/shared/gatt-server.c:1884:20: throw: if 'bt_att_send' throws an exception...
bluez-5.85/src/shared/gatt-server.c:1884:20: danger: 'pdu' leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def550]
bluez-5.85/src/shared/hci.c:332:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'create_socket(index, 1)'
bluez-5.85/src/shared/hci.c:397:16: enter_function: entry to 'bt_hci_new_user_channel'
bluez-5.85/src/shared/hci.c:402:14: call_function: calling 'create_socket' from 'bt_hci_new_user_channel'
bluez-5.85/src/shared/hci.c:402:14: return_function: returning to 'bt_hci_new_user_channel' from 'create_socket'
bluez-5.85/src/shared/hci.c:403:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/hci.c:409:15: branch_false: ...to here
bluez-5.85/src/shared/hci.c:409:15: call_function: calling 'create_hci' from 'bt_hci_new_user_channel'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def551]
bluez-5.85/src/shared/hci.c:333:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'create_socket(index, 1)'
bluez-5.85/src/shared/hci.c:397:16: enter_function: entry to 'bt_hci_new_user_channel'
bluez-5.85/src/shared/hci.c:402:14: call_function: calling 'create_socket' from 'bt_hci_new_user_channel'
bluez-5.85/src/shared/hci.c:402:14: return_function: returning to 'bt_hci_new_user_channel' from 'create_socket'
bluez-5.85/src/shared/hci.c:403:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/hci.c:409:15: branch_false: ...to here
bluez-5.85/src/shared/hci.c:409:15: call_function: calling 'create_hci' from 'bt_hci_new_user_channel'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def552]
bluez-5.85/src/shared/hci.c:390:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'fd'
bluez-5.85/src/shared/hci.c:379:14: acquire_resource: socket created here
bluez-5.85/src/shared/hci.c:381:12: branch_false: following 'false' branch (when 'fd >= 0')...
bluez-5.85/src/shared/hci.c:385:9: branch_false: ...to here
bluez-5.85/src/shared/hci.c:389:12: branch_true: following 'true' branch...
bluez-5.85/src/shared/hci.c:390:17: branch_true: ...to here
bluez-5.85/src/shared/hci.c:390:17: throw: if 'close' throws an exception...
bluez-5.85/src/shared/hci.c:390:17: danger: 'fd' leaks here
Error: GCC_ANALYZER_WARNING (CWE-404): [#def553]
bluez-5.85/src/shared/hfp.c:164:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
bluez-5.85/src/shared/hfp.c:2797:13: enter_function: entry to 'slc_brsf_resp'
bluez-5.85/src/shared/hfp.c:2802:9: call_function: calling 'hfp_debug' from 'slc_brsf_resp'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def554]
bluez-5.85/src/shared/hfp.c:218:14: warning[-Wanalyzer-malloc-leak]: leak of 'str'
bluez-5.85/src/shared/hfp.c:775:6: enter_function: entry to 'hfp_gw_send_result'
bluez-5.85/src/shared/hfp.c:811:12: branch_true: following 'true' branch...
bluez-5.85/src/shared/hfp.c:812:17: branch_true: ...to here
bluez-5.85/src/shared/hfp.c:813:17: call_function: calling 'process_input' from 'hfp_gw_send_result'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def555]
bluez-5.85/src/shared/hfp.c:221:14: warning[-Wanalyzer-malloc-leak]: leak of 'str'
bluez-5.85/src/shared/hfp.c:775:6: enter_function: entry to 'hfp_gw_send_result'
bluez-5.85/src/shared/hfp.c:811:12: branch_true: following 'true' branch...
bluez-5.85/src/shared/hfp.c:812:17: branch_true: ...to here
bluez-5.85/src/shared/hfp.c:813:17: call_function: calling 'process_input' from 'hfp_gw_send_result'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def556]
bluez-5.85/src/shared/hfp.c:239:17: warning[-Wanalyzer-malloc-leak]: leak of 'str'
bluez-5.85/src/shared/hfp.c:775:6: enter_function: entry to 'hfp_gw_send_result'
bluez-5.85/src/shared/hfp.c:811:12: branch_true: following 'true' branch...
bluez-5.85/src/shared/hfp.c:812:17: branch_true: ...to here
bluez-5.85/src/shared/hfp.c:813:17: call_function: calling 'process_input' from 'hfp_gw_send_result'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def557]
bluez-5.85/src/shared/hfp.c:311:19: warning[-Wanalyzer-malloc-leak]: leak of 'str'
bluez-5.85/src/shared/hfp.c:775:6: enter_function: entry to 'hfp_gw_send_result'
bluez-5.85/src/shared/hfp.c:811:12: branch_true: following 'true' branch...
bluez-5.85/src/shared/hfp.c:812:17: branch_true: ...to here
bluez-5.85/src/shared/hfp.c:813:17: call_function: calling 'process_input' from 'hfp_gw_send_result'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def558]
bluez-5.85/src/shared/hfp.c:319:9: warning[-Wanalyzer-malloc-leak]: leak of 'str'
bluez-5.85/src/shared/hfp.c:775:6: enter_function: entry to 'hfp_gw_send_result'
bluez-5.85/src/shared/hfp.c:811:12: branch_true: following 'true' branch...
bluez-5.85/src/shared/hfp.c:812:17: branch_true: ...to here
bluez-5.85/src/shared/hfp.c:813:17: call_function: calling 'process_input' from 'hfp_gw_send_result'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def559]
bluez-5.85/src/shared/hfp.c:541:23: warning[-Wanalyzer-malloc-leak]: leak of 'str'
bluez-5.85/src/shared/hfp.c:775:6: enter_function: entry to 'hfp_gw_send_result'
bluez-5.85/src/shared/hfp.c:811:12: branch_true: following 'true' branch...
bluez-5.85/src/shared/hfp.c:812:17: branch_true: ...to here
bluez-5.85/src/shared/hfp.c:813:17: call_function: calling 'process_input' from 'hfp_gw_send_result'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def560]
bluez-5.85/src/shared/hfp.c:554:36: warning[-Wanalyzer-malloc-leak]: leak of 'str'
bluez-5.85/src/shared/hfp.c:775:6: enter_function: entry to 'hfp_gw_send_result'
bluez-5.85/src/shared/hfp.c:811:12: branch_true: following 'true' branch...
bluez-5.85/src/shared/hfp.c:812:17: branch_true: ...to here
bluez-5.85/src/shared/hfp.c:813:17: call_function: calling 'process_input' from 'hfp_gw_send_result'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def561]
bluez-5.85/src/shared/hfp.c:557:32: warning[-Wanalyzer-malloc-leak]: leak of 'str'
bluez-5.85/src/shared/hfp.c:775:6: enter_function: entry to 'hfp_gw_send_result'
bluez-5.85/src/shared/hfp.c:811:12: branch_true: following 'true' branch...
bluez-5.85/src/shared/hfp.c:812:17: branch_true: ...to here
bluez-5.85/src/shared/hfp.c:813:17: call_function: calling 'process_input' from 'hfp_gw_send_result'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def562]
bluez-5.85/src/shared/hfp.c:802:13: warning[-Wanalyzer-malloc-leak]: leak of 'str'
bluez-5.85/src/shared/hfp.c:775:6: enter_function: entry to 'hfp_gw_send_result'
bluez-5.85/src/shared/hfp.c:811:12: branch_true: following 'true' branch...
bluez-5.85/src/shared/hfp.c:812:17: branch_true: ...to here
bluez-5.85/src/shared/hfp.c:813:17: call_function: calling 'process_input' from 'hfp_gw_send_result'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def563]
bluez-5.85/src/shared/hfp.c:1495:15: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
bluez-5.85/src/shared/hfp.c:1749:13: enter_function: entry to 'send_clcc'
bluez-5.85/src/shared/hfp.c:1751:12: branch_true: following 'true' branch...
bluez-5.85/src/shared/hfp.c:1751:30: branch_true: ...to here
bluez-5.85/src/shared/hfp.c:1751:13: branch_false: following 'false' branch...
bluez-5.85/src/shared/hfp.c:1754:14: branch_false: ...to here
bluez-5.85/src/shared/hfp.c:1754:14: call_function: calling 'hfp_hf_send_command' from 'send_clcc'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def564]
bluez-5.85/src/shared/mainloop.c:287:25: warning[-Wanalyzer-malloc-leak]: leak of 'data'
bluez-5.85/src/shared/mainloop.c:267:12: branch_false: following 'false' branch (when 'callback' is non-NULL)...
bluez-5.85/src/shared/mainloop.c:270:16: branch_false: ...to here
bluez-5.85/src/shared/mainloop.c:270:16: acquire_memory: allocated here
bluez-5.85/src/shared/mainloop.c:271:12: branch_false: following 'false' branch (when 'data' is non-NULL)...
bluez-5.85/src/shared/mainloop.c:274:9: branch_false: ...to here
bluez-5.85/src/shared/mainloop.c:280:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/mainloop.c:285:12: branch_false: ...to here
bluez-5.85/src/shared/mainloop.c:285:12: branch_true: following 'true' branch (when 'msec != 0')...
bluez-5.85/src/shared/mainloop.c:286:21: branch_true: ...to here
bluez-5.85/src/shared/mainloop.c:286:20: branch_true: following 'true' branch...
bluez-5.85/src/shared/mainloop.c:287:25: branch_true: ...to here
bluez-5.85/src/shared/mainloop.c:287:25: throw: if 'close' throws an exception...
bluez-5.85/src/shared/mainloop.c:287:25: danger: 'data' leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def565]
bluez-5.85/src/shared/mainloop.c:295:17: warning[-Wanalyzer-malloc-leak]: leak of 'data'
bluez-5.85/src/shared/mainloop.c:267:12: branch_false: following 'false' branch (when 'callback' is non-NULL)...
bluez-5.85/src/shared/mainloop.c:270:16: branch_false: ...to here
bluez-5.85/src/shared/mainloop.c:270:16: acquire_memory: allocated here
bluez-5.85/src/shared/mainloop.c:271:12: branch_false: following 'false' branch (when 'data' is non-NULL)...
bluez-5.85/src/shared/mainloop.c:274:9: branch_false: ...to here
bluez-5.85/src/shared/mainloop.c:280:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/mainloop.c:285:12: branch_false: ...to here
bluez-5.85/src/shared/mainloop.c:293:12: branch_true: following 'true' branch...
bluez-5.85/src/shared/mainloop.c:295:17: branch_true: ...to here
bluez-5.85/src/shared/mainloop.c:295:17: throw: if 'close' throws an exception...
bluez-5.85/src/shared/mainloop.c:295:17: danger: 'data' leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def566]
bluez-5.85/src/shared/mcp.c:114:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
bluez-5.85/src/shared/mcp.c:1035:13: enter_function: entry to 'mcp_media_cp_notify'
bluez-5.85/src/shared/mcp.c:1040:9: call_function: calling 'mcp_debug' from 'mcp_media_cp_notify'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def567]
bluez-5.85/src/shared/mcp.c:589:46: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
bluez-5.85/src/shared/mcp.c:578:21: enter_function: entry to 'mcp_send'
bluez-5.85/src/shared/mcp.c:580:30: call_function: calling 'mcp_get_mcs' from 'mcp_send'
bluez-5.85/src/shared/mcp.c:580:30: return_function: returning to 'mcp_send' from 'mcp_get_mcs'
bluez-5.85/src/shared/mcp.c:584:9: call_function: calling 'mcp_debug' from 'mcp_send'
bluez-5.85/src/shared/mcp.c:584:9: return_function: returning to 'mcp_send' from 'mcp_debug'
bluez-5.85/src/shared/mcp.c:586:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/mcp.c:589:46: branch_false: ...to here
bluez-5.85/src/shared/mcp.c:589:46: danger: dereference of NULL 'mcp_get_mcs(mcp)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def568]
bluez-5.85/src/shared/mcp.c:1068:46: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
bluez-5.85/src/shared/mcp.c:1063:13: enter_function: entry to 'bt_mcp_mp_name_attach'
bluez-5.85/src/shared/mcp.c:1066:30: call_function: calling 'mcp_get_mcs' from 'bt_mcp_mp_name_attach'
bluez-5.85/src/shared/mcp.c:1066:30: return_function: returning to 'bt_mcp_mp_name_attach' from 'mcp_get_mcs'
bluez-5.85/src/shared/mcp.c:1068:46: danger: dereference of NULL 'mcp_get_mcs(mcp)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def569]
bluez-5.85/src/shared/mcp.c:1086:46: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
bluez-5.85/src/shared/mcp.c:1081:13: enter_function: entry to 'bt_mcp_track_changed_attach'
bluez-5.85/src/shared/mcp.c:1084:30: call_function: calling 'mcp_get_mcs' from 'bt_mcp_track_changed_attach'
bluez-5.85/src/shared/mcp.c:1084:30: return_function: returning to 'bt_mcp_track_changed_attach' from 'mcp_get_mcs'
bluez-5.85/src/shared/mcp.c:1086:46: danger: dereference of NULL 'mcp_get_mcs(mcp)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def570]
bluez-5.85/src/shared/mcp.c:1102:46: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
bluez-5.85/src/shared/mcp.c:1097:13: enter_function: entry to 'bt_mcp_track_title_attach'
bluez-5.85/src/shared/mcp.c:1100:30: call_function: calling 'mcp_get_mcs' from 'bt_mcp_track_title_attach'
bluez-5.85/src/shared/mcp.c:1100:30: return_function: returning to 'bt_mcp_track_title_attach' from 'mcp_get_mcs'
bluez-5.85/src/shared/mcp.c:1102:46: danger: dereference of NULL 'mcp_get_mcs(mcp)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def571]
bluez-5.85/src/shared/mcp.c:1120:46: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
bluez-5.85/src/shared/mcp.c:1115:13: enter_function: entry to 'bt_mcp_track_duration_attach'
bluez-5.85/src/shared/mcp.c:1118:30: call_function: calling 'mcp_get_mcs' from 'bt_mcp_track_duration_attach'
bluez-5.85/src/shared/mcp.c:1118:30: return_function: returning to 'bt_mcp_track_duration_attach' from 'mcp_get_mcs'
bluez-5.85/src/shared/mcp.c:1120:46: danger: dereference of NULL 'mcp_get_mcs(mcp)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def572]
bluez-5.85/src/shared/mcp.c:1138:46: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
bluez-5.85/src/shared/mcp.c:1133:13: enter_function: entry to 'bt_mcp_track_position_attach'
bluez-5.85/src/shared/mcp.c:1136:30: call_function: calling 'mcp_get_mcs' from 'bt_mcp_track_position_attach'
bluez-5.85/src/shared/mcp.c:1136:30: return_function: returning to 'bt_mcp_track_position_attach' from 'mcp_get_mcs'
bluez-5.85/src/shared/mcp.c:1138:46: danger: dereference of NULL 'mcp_get_mcs(mcp)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def573]
bluez-5.85/src/shared/mcp.c:1156:46: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
bluez-5.85/src/shared/mcp.c:1151:13: enter_function: entry to 'bt_mcp_media_state_attach'
bluez-5.85/src/shared/mcp.c:1154:30: call_function: calling 'mcp_get_mcs' from 'bt_mcp_media_state_attach'
bluez-5.85/src/shared/mcp.c:1154:30: return_function: returning to 'bt_mcp_media_state_attach' from 'mcp_get_mcs'
bluez-5.85/src/shared/mcp.c:1156:46: danger: dereference of NULL 'mcp_get_mcs(mcp)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def574]
bluez-5.85/src/shared/mcp.c:1174:46: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
bluez-5.85/src/shared/mcp.c:1169:13: enter_function: entry to 'bt_mcp_media_cp_attach'
bluez-5.85/src/shared/mcp.c:1172:30: call_function: calling 'mcp_get_mcs' from 'bt_mcp_media_cp_attach'
bluez-5.85/src/shared/mcp.c:1172:30: return_function: returning to 'bt_mcp_media_cp_attach' from 'mcp_get_mcs'
bluez-5.85/src/shared/mcp.c:1174:46: danger: dereference of NULL 'mcp_get_mcs(mcp)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def575]
bluez-5.85/src/shared/mcp.c:1190:46: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
bluez-5.85/src/shared/mcp.c:1185:13: enter_function: entry to 'bt_mcp_media_cp_op_supported_attach'
bluez-5.85/src/shared/mcp.c:1188:30: call_function: calling 'mcp_get_mcs' from 'bt_mcp_media_cp_op_supported_attach'
bluez-5.85/src/shared/mcp.c:1188:30: return_function: returning to 'bt_mcp_media_cp_op_supported_attach' from 'mcp_get_mcs'
bluez-5.85/src/shared/mcp.c:1190:46: danger: dereference of NULL 'mcp_get_mcs(mcp)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def576]
bluez-5.85/src/shared/mcp.c:1209:46: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
bluez-5.85/src/shared/mcp.c:1204:13: enter_function: entry to 'bt_mcp_content_control_id_supported_attach'
bluez-5.85/src/shared/mcp.c:1207:30: call_function: calling 'mcp_get_mcs' from 'bt_mcp_content_control_id_supported_attach'
bluez-5.85/src/shared/mcp.c:1207:30: return_function: returning to 'bt_mcp_content_control_id_supported_attach' from 'mcp_get_mcs'
bluez-5.85/src/shared/mcp.c:1209:46: danger: dereference of NULL 'mcp_get_mcs(mcp)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def577]
bluez-5.85/src/shared/mcp.c:1376:9: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
bluez-5.85/src/shared/mcp.c:1368:13: enter_function: entry to 'foreach_mcs_service'
bluez-5.85/src/shared/mcp.c:1372:30: call_function: calling 'mcp_get_mcs' from 'foreach_mcs_service'
bluez-5.85/src/shared/mcp.c:1372:30: return_function: returning to 'foreach_mcs_service' from 'mcp_get_mcs'
bluez-5.85/src/shared/mcp.c:1374:9: call_function: calling 'mcp_debug' from 'foreach_mcs_service'
bluez-5.85/src/shared/mcp.c:1374:9: return_function: returning to 'foreach_mcs_service' from 'mcp_debug'
bluez-5.85/src/shared/mcp.c:1376:9: danger: dereference of NULL 'mcp_get_mcs(user_data)'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def578]
bluez-5.85/src/shared/mgmt.c:191:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
bluez-5.85/src/shared/mgmt.c:187:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/mgmt.c:190:9: acquire_resource: 'va_start' called here
bluez-5.85/src/shared/mgmt.c:191:9: throw: if 'util_debug_va' throws an exception...
bluez-5.85/src/shared/mgmt.c:191:9: danger: missing call to 'va_end' to match 'va_start' at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def579]
bluez-5.85/src/shared/mgmt.c:452:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'fd'
bluez-5.85/src/shared/mgmt.c:493:14: enter_function: entry to 'mgmt_new_default'
bluez-5.85/src/shared/mgmt.c:502:14: acquire_resource: socket created here
bluez-5.85/src/shared/mgmt.c:504:12: branch_false: following 'false' branch (when 'fd >= 0')...
bluez-5.85/src/shared/mgmt.c:507:9: branch_false: ...to here
bluez-5.85/src/shared/mgmt.c:512:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/mgmt.c:517:16: branch_false: ...to here
bluez-5.85/src/shared/mgmt.c:517:16: call_function: calling 'mgmt_new' from 'mgmt_new_default'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def580]
bluez-5.85/src/shared/mgmt.c:463:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'fd'
bluez-5.85/src/shared/mgmt.c:493:14: enter_function: entry to 'mgmt_new_default'
bluez-5.85/src/shared/mgmt.c:502:14: acquire_resource: socket created here
bluez-5.85/src/shared/mgmt.c:504:12: branch_false: following 'false' branch (when 'fd >= 0')...
bluez-5.85/src/shared/mgmt.c:507:9: branch_false: ...to here
bluez-5.85/src/shared/mgmt.c:512:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/mgmt.c:517:16: branch_false: ...to here
bluez-5.85/src/shared/mgmt.c:517:16: call_function: calling 'mgmt_new' from 'mgmt_new_default'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def581]
bluez-5.85/src/shared/mgmt.c:513:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'fd'
bluez-5.85/src/shared/mgmt.c:502:14: acquire_resource: socket created here
bluez-5.85/src/shared/mgmt.c:504:12: branch_false: following 'false' branch (when 'fd >= 0')...
bluez-5.85/src/shared/mgmt.c:507:9: branch_false: ...to here
bluez-5.85/src/shared/mgmt.c:512:12: branch_true: following 'true' branch...
bluez-5.85/src/shared/mgmt.c:513:17: branch_true: ...to here
bluez-5.85/src/shared/mgmt.c:513:17: throw: if 'close' throws an exception...
bluez-5.85/src/shared/mgmt.c:513:17: danger: 'fd' leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def582]
bluez-5.85/src/shared/mgmt.c:666:34: warning[-Wanalyzer-malloc-leak]: leak of 'mgmt_tlv_new(type, length, value)'
bluez-5.85/src/shared/mgmt.c:689:6: enter_function: entry to 'mgmt_tlv_add'
bluez-5.85/src/shared/mgmt.c:692:34: call_function: calling 'mgmt_tlv_new' from 'mgmt_tlv_add'
bluez-5.85/src/shared/mgmt.c:692:34: return_function: returning to 'mgmt_tlv_add' from 'mgmt_tlv_new'
bluez-5.85/src/shared/mgmt.c:694:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/mgmt.c:697:14: branch_false: ...to here
bluez-5.85/src/shared/mgmt.c:697:14: throw: if 'queue_push_tail' throws an exception...
bluez-5.85/src/shared/mgmt.c:666:34: danger: 'mgmt_tlv_new(type, length, value)' leaks here; was allocated at [(4)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def583]
bluez-5.85/src/shared/mgmt.c:772:9: warning[-Wanalyzer-malloc-leak]: leak of 'buf_ptr'
bluez-5.85/src/shared/mgmt.c:762:12: branch_false: following 'false' branch (when 'tlv_list' is non-NULL)...
bluez-5.85/src/shared/mgmt.c:765:22: branch_false: ...to here
bluez-5.85/src/shared/mgmt.c:765:15: acquire_memory: allocated here
bluez-5.85/src/shared/mgmt.c:767:12: branch_false: following 'false' branch (when 'buf' is non-NULL)...
bluez-5.85/src/shared/mgmt.c:770:9: branch_false: ...to here
bluez-5.85/src/shared/mgmt.c:772:9: throw: if 'queue_foreach' throws an exception...
bluez-5.85/src/shared/mgmt.c:772:9: danger: 'buf_ptr' leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def584]
bluez-5.85/src/shared/micp.c:245:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
bluez-5.85/src/shared/micp.c:241:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/micp.c:244:9: acquire_resource: 'va_start' called here
bluez-5.85/src/shared/micp.c:245:9: throw: if 'util_debug_va' throws an exception...
bluez-5.85/src/shared/micp.c:245:9: danger: missing call to 'va_end' to match 'va_start' at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def585]
bluez-5.85/src/shared/micp.c:339:9: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
bluez-5.85/src/shared/micp.c:323:16: enter_function: entry to 'mics_muted'
bluez-5.85/src/shared/micp.c:331:15: call_function: inlined call to 'micp_get_mdb' from 'mics_muted'
bluez-5.85/src/shared/micp.c:332:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/micp.c:337:22: call_function: inlined call to 'mdb_get_mute_state' from 'mics_muted'
bluez-5.85/src/shared/micp.c:339:9: branch_true: ...to here
bluez-5.85/src/shared/micp.c:339:9: danger: dereference of NULL '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def586]
bluez-5.85/src/shared/micp.c:786:9: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
bluez-5.85/src/shared/micp.c:780:13: enter_function: entry to 'foreach_mics_service'
bluez-5.85/src/shared/micp.c:784:32: call_function: calling 'micp_get_mics' from 'foreach_mics_service'
bluez-5.85/src/shared/micp.c:784:32: return_function: returning to 'foreach_mics_service' from 'micp_get_mics'
bluez-5.85/src/shared/micp.c:786:9: danger: dereference of NULL 'micp_get_mics(user_data)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def587]
bluez-5.85/src/shared/pcap.c:67:20: warning[-Wanalyzer-malloc-leak]: leak of 'pcap'
bluez-5.85/src/shared/pcap.c:63:16: acquire_memory: allocated here
bluez-5.85/src/shared/pcap.c:64:12: branch_false: following 'false' branch (when 'pcap' is non-NULL)...
bluez-5.85/src/shared/pcap.c:67:20: branch_false: ...to here
bluez-5.85/src/shared/pcap.c:67:20: throw: if 'open' throws an exception...
bluez-5.85/src/shared/pcap.c:67:20: danger: 'pcap' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def588]
bluez-5.85/src/shared/pcap.c:89:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor
bluez-5.85/src/shared/pcap.c:64:12: branch_false: following 'false' branch (when 'pcap' is non-NULL)...
bluez-5.85/src/shared/pcap.c:67:20: branch_false: ...to here
bluez-5.85/src/shared/pcap.c:67:20: acquire_resource: opened here
bluez-5.85/src/shared/pcap.c:68:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/pcap.c:73:15: branch_false: ...to here
bluez-5.85/src/shared/pcap.c:89:9: throw: if 'close' throws an exception...
bluez-5.85/src/shared/pcap.c:89:9: danger: leaks here; was opened at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def589]
bluez-5.85/src/shared/pcap.c:89:9: warning[-Wanalyzer-malloc-leak]: leak of 'pcap'
bluez-5.85/src/shared/pcap.c:63:16: acquire_memory: allocated here
bluez-5.85/src/shared/pcap.c:64:12: branch_false: following 'false' branch (when 'pcap' is non-NULL)...
bluez-5.85/src/shared/pcap.c:67:20: branch_false: ...to here
bluez-5.85/src/shared/pcap.c:68:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/pcap.c:73:15: branch_false: ...to here
bluez-5.85/src/shared/pcap.c:89:9: throw: if 'close' throws an exception...
bluez-5.85/src/shared/pcap.c:89:9: danger: 'pcap' leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING: [#def590]
bluez-5.85/src/shared/shell.c: scope_hint: In function 'menu_generator'
bluez-5.85/src/shared/shell.c:182:29: warning[-Wunused-but-set-variable=]: variable 'index' set but not used
Error: GCC_ANALYZER_WARNING (CWE-401): [#def591]
bluez-5.85/src/shared/shell.c:511:15: warning[-Wanalyzer-malloc-leak]: leak of 'opt'
bluez-5.85/src/shared/shell.c:685:12: enter_function: entry to 'shell_exec'
bluez-5.85/src/shared/shell.c:697:24: call_function: calling 'menu_exec' from 'shell_exec'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def592]
bluez-5.85/src/shared/shell.c:511:15: warning[-Wanalyzer-malloc-leak]: leak of 'str'
bluez-5.85/src/shared/shell.c:1070:15: enter_function: entry to 'args_completion'
bluez-5.85/src/shared/shell.c:1078:12: branch_false: following 'false' branch (when 'index >= 0')...
bluez-5.85/src/shared/shell.c:1081:14: branch_false: ...to here
bluez-5.85/src/shared/shell.c:1081:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/shell.c:1084:15: branch_false: ...to here
bluez-5.85/src/shared/shell.c:1084:15: acquire_memory: allocated here
bluez-5.85/src/shared/shell.c:1086:13: call_function: calling 'parse_args' from 'args_completion'
Error: COMPILER_WARNING (CWE-704): [#def593]
bluez-5.85/src/shared/shell.c: scope_hint: In function 'cmd_exec'
bluez-5.85/src/shared/shell.c:555:13: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def594]
bluez-5.85/src/shared/shell.c:555:13: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def595]
bluez-5.85/src/shared/shell.c:566:21: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def596]
bluez-5.85/src/shared/shell.c:566:21: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-404): [#def597]
bluez-5.85/src/shared/shell.c:746:17: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
bluez-5.85/src/shared/shell.c:238:13: enter_function: entry to 'cmd_back'
bluez-5.85/src/shared/shell.c:241:17: call_function: calling 'bt_shell_printf' from 'cmd_back'
Error: GCC_ANALYZER_WARNING (CWE-457): [#def598]
bluez-5.85/src/shared/shell.c:753:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'saved_line'
bluez-5.85/src/shared/shell.c:238:13: enter_function: entry to 'cmd_back'
bluez-5.85/src/shared/shell.c:241:17: call_function: calling 'bt_shell_printf' from 'cmd_back'
Error: COMPILER_WARNING (CWE-704): [#def599]
bluez-5.85/src/shared/shell.c: scope_hint: In function 'cmd_generator'
bluez-5.85/src/shared/shell.c:1017:21: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def600]
bluez-5.85/src/shared/shell.c:1017:21: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-404): [#def601]
bluez-5.85/src/shared/tester.c:166:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
bluez-5.85/src/shared/tester.c:165:9: acquire_resource: 'va_start' called here
bluez-5.85/src/shared/tester.c:166:9: throw: if 'bt_log_vprintf' throws an exception...
bluez-5.85/src/shared/tester.c:166:9: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def602]
bluez-5.85/src/shared/tester.c:179:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
bluez-5.85/src/shared/tester.c:178:9: acquire_resource: 'va_start' called here
bluez-5.85/src/shared/tester.c:179:9: throw: if 'bt_log_vprintf' throws an exception...
bluez-5.85/src/shared/tester.c:179:9: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def603]
bluez-5.85/src/shared/tester.c:192:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
bluez-5.85/src/shared/tester.c:191:9: acquire_resource: 'va_start' called here
bluez-5.85/src/shared/tester.c:192:9: throw: if 'bt_log_vprintf' throws an exception...
bluez-5.85/src/shared/tester.c:192:9: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def604]
bluez-5.85/src/shared/tester.c:205:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
bluez-5.85/src/shared/tester.c:204:9: acquire_resource: 'va_start' called here
bluez-5.85/src/shared/tester.c:205:9: throw: if 'bt_log_vprintf' throws an exception...
bluez-5.85/src/shared/tester.c:205:9: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def605]
bluez-5.85/src/shared/tester.c:1047:9: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
bluez-5.85/src/shared/tester.c:1035:12: enter_function: entry to 'tester_setup_io'
bluez-5.85/src/shared/tester.c:1037:34: call_function: inlined call to 'tester_get_test' from 'tester_setup_io'
bluez-5.85/src/shared/tester.c:1039:14: branch_true: ...to here
bluez-5.85/src/shared/tester.c:1039:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/tester.c:1047:9: danger: dereference of NULL '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def606]
bluez-5.85/src/shared/tester.c:1063:13: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
bluez-5.85/src/shared/tester.c:1059:6: enter_function: entry to 'tester_io_send'
bluez-5.85/src/shared/tester.c:1061:34: call_function: inlined call to 'tester_get_test' from 'tester_io_send'
bluez-5.85/src/shared/tester.c:1063:13: branch_true: ...to here
bluez-5.85/src/shared/tester.c:1063:13: danger: dereference of NULL '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def607]
bluez-5.85/src/shared/tester.c:1071:9: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
bluez-5.85/src/shared/tester.c:1067:6: enter_function: entry to 'tester_io_set_complete_func'
bluez-5.85/src/shared/tester.c:1069:34: call_function: inlined call to 'tester_get_test' from 'tester_io_set_complete_func'
bluez-5.85/src/shared/tester.c:1071:9: branch_true: ...to here
bluez-5.85/src/shared/tester.c:1071:9: danger: dereference of NULL '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def608]
bluez-5.85/src/shared/uhid.c:217:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open("/dev/uhid", 524290)'
bluez-5.85/src/shared/uhid.c:193:17: enter_function: entry to 'bt_uhid_new_default'
bluez-5.85/src/shared/uhid.c:198:14: acquire_resource: opened here
bluez-5.85/src/shared/uhid.c:199:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/uhid.c:202:16: branch_false: ...to here
bluez-5.85/src/shared/uhid.c:202:16: call_function: calling 'bt_uhid_new' from 'bt_uhid_new_default'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def609]
bluez-5.85/src/shared/uhid.c:218:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open("/dev/uhid", 524290)'
bluez-5.85/src/shared/uhid.c:193:17: enter_function: entry to 'bt_uhid_new_default'
bluez-5.85/src/shared/uhid.c:198:14: acquire_resource: opened here
bluez-5.85/src/shared/uhid.c:199:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/uhid.c:202:16: branch_false: ...to here
bluez-5.85/src/shared/uhid.c:202:16: call_function: calling 'bt_uhid_new' from 'bt_uhid_new_default'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def610]
bluez-5.85/src/shared/util.c:350:15: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
bluez-5.85/src/shared/util.c:342:15: enter_function: entry to 'util_iov_dup'
bluez-5.85/src/shared/util.c:347:12: branch_false: following 'false' branch (when 'iov' is non-NULL)...
bluez-5.85/src/shared/util.c:350:15: branch_false: ...to here
bluez-5.85/src/shared/util.c:350:15: call_function: calling 'util_malloc' from 'util_iov_dup'
bluez-5.85/src/shared/util.c:350:15: return_function: returning to 'util_iov_dup' from 'util_malloc'
bluez-5.85/src/shared/util.c:350:15: danger: argument 1 ('util_malloc(cnt * 16)') NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def611]
bluez-5.85/src/shared/util.c:379:9: warning[-Wanalyzer-null-argument]: use of NULL '*iov.iov_base' where non-null expected
bluez-5.85/src/shared/util.c:377:9: release_memory: '*iov.iov_base' is NULL
bluez-5.85/src/shared/util.c:379:9: danger: argument 1 ('realloc(*iov.iov_base, len)') NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def612]
bluez-5.85/src/shared/util.c:379:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
bluez-5.85/src/shared/util.c:342:15: enter_function: entry to 'util_iov_dup'
bluez-5.85/src/shared/util.c:347:12: branch_false: following 'false' branch (when 'iov' is non-NULL)...
bluez-5.85/src/shared/util.c:350:15: branch_false: ...to here
bluez-5.85/src/shared/util.c:350:15: call_function: calling 'util_malloc' from 'util_iov_dup'
bluez-5.85/src/shared/util.c:350:15: return_function: returning to 'util_iov_dup' from 'util_malloc'
bluez-5.85/src/shared/util.c:352:21: branch_true: following 'true' branch (when 'i < cnt')...
bluez-5.85/src/shared/util.c:353:62: branch_true: ...to here
bluez-5.85/src/shared/util.c:353:17: call_function: calling 'util_iov_memcpy' from 'util_iov_dup'
Error: CPPCHECK_WARNING (CWE-476): [#def613]
bluez-5.85/src/shared/util.c:1850: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dup
Error: GCC_ANALYZER_WARNING (CWE-476): [#def614]
bluez-5.85/src/shared/util.c:1850:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL 'dup'
bluez-5.85/src/shared/util.c:1846:12: branch_false: following 'false' branch (when 'str' is non-NULL)...
bluez-5.85/src/shared/util.c:1849:15: branch_false: ...to here
bluez-5.85/src/shared/util.c:1849:15: acquire_memory: this call could return NULL
bluez-5.85/src/shared/util.c:1850:13: danger: 'dup' could be NULL: unchecked value from [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def615]
bluez-5.85/src/shared/util.h:264: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: __p
Error: GCC_ANALYZER_WARNING (CWE-476): [#def616]
bluez-5.85/src/shared/util.h:264:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL 'data'
bluez-5.85/src/shared/gatt-db.c:395:24: acquire_memory: this call could return NULL
bluez-5.85/src/shared/gatt-db.c:396:17: call_function: inlined call to 'put_le16' from 'gen_hash_m'
Error: CPPCHECK_WARNING (CWE-476): [#def617]
bluez-5.85/src/shared/util.h:269: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: __p
Error: GCC_ANALYZER_WARNING (CWE-476): [#def618]
bluez-5.85/src/shared/util.h:269:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pElem’
bluez-5.85/src/sdpd-request.c:837:12: enter_function: entry to ‘service_search_attr_req’
bluez-5.85/src/sdpd-request.c:854:19: call_function: calling ‘extract_des’ from ‘service_search_attr_req’
Error: CPPCHECK_WARNING (CWE-476): [#def619]
bluez-5.85/src/shared/util.h:291: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: __p
Error: GCC_ANALYZER_WARNING (CWE-476): [#def620]
bluez-5.85/src/shared/util.h:291:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pElem’
bluez-5.85/src/sdpd-request.c:837:12: enter_function: entry to ‘service_search_attr_req’
bluez-5.85/src/sdpd-request.c:854:19: call_function: calling ‘extract_des’ from ‘service_search_attr_req’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def621]
bluez-5.85/src/shared/vcp.c:313:22: warning[-Wanalyzer-malloc-leak]: leak of 'iov_pull_string(&iov)'
bluez-5.85/src/shared/vcp.c:2793:13: enter_function: entry to 'aics_audio_ip_desr_notify'
bluez-5.85/src/shared/vcp.c:2800:23: call_function: calling 'iov_pull_string' from 'aics_audio_ip_desr_notify'
bluez-5.85/src/shared/vcp.c:2800:23: return_function: returning to 'aics_audio_ip_desr_notify' from 'iov_pull_string'
bluez-5.85/src/shared/vcp.c:2801:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/vcp.c:2804:9: branch_false: ...to here
bluez-5.85/src/shared/vcp.c:2804:9: call_function: calling 'vcp_debug' from 'aics_audio_ip_desr_notify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def622]
bluez-5.85/src/shared/vcp.c:322:9: warning[-Wanalyzer-malloc-leak]: leak of 'res'
bluez-5.85/src/shared/vcp.c:310:12: branch_false: following 'false' branch (when 'iov' is non-NULL)...
bluez-5.85/src/shared/vcp.c:313:22: branch_false: ...to here
bluez-5.85/src/shared/vcp.c:313:15: acquire_memory: allocated here
bluez-5.85/src/shared/vcp.c:314:12: branch_false: following 'false' branch (when 'res' is non-NULL)...
bluez-5.85/src/shared/vcp.c:317:12: branch_false: ...to here
bluez-5.85/src/shared/vcp.c:322:9: throw: if 'util_iov_pull' throws an exception...
bluez-5.85/src/shared/vcp.c:322:9: danger: 'res' leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def623]
bluez-5.85/src/shared/vcp.c:523:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
bluez-5.85/src/shared/vcp.c:519:12: branch_false: following 'false' branch...
bluez-5.85/src/shared/vcp.c:522:9: acquire_resource: 'va_start' called here
bluez-5.85/src/shared/vcp.c:523:9: throw: if 'util_debug_va' throws an exception...
bluez-5.85/src/shared/vcp.c:523:9: danger: missing call to 'va_end' to match 'va_start' at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def624]
bluez-5.85/src/shared/vcp.c:1808: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ip_descr
Error: GCC_ANALYZER_WARNING (CWE-688): [#def625]
bluez-5.85/src/shared/vcp.c:1808:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'ip_descr' where non-null expected
bluez-5.85/src/shared/vcp.c:1800:12: branch_false: following 'false' branch (when 'db' is non-NULL)...
bluez-5.85/src/shared/vcp.c:1803:16: branch_false: ...to here
bluez-5.85/src/shared/vcp.c:1807:20: acquire_memory: this call could return NULL
bluez-5.85/src/shared/vcp.c:1808:9: danger: argument 1 ('ip_descr') from [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-476): [#def626]
bluez-5.85/src/shared/vcp.c:1820: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ip_descr
Error: GCC_ANALYZER_WARNING (CWE-476): [#def627]
bluez-5.85/src/shared/vcp.c:2168:9: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
bluez-5.85/src/shared/vcp.c:2163:13: enter_function: entry to 'vcp_set_volume_server'
bluez-5.85/src/shared/vcp.c:2165:33: call_function: inlined call to 'vcp_get_vdb' from 'vcp_set_volume_server'
bluez-5.85/src/shared/vcp.c:2168:9: branch_true: ...to here
bluez-5.85/src/shared/vcp.c:2168:9: danger: dereference of NULL '0'
Error: COMPILER_WARNING (CWE-704): [#def628]
bluez-5.85/src/textfile.c: scope_hint: In function ‘create_dirs’
bluez-5.85/src/textfile.c:81:14: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def629]
bluez-5.85/src/textfile.c:81:14: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-401): [#def630]
bluez-5.85/src/textfile.c:174:13: warning[-Wanalyzer-malloc-leak]: leak of ‘str’
bluez-5.85/src/textfile.c:168:15: acquire_memory: allocated here
bluez-5.85/src/textfile.c:169:12: branch_false: following ‘false’ branch (when ‘str’ is non-NULL)...
bluez-5.85/src/textfile.c:172:9: branch_false: ...to here
bluez-5.85/src/textfile.c:174:13: throw: if ‘write’ throws an exception...
bluez-5.85/src/textfile.c:174:13: danger: ‘str’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def631]
bluez-5.85/src/textfile.c:306:13: warning[-Wanalyzer-malloc-leak]: leak of ‘str’
bluez-5.85/src/textfile.c:204:12: enter_function: entry to ‘write_key’
bluez-5.85/src/textfile.c:213:12: branch_false: following ‘false’ branch...
bluez-5.85/src/textfile.c:216:13: branch_false: ...to here
bluez-5.85/src/textfile.c:216:12: branch_false: following ‘false’ branch...
bluez-5.85/src/textfile.c:221:13: branch_false: ...to here
bluez-5.85/src/textfile.c:221:12: branch_false: following ‘false’ branch...
bluez-5.85/src/textfile.c:226:9: branch_false: ...to here
bluez-5.85/src/textfile.c:228:12: branch_false: following ‘false’ branch (when ‘size != 0’)...
bluez-5.85/src/textfile.c:236:15: branch_false: ...to here
bluez-5.85/src/textfile.c:238:12: branch_false: following ‘false’ branch...
bluez-5.85/src/textfile.c:243:15: branch_false: ...to here
bluez-5.85/src/textfile.c:244:15: call_function: calling ‘find_key’ from ‘write_key’
bluez-5.85/src/textfile.c:244:15: return_function: returning to ‘write_key’ from ‘find_key’
bluez-5.85/src/textfile.c:245:12: branch_false: following ‘false’ branch...
bluez-5.85/src/textfile.c:254:16: branch_false: ...to here
bluez-5.85/src/textfile.c:256:15: call_function: calling ‘strnpbrk’ from ‘write_key’
bluez-5.85/src/textfile.c:256:15: return_function: returning to ‘write_key’ from ‘strnpbrk’
bluez-5.85/src/textfile.c:257:12: branch_false: following ‘false’ branch...
bluez-5.85/src/textfile.c:262:12: branch_false: ...to here
bluez-5.85/src/textfile.c:270:12: branch_false: following ‘false’ branch (when ‘len != 0’)...
bluez-5.85/src/textfile.c:283:12: branch_false: ...to here
bluez-5.85/src/textfile.c:283:12: branch_false: following ‘false’ branch...
bluez-5.85/src/textfile.c:288:15: acquire_memory: allocated here
bluez-5.85/src/textfile.c:289:12: branch_false: following ‘false’ branch (when ‘str’ is non-NULL)...
bluez-5.85/src/textfile.c:294:9: branch_false: ...to here
bluez-5.85/src/textfile.c:297:12: branch_false: following ‘false’ branch...
bluez-5.85/src/textfile.c:302:9: branch_false: ...to here
bluez-5.85/src/textfile.c:306:13: throw: if ‘write’ throws an exception...
bluez-5.85/src/textfile.c:306:13: danger: ‘str’ leaks here; was allocated at [(34)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/33)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def632]
bluez-5.85/src/textfile.c:386:9: warning[-Wanalyzer-malloc-leak]: leak of ‘str’
bluez-5.85/src/textfile.c:328:14: enter_function: entry to ‘read_key’
bluez-5.85/src/textfile.c:336:12: branch_false: following ‘false’ branch...
bluez-5.85/src/textfile.c:339:13: branch_false: ...to here
bluez-5.85/src/textfile.c:339:12: branch_false: following ‘false’ branch...
bluez-5.85/src/textfile.c:344:13: branch_false: ...to here
bluez-5.85/src/textfile.c:344:12: branch_false: following ‘false’ branch...
bluez-5.85/src/textfile.c:349:9: branch_false: ...to here
bluez-5.85/src/textfile.c:352:12: branch_false: following ‘false’ branch...
bluez-5.85/src/textfile.c:357:15: branch_false: ...to here
bluez-5.85/src/textfile.c:358:15: call_function: calling ‘find_key’ from ‘read_key’
bluez-5.85/src/textfile.c:358:15: return_function: returning to ‘read_key’ from ‘find_key’
bluez-5.85/src/textfile.c:359:12: branch_false: following ‘false’ branch...
bluez-5.85/src/textfile.c:364:36: branch_false: ...to here
bluez-5.85/src/textfile.c:364:15: call_function: calling ‘strnpbrk’ from ‘read_key’
bluez-5.85/src/textfile.c:364:15: return_function: returning to ‘read_key’ from ‘strnpbrk’
bluez-5.85/src/textfile.c:365:12: branch_false: following ‘false’ branch...
bluez-5.85/src/textfile.c:370:22: branch_false: ...to here
bluez-5.85/src/textfile.c:370:15: acquire_memory: allocated here
bluez-5.85/src/textfile.c:371:12: branch_false: following ‘false’ branch (when ‘str’ is non-NULL)...
bluez-5.85/src/textfile.c:376:9: branch_false: ...to here
bluez-5.85/src/textfile.c:386:9: throw: if ‘close’ throws an exception...
bluez-5.85/src/textfile.c:386:9: danger: ‘str’ leaks here; was allocated at [(28)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/27)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def633]
bluez-5.85/src/textfile.c:483:17: warning[-Wanalyzer-malloc-leak]: leak of ‘key’
bluez-5.85/src/textfile.c:407:5: enter_function: entry to ‘textfile_foreach’
bluez-5.85/src/textfile.c:415:12: branch_false: following ‘false’ branch...
bluez-5.85/src/textfile.c:418:13: branch_false: ...to here
bluez-5.85/src/textfile.c:418:12: branch_false: following ‘false’ branch...
bluez-5.85/src/textfile.c:423:13: branch_false: ...to here
bluez-5.85/src/textfile.c:423:12: branch_false: following ‘false’ branch...
bluez-5.85/src/textfile.c:428:9: branch_false: ...to here
bluez-5.85/src/textfile.c:431:12: branch_false: following ‘false’ branch...
bluez-5.85/src/textfile.c:431:12: branch_false: ...to here
bluez-5.85/src/textfile.c:438:16: branch_true: following ‘true’ branch...
bluez-5.85/src/textfile.c:439:23: branch_true: ...to here
bluez-5.85/src/textfile.c:439:23: call_function: calling ‘strnpbrk’ from ‘textfile_foreach’
bluez-5.85/src/textfile.c:439:23: return_function: returning to ‘textfile_foreach’ from ‘strnpbrk’
bluez-5.85/src/textfile.c:440:20: branch_false: following ‘false’ branch...
bluez-5.85/src/textfile.c:445:23: branch_false: ...to here
bluez-5.85/src/textfile.c:447:23: acquire_memory: allocated here
bluez-5.85/src/textfile.c:448:20: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
bluez-5.85/src/textfile.c:453:17: branch_false: ...to here
bluez-5.85/src/textfile.c:458:20: branch_false: following ‘false’ branch...
bluez-5.85/src/textfile.c:464:23: branch_false: ...to here
bluez-5.85/src/textfile.c:464:23: call_function: calling ‘strnpbrk’ from ‘textfile_foreach’
bluez-5.85/src/textfile.c:464:23: return_function: returning to ‘textfile_foreach’ from ‘strnpbrk’
bluez-5.85/src/textfile.c:465:20: branch_false: following ‘false’ branch...
bluez-5.85/src/textfile.c:471:23: branch_false: ...to here
bluez-5.85/src/textfile.c:474:20: branch_false: following ‘false’ branch (when ‘value’ is non-NULL)...
bluez-5.85/src/textfile.c:480:17: branch_false: ...to here
bluez-5.85/src/textfile.c:483:17: throw: if the called function throws an exception...
bluez-5.85/src/textfile.c:483:17: danger: ‘key’ leaks here; was allocated at [(21)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/20)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def634]
bluez-5.85/src/textfile.c:483:17: warning[-Wanalyzer-malloc-leak]: leak of ‘value’
bluez-5.85/src/textfile.c:407:5: enter_function: entry to ‘textfile_foreach’
bluez-5.85/src/textfile.c:415:12: branch_false: following ‘false’ branch...
bluez-5.85/src/textfile.c:418:13: branch_false: ...to here
bluez-5.85/src/textfile.c:418:12: branch_false: following ‘false’ branch...
bluez-5.85/src/textfile.c:423:13: branch_false: ...to here
bluez-5.85/src/textfile.c:423:12: branch_false: following ‘false’ branch...
bluez-5.85/src/textfile.c:428:9: branch_false: ...to here
bluez-5.85/src/textfile.c:431:12: branch_false: following ‘false’ branch...
bluez-5.85/src/textfile.c:431:12: branch_false: ...to here
bluez-5.85/src/textfile.c:438:16: branch_true: following ‘true’ branch...
bluez-5.85/src/textfile.c:439:23: branch_true: ...to here
bluez-5.85/src/textfile.c:439:23: call_function: calling ‘strnpbrk’ from ‘textfile_foreach’
bluez-5.85/src/textfile.c:439:23: return_function: returning to ‘textfile_foreach’ from ‘strnpbrk’
bluez-5.85/src/textfile.c:440:20: branch_false: following ‘false’ branch...
bluez-5.85/src/textfile.c:445:23: branch_false: ...to here
bluez-5.85/src/textfile.c:448:20: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
bluez-5.85/src/textfile.c:453:17: branch_false: ...to here
bluez-5.85/src/textfile.c:458:20: branch_false: following ‘false’ branch...
bluez-5.85/src/textfile.c:464:23: branch_false: ...to here
bluez-5.85/src/textfile.c:464:23: call_function: calling ‘strnpbrk’ from ‘textfile_foreach’
bluez-5.85/src/textfile.c:464:23: return_function: returning to ‘textfile_foreach’ from ‘strnpbrk’
bluez-5.85/src/textfile.c:465:20: branch_false: following ‘false’ branch...
bluez-5.85/src/textfile.c:471:23: branch_false: ...to here
bluez-5.85/src/textfile.c:473:25: acquire_memory: allocated here
bluez-5.85/src/textfile.c:474:20: branch_false: following ‘false’ branch (when ‘value’ is non-NULL)...
bluez-5.85/src/textfile.c:480:17: branch_false: ...to here
bluez-5.85/src/textfile.c:483:17: throw: if the called function throws an exception...
bluez-5.85/src/textfile.c:483:17: danger: ‘value’ leaks here; was allocated at [(34)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/33)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def635]
bluez-5.85/tools/6lowpan-tester.c:212:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&path, 1)’
bluez-5.85/tools/6lowpan-tester.c:200:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/6lowpan-tester.c:203:9: branch_false: ...to here
bluez-5.85/tools/6lowpan-tester.c:208:14: acquire_resource: opened here
bluez-5.85/tools/6lowpan-tester.c:209:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/6lowpan-tester.c:212:15: branch_false: ...to here
bluez-5.85/tools/6lowpan-tester.c:212:15: throw: if ‘write’ throws an exception...
bluez-5.85/tools/6lowpan-tester.c:212:15: danger: ‘open(&path, 1)’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def636]
bluez-5.85/tools/6lowpan-tester.c:443:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/6lowpan-tester.c:426:14: acquire_resource: socket created here
bluez-5.85/tools/6lowpan-tester.c:427:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/6lowpan-tester.c:432:9: branch_false: ...to here
bluez-5.85/tools/6lowpan-tester.c:434:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/6lowpan-tester.c:439:9: branch_false: ...to here
bluez-5.85/tools/6lowpan-tester.c:442:13: acquire_resource: socket created here
bluez-5.85/tools/6lowpan-tester.c:442:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/6lowpan-tester.c:443:17: branch_true: ...to here
bluez-5.85/tools/6lowpan-tester.c:443:17: throw: if ‘tester_print’ throws an exception...
bluez-5.85/tools/6lowpan-tester.c:443:17: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def637]
bluez-5.85/tools/6lowpan-tester.c:471:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/6lowpan-tester.c:426:14: acquire_resource: socket created here
bluez-5.85/tools/6lowpan-tester.c:427:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/6lowpan-tester.c:432:9: branch_false: ...to here
bluez-5.85/tools/6lowpan-tester.c:434:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/6lowpan-tester.c:439:9: branch_false: ...to here
bluez-5.85/tools/6lowpan-tester.c:442:13: acquire_resource: socket created here
bluez-5.85/tools/6lowpan-tester.c:442:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/6lowpan-tester.c:443:17: branch_true: ...to here
bluez-5.85/tools/6lowpan-tester.c:470:12: branch_true: following ‘true’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/6lowpan-tester.c:471:17: branch_true: ...to here
bluez-5.85/tools/6lowpan-tester.c:471:17: throw: if ‘close’ throws an exception...
bluez-5.85/tools/6lowpan-tester.c:471:17: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def638]
bluez-5.85/tools/6lowpan-tester.c:650:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/6lowpan-tester.c:650:9: acquire_memory: allocated here
bluez-5.85/tools/6lowpan-tester.c:650:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/6lowpan-tester.c:650:9: branch_false: ...to here
bluez-5.85/tools/6lowpan-tester.c:650:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/6lowpan-tester.c:650:9: danger: ‘user’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def639]
bluez-5.85/tools/6lowpan-tester.c:653:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/6lowpan-tester.c:650:9: acquire_memory: allocated here
bluez-5.85/tools/6lowpan-tester.c:650:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/6lowpan-tester.c:653:9: branch_true: ...to here
bluez-5.85/tools/6lowpan-tester.c:653:9: acquire_memory: allocated here
bluez-5.85/tools/6lowpan-tester.c:653:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/6lowpan-tester.c:653:9: branch_false: ...to here
bluez-5.85/tools/6lowpan-tester.c:653:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/6lowpan-tester.c:653:9: danger: ‘user’ leaks here; was allocated at [(4)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def640]
bluez-5.85/tools/6lowpan-tester.c:657:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/6lowpan-tester.c:650:9: acquire_memory: allocated here
bluez-5.85/tools/6lowpan-tester.c:650:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/6lowpan-tester.c:653:9: branch_true: ...to here
bluez-5.85/tools/6lowpan-tester.c:653:9: acquire_memory: allocated here
bluez-5.85/tools/6lowpan-tester.c:653:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/6lowpan-tester.c:657:9: branch_true: ...to here
bluez-5.85/tools/6lowpan-tester.c:657:9: acquire_memory: allocated here
bluez-5.85/tools/6lowpan-tester.c:657:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/6lowpan-tester.c:657:9: branch_false: ...to here
bluez-5.85/tools/6lowpan-tester.c:657:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/6lowpan-tester.c:657:9: danger: ‘user’ leaks here; was allocated at [(7)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def641]
bluez-5.85/tools/6lowpan-tester.c:661:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/6lowpan-tester.c:650:9: acquire_memory: allocated here
bluez-5.85/tools/6lowpan-tester.c:650:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/6lowpan-tester.c:653:9: branch_true: ...to here
bluez-5.85/tools/6lowpan-tester.c:653:9: acquire_memory: allocated here
bluez-5.85/tools/6lowpan-tester.c:653:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/6lowpan-tester.c:657:9: branch_true: ...to here
bluez-5.85/tools/6lowpan-tester.c:657:9: acquire_memory: allocated here
bluez-5.85/tools/6lowpan-tester.c:657:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/6lowpan-tester.c:661:9: branch_true: ...to here
bluez-5.85/tools/6lowpan-tester.c:661:9: acquire_memory: allocated here
bluez-5.85/tools/6lowpan-tester.c:661:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/6lowpan-tester.c:661:9: branch_false: ...to here
bluez-5.85/tools/6lowpan-tester.c:661:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/6lowpan-tester.c:661:9: danger: ‘user’ leaks here; was allocated at [(10)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def642]
bluez-5.85/tools/6lowpan-tester.c:665:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/6lowpan-tester.c:650:9: acquire_memory: allocated here
bluez-5.85/tools/6lowpan-tester.c:650:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/6lowpan-tester.c:653:9: branch_true: ...to here
bluez-5.85/tools/6lowpan-tester.c:653:9: acquire_memory: allocated here
bluez-5.85/tools/6lowpan-tester.c:653:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/6lowpan-tester.c:657:9: branch_true: ...to here
bluez-5.85/tools/6lowpan-tester.c:657:9: acquire_memory: allocated here
bluez-5.85/tools/6lowpan-tester.c:657:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/6lowpan-tester.c:661:9: branch_true: ...to here
bluez-5.85/tools/6lowpan-tester.c:661:9: acquire_memory: allocated here
bluez-5.85/tools/6lowpan-tester.c:661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/6lowpan-tester.c:665:9: branch_true: ...to here
bluez-5.85/tools/6lowpan-tester.c:665:9: acquire_memory: allocated here
bluez-5.85/tools/6lowpan-tester.c:665:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/6lowpan-tester.c:665:9: branch_false: ...to here
bluez-5.85/tools/6lowpan-tester.c:665:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/6lowpan-tester.c:665:9: danger: ‘user’ leaks here; was allocated at [(13)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def643]
bluez-5.85/tools/advtest.c:89:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/urandom", 0)’
bluez-5.85/tools/advtest.c:83:14: acquire_resource: opened here
bluez-5.85/tools/advtest.c:84:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/advtest.c:87:15: branch_false: ...to here
bluez-5.85/tools/advtest.c:89:9: danger: ‘open("/dev/urandom", 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def644]
bluez-5.85/tools/avinfo.c:871:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/avinfo.c:862:14: acquire_resource: socket created here
bluez-5.85/tools/avinfo.c:863:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/avinfo.c:869:13: branch_false: ...to here
bluez-5.85/tools/avinfo.c:869:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/avinfo.c:870:67: branch_true: ...to here
bluez-5.85/tools/avinfo.c:871:17: throw: if ‘close’ throws an exception...
bluez-5.85/tools/avinfo.c:871:17: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-666): [#def645]
bluez-5.85/tools/avinfo.c:880:13: warning[-Wanalyzer-fd-phase-mismatch]: ‘connect’ on file descriptor ‘sk’ in wrong phase
bluez-5.85/tools/avinfo.c:862:14: acquire_resource: socket created here
bluez-5.85/tools/avinfo.c:863:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/avinfo.c:869:13: branch_false: ...to here
bluez-5.85/tools/avinfo.c:869:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/avinfo.c:875:9: branch_false: ...to here
bluez-5.85/tools/avinfo.c:880:13: danger: ‘connect’ expects a new socket file descriptor but ‘sk’ is bound
Error: GCC_ANALYZER_WARNING (CWE-775): [#def646]
bluez-5.85/tools/avinfo.c:882:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/avinfo.c:862:14: acquire_resource: socket created here
bluez-5.85/tools/avinfo.c:863:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/avinfo.c:869:13: branch_false: ...to here
bluez-5.85/tools/avinfo.c:869:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/avinfo.c:875:9: branch_false: ...to here
bluez-5.85/tools/avinfo.c:880:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/avinfo.c:881:69: branch_true: ...to here
bluez-5.85/tools/avinfo.c:882:17: throw: if ‘close’ throws an exception...
bluez-5.85/tools/avinfo.c:882:17: danger: ‘sk’ leaks here
Error: CPPCHECK_WARNING (CWE-457): [#def647]
bluez-5.85/tools/avtest.c:189: warning[uninitvar]: Uninitialized variable: hdr->transaction
Error: GCC_ANALYZER_WARNING (CWE-775): [#def648]
bluez-5.85/tools/avtest.c:220:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘accept(sk, & addr, & optlen)’
bluez-5.85/tools/avtest.c:466:13: enter_function: entry to ‘do_listen’
bluez-5.85/tools/avtest.c:474:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/avtest.c:479:9: branch_false: ...to here
bluez-5.85/tools/avtest.c:484:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/avtest.c:489:12: branch_false: ...to here
bluez-5.85/tools/avtest.c:492:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/avtest.c:492:12: branch_false: ...to here
bluez-5.85/tools/avtest.c:502:20: branch_false: following ‘false’ branch...
bluez-5.85/tools/avtest.c:507:17: branch_false: ...to here
bluez-5.85/tools/avtest.c:507:17: call_function: calling ‘process_avdtp’ from ‘do_listen’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def649]
bluez-5.85/tools/avtest.c:220:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/avtest.c:466:13: enter_function: entry to ‘do_listen’
bluez-5.85/tools/avtest.c:473:14: acquire_resource: socket created here
bluez-5.85/tools/avtest.c:474:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/avtest.c:479:9: branch_false: ...to here
bluez-5.85/tools/avtest.c:484:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/avtest.c:489:12: branch_false: ...to here
bluez-5.85/tools/avtest.c:492:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/avtest.c:492:12: branch_false: ...to here
bluez-5.85/tools/avtest.c:502:20: branch_false: following ‘false’ branch...
bluez-5.85/tools/avtest.c:507:17: branch_false: ...to here
bluez-5.85/tools/avtest.c:507:17: call_function: calling ‘process_avdtp’ from ‘do_listen’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def650]
bluez-5.85/tools/avtest.c:485:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/avtest.c:473:14: acquire_resource: socket created here
bluez-5.85/tools/avtest.c:474:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/avtest.c:479:9: branch_false: ...to here
bluez-5.85/tools/avtest.c:484:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/avtest.c:485:17: branch_true: ...to here
bluez-5.85/tools/avtest.c:485:17: throw: if ‘perror’ throws an exception...
bluez-5.85/tools/avtest.c:485:17: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def651]
bluez-5.85/tools/avtest.c:493:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/avtest.c:473:14: acquire_resource: socket created here
bluez-5.85/tools/avtest.c:474:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/avtest.c:479:9: branch_false: ...to here
bluez-5.85/tools/avtest.c:484:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/avtest.c:489:12: branch_false: ...to here
bluez-5.85/tools/avtest.c:489:12: branch_true: following ‘true’ branch (when ‘fragment != 0’)...
bluez-5.85/tools/avtest.c:490:17: branch_true: ...to here
bluez-5.85/tools/avtest.c:492:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/avtest.c:493:17: branch_true: ...to here
bluez-5.85/tools/avtest.c:493:17: throw: if ‘perror’ throws an exception...
bluez-5.85/tools/avtest.c:493:17: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def652]
bluez-5.85/tools/avtest.c:503:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/avtest.c:473:14: acquire_resource: socket created here
bluez-5.85/tools/avtest.c:474:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/avtest.c:479:9: branch_false: ...to here
bluez-5.85/tools/avtest.c:484:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/avtest.c:489:12: branch_false: ...to here
bluez-5.85/tools/avtest.c:492:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/avtest.c:492:12: branch_false: ...to here
bluez-5.85/tools/avtest.c:502:20: branch_true: following ‘true’ branch...
bluez-5.85/tools/avtest.c:503:25: branch_true: ...to here
bluez-5.85/tools/avtest.c:503:25: throw: if ‘perror’ throws an exception...
bluez-5.85/tools/avtest.c:503:25: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def653]
bluez-5.85/tools/avtest.c:518:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/avtest.c:473:14: acquire_resource: socket created here
bluez-5.85/tools/avtest.c:474:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/avtest.c:479:9: branch_false: ...to here
bluez-5.85/tools/avtest.c:484:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/avtest.c:489:12: branch_false: ...to here
bluez-5.85/tools/avtest.c:489:12: branch_false: following ‘false’ branch (when ‘fragment == 0’)...
bluez-5.85/tools/avtest.c:492:13: branch_false: ...to here
bluez-5.85/tools/avtest.c:492:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/avtest.c:493:17: branch_true: ...to here
bluez-5.85/tools/avtest.c:518:9: throw: if ‘close’ throws an exception...
bluez-5.85/tools/avtest.c:518:9: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def654]
bluez-5.85/tools/avtest.c:538:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/avtest.c:527:14: acquire_resource: socket created here
bluez-5.85/tools/avtest.c:528:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/avtest.c:533:9: branch_false: ...to here
bluez-5.85/tools/avtest.c:537:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/avtest.c:538:17: branch_true: ...to here
bluez-5.85/tools/avtest.c:538:17: throw: if ‘perror’ throws an exception...
bluez-5.85/tools/avtest.c:538:17: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-666): [#def655]
bluez-5.85/tools/avtest.c:550:15: warning[-Wanalyzer-fd-phase-mismatch]: ‘connect’ on file descriptor ‘sk’ in wrong phase
bluez-5.85/tools/avtest.c:527:14: acquire_resource: socket created here
bluez-5.85/tools/avtest.c:528:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/avtest.c:533:9: branch_false: ...to here
bluez-5.85/tools/avtest.c:537:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/avtest.c:542:12: branch_false: ...to here
bluez-5.85/tools/avtest.c:542:12: branch_false: following ‘false’ branch (when ‘fragment == 0’)...
bluez-5.85/tools/avtest.c:545:9: branch_false: ...to here
bluez-5.85/tools/avtest.c:550:15: danger: ‘connect’ expects a new socket file descriptor but ‘sk’ is bound
Error: GCC_ANALYZER_WARNING (CWE-775): [#def656]
bluez-5.85/tools/avtest.c:552:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/avtest.c:527:14: acquire_resource: socket created here
bluez-5.85/tools/avtest.c:528:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/avtest.c:533:9: branch_false: ...to here
bluez-5.85/tools/avtest.c:537:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/avtest.c:542:12: branch_false: ...to here
bluez-5.85/tools/avtest.c:542:12: branch_true: following ‘true’ branch (when ‘fragment != 0’)...
bluez-5.85/tools/avtest.c:543:17: branch_true: ...to here
bluez-5.85/tools/avtest.c:550:15: acquire_resource: socket created here
bluez-5.85/tools/avtest.c:551:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/avtest.c:552:17: branch_true: ...to here
bluez-5.85/tools/avtest.c:552:17: throw: if ‘perror’ throws an exception...
bluez-5.85/tools/avtest.c:552:17: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def657]
bluez-5.85/tools/avtest.c:559:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/avtest.c:527:14: acquire_resource: socket created here
bluez-5.85/tools/avtest.c:528:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/avtest.c:533:9: branch_false: ...to here
bluez-5.85/tools/avtest.c:537:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/avtest.c:538:17: branch_true: ...to here
bluez-5.85/tools/avtest.c:559:9: throw: if ‘close’ throws an exception...
bluez-5.85/tools/avtest.c:559:9: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def658]
bluez-5.85/tools/bnep-tester.c:272:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/bnep-tester.c:264:14: acquire_resource: socket created here
bluez-5.85/tools/bnep-tester.c:265:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/bnep-tester.c:272:9: branch_false: ...to here
bluez-5.85/tools/bnep-tester.c:272:9: throw: if ‘close’ throws an exception...
bluez-5.85/tools/bnep-tester.c:272:9: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-479): [#def659]
bluez-5.85/tools/bneptest.c:483:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘printf’ from within signal handler
bluez-5.85/tools/bneptest.c:549:5: enter_function: entry to ‘main’
bluez-5.85/tools/bneptest.c:555:9: branch_false: following ‘false’ branch...
bluez-5.85/tools/bneptest.c:557:9: branch_false: ...to here
bluez-5.85/tools/bneptest.c:481:13: enter_function: entry to ‘exit_handler’
bluez-5.85/tools/bneptest.c:483:9: danger: call to ‘printf’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-401): [#def660]
bluez-5.85/tools/btgatt-client.c:748:22: warning[-Wanalyzer-malloc-leak]: leak of ‘value’
bluez-5.85/tools/btgatt-client.c:679:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/btgatt-client.c:684:14: branch_true: ...to here
bluez-5.85/tools/btgatt-client.c:684:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/btgatt-client.c:690:9: branch_true: ...to here
bluez-5.85/tools/btgatt-client.c:710:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-client.c:715:18: branch_false: ...to here
bluez-5.85/tools/btgatt-client.c:716:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-client.c:723:12: branch_true: following ‘true’ branch (when ‘length != 0’)...
bluez-5.85/tools/btgatt-client.c:724:20: branch_true: ...to here
bluez-5.85/tools/btgatt-client.c:724:20: branch_false: following ‘false’ branch (when ‘length <= 65535’)...
bluez-5.85/tools/btgatt-client.c:729:25: branch_false: ...to here
bluez-5.85/tools/btgatt-client.c:729:25: acquire_memory: allocated here
bluez-5.85/tools/btgatt-client.c:730:20: branch_false: following ‘false’ branch (when ‘value’ is non-NULL)...
bluez-5.85/tools/btgatt-client.c:730:20: branch_false: ...to here
bluez-5.85/tools/btgatt-client.c:747:12: branch_true: following ‘true’ branch (when ‘without_response != 0’)...
bluez-5.85/tools/btgatt-client.c:748:22: branch_true: ...to here
bluez-5.85/tools/btgatt-client.c:748:22: throw: if ‘bt_gatt_client_write_without_response’ throws an exception...
bluez-5.85/tools/btgatt-client.c:748:22: danger: ‘value’ leaks here; was allocated at [(13)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def661]
bluez-5.85/tools/btgatt-client.c:759:14: warning[-Wanalyzer-malloc-leak]: leak of ‘value’
bluez-5.85/tools/btgatt-client.c:679:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/btgatt-client.c:684:14: branch_true: ...to here
bluez-5.85/tools/btgatt-client.c:684:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/btgatt-client.c:690:9: branch_true: ...to here
bluez-5.85/tools/btgatt-client.c:710:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-client.c:715:18: branch_false: ...to here
bluez-5.85/tools/btgatt-client.c:716:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-client.c:723:12: branch_true: following ‘true’ branch (when ‘length != 0’)...
bluez-5.85/tools/btgatt-client.c:724:20: branch_true: ...to here
bluez-5.85/tools/btgatt-client.c:724:20: branch_false: following ‘false’ branch (when ‘length <= 65535’)...
bluez-5.85/tools/btgatt-client.c:729:25: branch_false: ...to here
bluez-5.85/tools/btgatt-client.c:729:25: acquire_memory: allocated here
bluez-5.85/tools/btgatt-client.c:730:20: branch_false: following ‘false’ branch (when ‘value’ is non-NULL)...
bluez-5.85/tools/btgatt-client.c:730:20: branch_false: ...to here
bluez-5.85/tools/btgatt-client.c:747:12: branch_false: following ‘false’ branch (when ‘without_response == 0’)...
bluez-5.85/tools/btgatt-client.c:759:14: branch_false: ...to here
bluez-5.85/tools/btgatt-client.c:759:14: throw: if ‘bt_gatt_client_write_value’ throws an exception...
bluez-5.85/tools/btgatt-client.c:759:14: danger: ‘value’ leaks here; was allocated at [(13)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def662]
bluez-5.85/tools/btgatt-client.c:765:17: warning[-Wanalyzer-malloc-leak]: leak of ‘value’
bluez-5.85/tools/btgatt-client.c:679:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/btgatt-client.c:684:14: branch_true: ...to here
bluez-5.85/tools/btgatt-client.c:684:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/btgatt-client.c:690:9: branch_true: ...to here
bluez-5.85/tools/btgatt-client.c:710:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-client.c:715:18: branch_false: ...to here
bluez-5.85/tools/btgatt-client.c:716:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-client.c:723:12: branch_true: following ‘true’ branch (when ‘length != 0’)...
bluez-5.85/tools/btgatt-client.c:724:20: branch_true: ...to here
bluez-5.85/tools/btgatt-client.c:724:20: branch_false: following ‘false’ branch (when ‘length <= 65535’)...
bluez-5.85/tools/btgatt-client.c:729:25: branch_false: ...to here
bluez-5.85/tools/btgatt-client.c:729:25: acquire_memory: allocated here
bluez-5.85/tools/btgatt-client.c:730:20: branch_false: following ‘false’ branch (when ‘value’ is non-NULL)...
bluez-5.85/tools/btgatt-client.c:730:20: branch_false: ...to here
bluez-5.85/tools/btgatt-client.c:747:12: branch_false: following ‘false’ branch (when ‘without_response == 0’)...
bluez-5.85/tools/btgatt-client.c:759:14: branch_false: ...to here
bluez-5.85/tools/btgatt-client.c:762:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-client.c:764:19: branch_false: ...to here
bluez-5.85/tools/btgatt-client.c:764:17: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-client.c:765:17: branch_false: ...to here
bluez-5.85/tools/btgatt-client.c:765:17: throw: if ‘bt_gatt_client_set_retry’ throws an exception...
bluez-5.85/tools/btgatt-client.c:765:17: danger: ‘value’ leaks here; was allocated at [(13)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def663]
bluez-5.85/tools/btgatt-client.c:886:14: warning[-Wanalyzer-malloc-leak]: leak of ‘value’
bluez-5.85/tools/btgatt-client.c:799:13: enter_function: entry to ‘cmd_write_long_value’
bluez-5.85/tools/btgatt-client.c:813:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/btgatt-client.c:818:14: branch_true: ...to here
bluez-5.85/tools/btgatt-client.c:818:14: call_function: calling ‘parse_args’ from ‘cmd_write_long_value’
bluez-5.85/tools/btgatt-client.c:818:14: return_function: returning to ‘cmd_write_long_value’ from ‘parse_args’
bluez-5.85/tools/btgatt-client.c:818:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/btgatt-client.c:824:9: branch_true: ...to here
bluez-5.85/tools/btgatt-client.c:841:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-client.c:846:18: branch_false: ...to here
bluez-5.85/tools/btgatt-client.c:847:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-client.c:854:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-client.c:861:12: branch_true: following ‘true’ branch (when ‘length != 0’)...
bluez-5.85/tools/btgatt-client.c:862:20: branch_true: ...to here
bluez-5.85/tools/btgatt-client.c:862:20: branch_false: following ‘false’ branch (when ‘length <= 65535’)...
bluez-5.85/tools/btgatt-client.c:867:25: branch_false: ...to here
bluez-5.85/tools/btgatt-client.c:867:25: acquire_memory: allocated here
bluez-5.85/tools/btgatt-client.c:868:20: branch_false: following ‘false’ branch (when ‘value’ is non-NULL)...
bluez-5.85/tools/btgatt-client.c:868:20: branch_false: ...to here
bluez-5.85/tools/btgatt-client.c:886:14: throw: if ‘bt_gatt_client_write_long_value’ throws an exception...
bluez-5.85/tools/btgatt-client.c:886:14: danger: ‘value’ leaks here; was allocated at [(23)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/22)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def664]
bluez-5.85/tools/btgatt-client.c:893:17: warning[-Wanalyzer-malloc-leak]: leak of ‘value’
bluez-5.85/tools/btgatt-client.c:799:13: enter_function: entry to ‘cmd_write_long_value’
bluez-5.85/tools/btgatt-client.c:813:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/btgatt-client.c:818:14: branch_true: ...to here
bluez-5.85/tools/btgatt-client.c:818:14: call_function: calling ‘parse_args’ from ‘cmd_write_long_value’
bluez-5.85/tools/btgatt-client.c:818:14: return_function: returning to ‘cmd_write_long_value’ from ‘parse_args’
bluez-5.85/tools/btgatt-client.c:818:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/btgatt-client.c:824:9: branch_true: ...to here
bluez-5.85/tools/btgatt-client.c:841:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-client.c:846:18: branch_false: ...to here
bluez-5.85/tools/btgatt-client.c:847:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-client.c:854:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-client.c:861:12: branch_true: following ‘true’ branch (when ‘length != 0’)...
bluez-5.85/tools/btgatt-client.c:862:20: branch_true: ...to here
bluez-5.85/tools/btgatt-client.c:862:20: branch_false: following ‘false’ branch (when ‘length <= 65535’)...
bluez-5.85/tools/btgatt-client.c:867:25: branch_false: ...to here
bluez-5.85/tools/btgatt-client.c:867:25: acquire_memory: allocated here
bluez-5.85/tools/btgatt-client.c:868:20: branch_false: following ‘false’ branch (when ‘value’ is non-NULL)...
bluez-5.85/tools/btgatt-client.c:868:20: branch_false: ...to here
bluez-5.85/tools/btgatt-client.c:890:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-client.c:892:19: branch_false: ...to here
bluez-5.85/tools/btgatt-client.c:892:17: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-client.c:893:17: branch_false: ...to here
bluez-5.85/tools/btgatt-client.c:893:17: throw: if ‘bt_gatt_client_set_retry’ throws an exception...
bluez-5.85/tools/btgatt-client.c:893:17: danger: ‘value’ leaks here; was allocated at [(23)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/22)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def665]
bluez-5.85/tools/btgatt-client.c:1020:25: warning[-Wanalyzer-malloc-leak]: leak of ‘value’
bluez-5.85/tools/btgatt-client.c:926:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/btgatt-client.c:931:14: branch_true: ...to here
bluez-5.85/tools/btgatt-client.c:931:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/btgatt-client.c:938:9: branch_true: ...to here
bluez-5.85/tools/btgatt-client.c:963:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-client.c:968:13: branch_false: ...to here
bluez-5.85/tools/btgatt-client.c:968:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-client.c:974:18: branch_false: ...to here
bluez-5.85/tools/btgatt-client.c:975:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-client.c:982:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-client.c:996:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-client.c:1001:17: branch_false: ...to here
bluez-5.85/tools/btgatt-client.c:1001:17: acquire_memory: allocated here
bluez-5.85/tools/btgatt-client.c:1002:12: branch_false: following ‘false’ branch (when ‘value’ is non-NULL)...
bluez-5.85/tools/btgatt-client.c:1002:12: branch_false: ...to here
bluez-5.85/tools/btgatt-client.c:1007:21: branch_true: following ‘true’ branch...
bluez-5.85/tools/btgatt-client.c:1008:34: branch_true: ...to here
bluez-5.85/tools/btgatt-client.c:1009:20: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-client.c:1009:21: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-client.c:1015:23: branch_false: ...to here
bluez-5.85/tools/btgatt-client.c:1007:21: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-client.c:1018:1: branch_false: ...to here
bluez-5.85/tools/btgatt-client.c:1020:25: throw: if ‘bt_gatt_client_prepare_write’ throws an exception...
bluez-5.85/tools/btgatt-client.c:1020:25: danger: ‘value’ leaks here; was allocated at [(15)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def666]
bluez-5.85/tools/btgatt-client.c:1029:25: warning[-Wanalyzer-malloc-leak]: leak of ‘value’
bluez-5.85/tools/btgatt-client.c:926:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/btgatt-client.c:931:14: branch_true: ...to here
bluez-5.85/tools/btgatt-client.c:931:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/btgatt-client.c:938:9: branch_true: ...to here
bluez-5.85/tools/btgatt-client.c:963:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-client.c:968:13: branch_false: ...to here
bluez-5.85/tools/btgatt-client.c:968:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-client.c:974:18: branch_false: ...to here
bluez-5.85/tools/btgatt-client.c:975:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-client.c:982:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-client.c:996:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-client.c:1001:17: branch_false: ...to here
bluez-5.85/tools/btgatt-client.c:1001:17: acquire_memory: allocated here
bluez-5.85/tools/btgatt-client.c:1002:12: branch_false: following ‘false’ branch (when ‘value’ is non-NULL)...
bluez-5.85/tools/btgatt-client.c:1002:12: branch_false: ...to here
bluez-5.85/tools/btgatt-client.c:1007:21: branch_true: following ‘true’ branch...
bluez-5.85/tools/btgatt-client.c:1008:34: branch_true: ...to here
bluez-5.85/tools/btgatt-client.c:1009:20: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-client.c:1009:21: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-client.c:1015:23: branch_false: ...to here
bluez-5.85/tools/btgatt-client.c:1007:21: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-client.c:1018:1: branch_false: ...to here
bluez-5.85/tools/btgatt-client.c:1025:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-client.c:1028:22: branch_false: ...to here
bluez-5.85/tools/btgatt-client.c:1028:20: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-client.c:1029:25: branch_false: ...to here
bluez-5.85/tools/btgatt-client.c:1029:25: throw: if ‘bt_gatt_client_set_retry’ throws an exception...
bluez-5.85/tools/btgatt-client.c:1029:25: danger: ‘value’ leaks here; was allocated at [(15)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def667]
bluez-5.85/tools/btgatt-server.c:685:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/btgatt-server.c:657:14: acquire_resource: socket created here
bluez-5.85/tools/btgatt-server.c:658:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/btgatt-server.c:664:9: branch_false: ...to here
bluez-5.85/tools/btgatt-server.c:670:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-server.c:676:9: branch_false: ...to here
bluez-5.85/tools/btgatt-server.c:678:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-server.c:684:13: branch_false: ...to here
bluez-5.85/tools/btgatt-server.c:684:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/btgatt-server.c:685:17: branch_true: ...to here
bluez-5.85/tools/btgatt-server.c:685:17: throw: if ‘perror’ throws an exception...
bluez-5.85/tools/btgatt-server.c:685:17: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def668]
bluez-5.85/tools/btgatt-server.c:693:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/btgatt-server.c:657:14: acquire_resource: socket created here
bluez-5.85/tools/btgatt-server.c:658:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/btgatt-server.c:664:9: branch_false: ...to here
bluez-5.85/tools/btgatt-server.c:670:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-server.c:676:9: branch_false: ...to here
bluez-5.85/tools/btgatt-server.c:678:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-server.c:684:13: branch_false: ...to here
bluez-5.85/tools/btgatt-server.c:684:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-server.c:689:9: branch_false: ...to here
bluez-5.85/tools/btgatt-server.c:693:15: throw: if ‘accept’ throws an exception...
bluez-5.85/tools/btgatt-server.c:693:15: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def669]
bluez-5.85/tools/btgatt-server.c:706:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/btgatt-server.c:657:14: acquire_resource: socket created here
bluez-5.85/tools/btgatt-server.c:658:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/btgatt-server.c:664:9: branch_false: ...to here
bluez-5.85/tools/btgatt-server.c:670:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-server.c:676:9: branch_false: ...to here
bluez-5.85/tools/btgatt-server.c:678:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-server.c:684:13: branch_false: ...to here
bluez-5.85/tools/btgatt-server.c:684:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/btgatt-server.c:685:17: branch_true: ...to here
bluez-5.85/tools/btgatt-server.c:706:9: throw: if ‘close’ throws an exception...
bluez-5.85/tools/btgatt-server.c:706:9: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def670]
bluez-5.85/tools/btgatt-server.c:825:22: warning[-Wanalyzer-malloc-leak]: leak of ‘value’
bluez-5.85/tools/btgatt-server.c:759:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/btgatt-server.c:765:9: branch_true: ...to here
bluez-5.85/tools/btgatt-server.c:769:17: branch_true: following ‘true’ branch (when ‘opt == 105’)...
bluez-5.85/tools/btgatt-server.c:769:17: branch_true: ...to here
bluez-5.85/tools/btgatt-server.c:782:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-server.c:787:18: branch_false: ...to here
bluez-5.85/tools/btgatt-server.c:788:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-server.c:795:12: branch_true: following ‘true’ branch (when ‘length != 0’)...
bluez-5.85/tools/btgatt-server.c:796:20: branch_true: ...to here
bluez-5.85/tools/btgatt-server.c:796:20: branch_false: following ‘false’ branch (when ‘length <= 65535’)...
bluez-5.85/tools/btgatt-server.c:801:25: branch_false: ...to here
bluez-5.85/tools/btgatt-server.c:801:25: acquire_memory: allocated here
bluez-5.85/tools/btgatt-server.c:802:20: branch_false: following ‘false’ branch (when ‘value’ is non-NULL)...
bluez-5.85/tools/btgatt-server.c:802:20: branch_false: ...to here
bluez-5.85/tools/btgatt-server.c:824:12: branch_true: following ‘true’ branch (when ‘indicate != 0’)...
bluez-5.85/tools/btgatt-server.c:825:22: branch_true: ...to here
bluez-5.85/tools/btgatt-server.c:825:22: throw: if ‘bt_gatt_server_send_indication’ throws an exception...
bluez-5.85/tools/btgatt-server.c:825:22: danger: ‘value’ leaks here; was allocated at [(13)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def671]
bluez-5.85/tools/btgatt-server.c:829:21: warning[-Wanalyzer-malloc-leak]: leak of ‘value’
bluez-5.85/tools/btgatt-server.c:759:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/btgatt-server.c:765:9: branch_true: ...to here
bluez-5.85/tools/btgatt-server.c:782:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-server.c:787:18: branch_false: ...to here
bluez-5.85/tools/btgatt-server.c:788:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btgatt-server.c:795:12: branch_true: following ‘true’ branch (when ‘length != 0’)...
bluez-5.85/tools/btgatt-server.c:796:20: branch_true: ...to here
bluez-5.85/tools/btgatt-server.c:796:20: branch_false: following ‘false’ branch (when ‘length <= 65535’)...
bluez-5.85/tools/btgatt-server.c:801:25: branch_false: ...to here
bluez-5.85/tools/btgatt-server.c:801:25: acquire_memory: allocated here
bluez-5.85/tools/btgatt-server.c:802:20: branch_false: following ‘false’ branch (when ‘value’ is non-NULL)...
bluez-5.85/tools/btgatt-server.c:802:20: branch_false: ...to here
bluez-5.85/tools/btgatt-server.c:824:12: branch_false: following ‘false’ branch (when ‘indicate == 0’)...
bluez-5.85/tools/btgatt-server.c:829:21: branch_false: ...to here
bluez-5.85/tools/btgatt-server.c:829:21: throw: if ‘bt_gatt_server_send_notification’ throws an exception...
bluez-5.85/tools/btgatt-server.c:829:21: danger: ‘value’ leaks here; was allocated at [(11)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def672]
bluez-5.85/tools/btproxy.c:657:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/tools/btproxy.c:633:12: branch_false: following ‘false’ branch (when ‘len <= 107’)...
bluez-5.85/tools/btproxy.c:638:9: branch_false: ...to here
bluez-5.85/tools/btproxy.c:640:14: acquire_resource: socket created here
bluez-5.85/tools/btproxy.c:641:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
bluez-5.85/tools/btproxy.c:646:9: branch_false: ...to here
bluez-5.85/tools/btproxy.c:650:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btproxy.c:656:13: branch_false: ...to here
bluez-5.85/tools/btproxy.c:656:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/btproxy.c:657:17: branch_true: ...to here
bluez-5.85/tools/btproxy.c:657:17: throw: if ‘perror’ throws an exception...
bluez-5.85/tools/btproxy.c:657:17: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def673]
bluez-5.85/tools/btproxy.c:658:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/tools/btproxy.c:633:12: branch_false: following ‘false’ branch (when ‘len <= 107’)...
bluez-5.85/tools/btproxy.c:638:9: branch_false: ...to here
bluez-5.85/tools/btproxy.c:640:14: acquire_resource: socket created here
bluez-5.85/tools/btproxy.c:641:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
bluez-5.85/tools/btproxy.c:646:9: branch_false: ...to here
bluez-5.85/tools/btproxy.c:650:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btproxy.c:656:13: branch_false: ...to here
bluez-5.85/tools/btproxy.c:656:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/btproxy.c:657:17: branch_true: ...to here
bluez-5.85/tools/btproxy.c:658:17: throw: if ‘close’ throws an exception...
bluez-5.85/tools/btproxy.c:658:17: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def674]
bluez-5.85/tools/btproxy.c:663:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/tools/btproxy.c:633:12: branch_false: following ‘false’ branch (when ‘len <= 107’)...
bluez-5.85/tools/btproxy.c:638:9: branch_false: ...to here
bluez-5.85/tools/btproxy.c:640:14: acquire_resource: socket created here
bluez-5.85/tools/btproxy.c:641:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
bluez-5.85/tools/btproxy.c:646:9: branch_false: ...to here
bluez-5.85/tools/btproxy.c:650:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btproxy.c:656:13: branch_false: ...to here
bluez-5.85/tools/btproxy.c:656:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btproxy.c:662:13: branch_false: ...to here
bluez-5.85/tools/btproxy.c:662:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/btproxy.c:663:17: branch_true: ...to here
bluez-5.85/tools/btproxy.c:663:17: throw: if ‘perror’ throws an exception...
bluez-5.85/tools/btproxy.c:663:17: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def675]
bluez-5.85/tools/btproxy.c:693:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/tools/btproxy.c:673:14: acquire_resource: socket created here
bluez-5.85/tools/btproxy.c:674:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
bluez-5.85/tools/btproxy.c:679:9: branch_false: ...to here
bluez-5.85/tools/btproxy.c:686:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btproxy.c:692:13: branch_false: ...to here
bluez-5.85/tools/btproxy.c:692:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/btproxy.c:693:17: branch_true: ...to here
bluez-5.85/tools/btproxy.c:693:17: throw: if ‘perror’ throws an exception...
bluez-5.85/tools/btproxy.c:693:17: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def676]
bluez-5.85/tools/btproxy.c:694:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/tools/btproxy.c:673:14: acquire_resource: socket created here
bluez-5.85/tools/btproxy.c:674:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
bluez-5.85/tools/btproxy.c:679:9: branch_false: ...to here
bluez-5.85/tools/btproxy.c:686:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btproxy.c:692:13: branch_false: ...to here
bluez-5.85/tools/btproxy.c:692:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/btproxy.c:693:17: branch_true: ...to here
bluez-5.85/tools/btproxy.c:694:17: throw: if ‘close’ throws an exception...
bluez-5.85/tools/btproxy.c:694:17: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def677]
bluez-5.85/tools/btproxy.c:717:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/tools/btproxy.c:706:14: acquire_resource: socket created here
bluez-5.85/tools/btproxy.c:707:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
bluez-5.85/tools/btproxy.c:712:9: branch_false: ...to here
bluez-5.85/tools/btproxy.c:717:13: throw: if ‘connect’ throws an exception...
bluez-5.85/tools/btproxy.c:717:13: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def678]
bluez-5.85/tools/btproxy.c:738:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/vhci", 524290)’
bluez-5.85/tools/btproxy.c:732:14: acquire_resource: opened here
bluez-5.85/tools/btproxy.c:733:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btproxy.c:738:19: branch_false: ...to here
bluez-5.85/tools/btproxy.c:738:19: throw: if ‘write’ throws an exception...
bluez-5.85/tools/btproxy.c:738:19: danger: ‘open("/dev/vhci", 524290)’ leaks here; was opened at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def679]
bluez-5.85/tools/btproxy.c:740:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/vhci", 524290)’
bluez-5.85/tools/btproxy.c:732:14: acquire_resource: opened here
bluez-5.85/tools/btproxy.c:733:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btproxy.c:738:19: branch_false: ...to here
bluez-5.85/tools/btproxy.c:739:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/btproxy.c:740:17: branch_true: ...to here
bluez-5.85/tools/btproxy.c:740:17: throw: if ‘perror’ throws an exception...
bluez-5.85/tools/btproxy.c:740:17: danger: ‘open("/dev/vhci", 524290)’ leaks here; was opened at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def680]
bluez-5.85/tools/btproxy.c:741:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/vhci", 524290)’
bluez-5.85/tools/btproxy.c:732:14: acquire_resource: opened here
bluez-5.85/tools/btproxy.c:733:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btproxy.c:738:19: branch_false: ...to here
bluez-5.85/tools/btproxy.c:739:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/btproxy.c:740:17: branch_true: ...to here
bluez-5.85/tools/btproxy.c:741:17: danger: ‘open("/dev/vhci", 524290)’ leaks here; was opened at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def681]
bluez-5.85/tools/btproxy.c:948:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘server_fd’
bluez-5.85/tools/btproxy.c:790:5: enter_function: entry to ‘main’
bluez-5.85/tools/btproxy.c:806:20: branch_false: following ‘false’ branch (when ‘opt >= 0’)...
bluez-5.85/tools/btproxy.c:809:17: branch_false: ...to here
bluez-5.85/tools/btproxy.c:817:28: branch_false: following ‘false’ branch...
bluez-5.85/tools/btproxy.c:817:28: branch_false: ...to here
bluez-5.85/tools/btproxy.c:878:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btproxy.c:883:12: branch_false: ...to here
bluez-5.85/tools/btproxy.c:883:12: branch_false: following ‘false’ branch (when ‘unix_path’ is NULL)...
bluez-5.85/tools/btproxy.c:888:12: branch_false: ...to here
bluez-5.85/tools/btproxy.c:888:12: branch_false: following ‘false’ branch (when ‘connect_address’ is NULL)...
bluez-5.85/tools/btproxy.c:893:13: branch_false: ...to here
bluez-5.85/tools/btproxy.c:893:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/btproxy.c:894:17: branch_true: ...to here
bluez-5.85/tools/btproxy.c:898:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btproxy.c:931:20: branch_false: ...to here
bluez-5.85/tools/btproxy.c:931:20: branch_false: following ‘false’ branch (when ‘unix_path’ is NULL)...
bluez-5.85/tools/btproxy.c:935:27: branch_false: ...to here
bluez-5.85/tools/btproxy.c:935:27: branch_true: following ‘true’ branch (when ‘server_address’ is non-NULL)...
bluez-5.85/tools/btproxy.c:936:25: branch_true: ...to here
bluez-5.85/tools/btproxy.c:939:37: call_function: calling ‘open_tcp’ from ‘main’
bluez-5.85/tools/btproxy.c:939:37: return_function: returning to ‘main’ from ‘open_tcp’
bluez-5.85/tools/btproxy.c:945:20: branch_false: following ‘false’ branch (when ‘server_fd != -1’)...
bluez-5.85/tools/btproxy.c:948:17: branch_false: ...to here
bluez-5.85/tools/btproxy.c:948:17: throw: if ‘mainloop_add_fd’ throws an exception...
bluez-5.85/tools/btproxy.c:948:17: danger: ‘server_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def682]
bluez-5.85/tools/btsnoop.c:60:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘input_fd[0]’
bluez-5.85/tools/btsnoop.c:119:13: enter_function: entry to ‘command_merge’
bluez-5.85/tools/btsnoop.c:129:12: branch_false: following ‘false’ branch (when ‘argc <= 8’)...
bluez-5.85/tools/btsnoop.c:129:12: branch_false: ...to here
bluez-5.85/tools/btsnoop.c:134:21: branch_true: following ‘true’ branch (when ‘num_input < argc’)...
bluez-5.85/tools/btsnoop.c:138:39: branch_true: ...to here
bluez-5.85/tools/btsnoop.c:138:22: call_function: calling ‘open_btsnoop’ from ‘command_merge’
bluez-5.85/tools/btsnoop.c:138:22: return_function: returning to ‘command_merge’ from ‘open_btsnoop’
bluez-5.85/tools/btsnoop.c:139:20: branch_false: following ‘false’ branch...
bluez-5.85/tools/btsnoop.c:142:21: branch_false: ...to here
bluez-5.85/tools/btsnoop.c:142:20: branch_false: following ‘false’ branch...
bluez-5.85/tools/btsnoop.c:149:26: branch_false: ...to here
bluez-5.85/tools/btsnoop.c:134:21: branch_false: following ‘false’ branch (when ‘num_input >= argc’)...
bluez-5.85/tools/btsnoop.c:152:12: branch_false: ...to here
bluez-5.85/tools/btsnoop.c:152:12: branch_false: following ‘false’ branch (when ‘num_input == argc’)...
bluez-5.85/tools/btsnoop.c:157:21: branch_false: ...to here
bluez-5.85/tools/btsnoop.c:157:21: call_function: calling ‘create_btsnoop’ from ‘command_merge’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def683]
bluez-5.85/tools/btsnoop.c:62:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘input_fd[0]’
bluez-5.85/tools/btsnoop.c:119:13: enter_function: entry to ‘command_merge’
bluez-5.85/tools/btsnoop.c:129:12: branch_false: following ‘false’ branch (when ‘argc <= 8’)...
bluez-5.85/tools/btsnoop.c:129:12: branch_false: ...to here
bluez-5.85/tools/btsnoop.c:134:21: branch_true: following ‘true’ branch (when ‘num_input < argc’)...
bluez-5.85/tools/btsnoop.c:138:39: branch_true: ...to here
bluez-5.85/tools/btsnoop.c:138:22: call_function: calling ‘open_btsnoop’ from ‘command_merge’
bluez-5.85/tools/btsnoop.c:138:22: return_function: returning to ‘command_merge’ from ‘open_btsnoop’
bluez-5.85/tools/btsnoop.c:139:20: branch_false: following ‘false’ branch...
bluez-5.85/tools/btsnoop.c:142:21: branch_false: ...to here
bluez-5.85/tools/btsnoop.c:142:20: branch_false: following ‘false’ branch...
bluez-5.85/tools/btsnoop.c:149:26: branch_false: ...to here
bluez-5.85/tools/btsnoop.c:134:21: branch_false: following ‘false’ branch (when ‘num_input >= argc’)...
bluez-5.85/tools/btsnoop.c:152:12: branch_false: ...to here
bluez-5.85/tools/btsnoop.c:152:12: branch_false: following ‘false’ branch (when ‘num_input == argc’)...
bluez-5.85/tools/btsnoop.c:157:21: branch_false: ...to here
bluez-5.85/tools/btsnoop.c:157:21: call_function: calling ‘create_btsnoop’ from ‘command_merge’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def684]
bluez-5.85/tools/btsnoop.c:94:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(path, 524288)’
bluez-5.85/tools/btsnoop.c:86:14: acquire_resource: opened here
bluez-5.85/tools/btsnoop.c:87:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btsnoop.c:92:15: branch_false: ...to here
bluez-5.85/tools/btsnoop.c:93:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/btsnoop.c:94:17: branch_true: ...to here
bluez-5.85/tools/btsnoop.c:94:17: throw: if ‘perror’ throws an exception...
bluez-5.85/tools/btsnoop.c:94:17: danger: ‘open(path, 524288)’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def685]
bluez-5.85/tools/btsnoop.c:95:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(path, 524288)’
bluez-5.85/tools/btsnoop.c:86:14: acquire_resource: opened here
bluez-5.85/tools/btsnoop.c:87:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btsnoop.c:92:15: branch_false: ...to here
bluez-5.85/tools/btsnoop.c:93:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/btsnoop.c:94:17: branch_true: ...to here
bluez-5.85/tools/btsnoop.c:95:17: danger: ‘open(path, 524288)’ leaks here; was opened at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def686]
bluez-5.85/tools/btsnoop.c:99:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(path, 524288)’
bluez-5.85/tools/btsnoop.c:86:14: acquire_resource: opened here
bluez-5.85/tools/btsnoop.c:87:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btsnoop.c:92:15: branch_false: ...to here
bluez-5.85/tools/btsnoop.c:93:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btsnoop.c:99:13: branch_false: ...to here
bluez-5.85/tools/btsnoop.c:99:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/btsnoop.c:100:17: branch_true: ...to here
bluez-5.85/tools/btsnoop.c:99:13: danger: ‘open(path, 524288)’ leaks here; was opened at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def687]
bluez-5.85/tools/btsnoop.c:99:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open_btsnoop(*<unknown>, & type)’
bluez-5.85/tools/btsnoop.c:119:13: enter_function: entry to ‘command_merge’
bluez-5.85/tools/btsnoop.c:129:12: branch_false: following ‘false’ branch (when ‘argc <= 8’)...
bluez-5.85/tools/btsnoop.c:129:12: branch_false: ...to here
bluez-5.85/tools/btsnoop.c:134:21: branch_true: following ‘true’ branch (when ‘num_input < argc’)...
bluez-5.85/tools/btsnoop.c:138:39: branch_true: ...to here
bluez-5.85/tools/btsnoop.c:138:22: call_function: calling ‘open_btsnoop’ from ‘command_merge’
bluez-5.85/tools/btsnoop.c:138:22: return_function: returning to ‘command_merge’ from ‘open_btsnoop’
bluez-5.85/tools/btsnoop.c:139:20: branch_false: following ‘false’ branch...
bluez-5.85/tools/btsnoop.c:142:21: branch_false: ...to here
bluez-5.85/tools/btsnoop.c:142:20: branch_true: following ‘true’ branch...
bluez-5.85/tools/btsnoop.c:143:25: branch_true: ...to here
bluez-5.85/tools/btsnoop.c:99:13: danger: ‘open_btsnoop(*<unknown>, & type)’ leaks here; was opened at [(8)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def688]
bluez-5.85/tools/btsnoop.c:99:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open_btsnoop(input, & type)’
bluez-5.85/tools/btsnoop.c:409:13: enter_function: entry to ‘command_extract_sdp’
bluez-5.85/tools/btsnoop.c:421:14: call_function: calling ‘open_btsnoop’ from ‘command_extract_sdp’
bluez-5.85/tools/btsnoop.c:421:14: return_function: returning to ‘command_extract_sdp’ from ‘open_btsnoop’
bluez-5.85/tools/btsnoop.c:422:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/btsnoop.c:425:13: branch_false: ...to here
bluez-5.85/tools/btsnoop.c:425:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/btsnoop.c:426:17: branch_true: ...to here
bluez-5.85/tools/btsnoop.c:99:13: danger: ‘open_btsnoop(input, & type)’ leaks here; was opened at [(4)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/3)
Error: COMPILER_WARNING: [#def689]
bluez-5.85/tools/btsnoop.c: scope_hint: In function ‘command_extract_eir’
bluez-5.85/tools/btsnoop.c:269:17: warning[-Wunused-but-set-variable=]: variable ‘count’ set but not used
Error: COMPILER_WARNING: [#def690]
bluez-5.85/tools/btsnoop.c: scope_hint: In function ‘command_extract_ad’
bluez-5.85/tools/btsnoop.c:342:17: warning[-Wunused-but-set-variable=]: variable ‘count’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-775): [#def691]
bluez-5.85/tools/ciptool.c:472:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ctl’
bluez-5.85/tools/ciptool.c:459:12: branch_false: following ‘false’ branch (when ‘argc > 0’)...
bluez-5.85/tools/ciptool.c:464:20: branch_false: ...to here
bluez-5.85/tools/ciptool.c:464:20: acquire_resource: socket created here
bluez-5.85/tools/ciptool.c:464:12: branch_false: following ‘false’ branch (when ‘ctl >= 0’)...
bluez-5.85/tools/ciptool.c:464:12: branch_false: ...to here
bluez-5.85/tools/ciptool.c:469:21: branch_true: following ‘true’ branch...
bluez-5.85/tools/ciptool.c:470:21: branch_true: ...to here
bluez-5.85/tools/ciptool.c:472:17: throw: if the called function throws an exception...
bluez-5.85/tools/ciptool.c:472:17: danger: ‘ctl’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def692]
bluez-5.85/tools/cltest.c:52:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/tools/cltest.c:41:14: acquire_resource: socket created here
bluez-5.85/tools/cltest.c:42:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
bluez-5.85/tools/cltest.c:47:9: branch_false: ...to here
bluez-5.85/tools/cltest.c:51:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/cltest.c:52:17: branch_true: ...to here
bluez-5.85/tools/cltest.c:52:17: throw: if ‘perror’ throws an exception...
bluez-5.85/tools/cltest.c:52:17: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def693]
bluez-5.85/tools/cltest.c:53:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/tools/cltest.c:41:14: acquire_resource: socket created here
bluez-5.85/tools/cltest.c:42:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
bluez-5.85/tools/cltest.c:47:9: branch_false: ...to here
bluez-5.85/tools/cltest.c:51:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/cltest.c:52:17: branch_true: ...to here
bluez-5.85/tools/cltest.c:53:17: throw: if ‘close’ throws an exception...
bluez-5.85/tools/cltest.c:53:17: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-666): [#def694]
bluez-5.85/tools/cltest.c:62:13: warning[-Wanalyzer-fd-phase-mismatch]: ‘connect’ on file descriptor ‘fd’ in wrong phase
bluez-5.85/tools/cltest.c:41:14: acquire_resource: socket created here
bluez-5.85/tools/cltest.c:42:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
bluez-5.85/tools/cltest.c:47:9: branch_false: ...to here
bluez-5.85/tools/cltest.c:51:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/cltest.c:57:9: branch_false: ...to here
bluez-5.85/tools/cltest.c:62:13: danger: ‘connect’ expects a new socket file descriptor but ‘fd’ is bound
Error: GCC_ANALYZER_WARNING (CWE-775): [#def695]
bluez-5.85/tools/cltest.c:63:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/tools/cltest.c:41:14: acquire_resource: socket created here
bluez-5.85/tools/cltest.c:42:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
bluez-5.85/tools/cltest.c:47:9: branch_false: ...to here
bluez-5.85/tools/cltest.c:51:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/cltest.c:57:9: branch_false: ...to here
bluez-5.85/tools/cltest.c:62:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/cltest.c:63:17: branch_true: ...to here
bluez-5.85/tools/cltest.c:63:17: throw: if ‘perror’ throws an exception...
bluez-5.85/tools/cltest.c:63:17: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def696]
bluez-5.85/tools/cltest.c:64:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/tools/cltest.c:41:14: acquire_resource: socket created here
bluez-5.85/tools/cltest.c:42:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
bluez-5.85/tools/cltest.c:47:9: branch_false: ...to here
bluez-5.85/tools/cltest.c:51:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/cltest.c:57:9: branch_false: ...to here
bluez-5.85/tools/cltest.c:62:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/cltest.c:63:17: branch_true: ...to here
bluez-5.85/tools/cltest.c:64:17: throw: if ‘close’ throws an exception...
bluez-5.85/tools/cltest.c:64:17: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def697]
bluez-5.85/tools/cltest.c:129:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/tools/cltest.c:117:14: acquire_resource: socket created here
bluez-5.85/tools/cltest.c:118:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
bluez-5.85/tools/cltest.c:123:9: branch_false: ...to here
bluez-5.85/tools/cltest.c:128:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/cltest.c:129:17: branch_true: ...to here
bluez-5.85/tools/cltest.c:129:17: throw: if ‘perror’ throws an exception...
bluez-5.85/tools/cltest.c:129:17: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def698]
bluez-5.85/tools/cltest.c:130:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/tools/cltest.c:117:14: acquire_resource: socket created here
bluez-5.85/tools/cltest.c:118:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
bluez-5.85/tools/cltest.c:123:9: branch_false: ...to here
bluez-5.85/tools/cltest.c:128:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/cltest.c:129:17: branch_true: ...to here
bluez-5.85/tools/cltest.c:130:17: throw: if ‘close’ throws an exception...
bluez-5.85/tools/cltest.c:130:17: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def699]
bluez-5.85/tools/cltest.c:134:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/tools/cltest.c:117:14: acquire_resource: socket created here
bluez-5.85/tools/cltest.c:118:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
bluez-5.85/tools/cltest.c:123:9: branch_false: ...to here
bluez-5.85/tools/cltest.c:128:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/cltest.c:134:9: branch_false: ...to here
bluez-5.85/tools/cltest.c:134:9: throw: if ‘mainloop_add_fd’ throws an exception...
bluez-5.85/tools/cltest.c:134:9: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def700]
bluez-5.85/tools/cltest.c:195:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/tools/cltest.c:187:14: acquire_resource: socket created here
bluez-5.85/tools/cltest.c:188:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
bluez-5.85/tools/cltest.c:193:14: branch_false: ...to here
bluez-5.85/tools/cltest.c:194:12: branch_true: following ‘true’ branch (when ‘dl’ is NULL)...
bluez-5.85/tools/cltest.c:195:17: branch_true: ...to here
bluez-5.85/tools/cltest.c:195:17: throw: if ‘perror’ throws an exception...
bluez-5.85/tools/cltest.c:195:17: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def701]
bluez-5.85/tools/cltest.c:196:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/tools/cltest.c:187:14: acquire_resource: socket created here
bluez-5.85/tools/cltest.c:188:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
bluez-5.85/tools/cltest.c:193:14: branch_false: ...to here
bluez-5.85/tools/cltest.c:194:12: branch_true: following ‘true’ branch (when ‘dl’ is NULL)...
bluez-5.85/tools/cltest.c:195:17: branch_true: ...to here
bluez-5.85/tools/cltest.c:196:17: throw: if ‘close’ throws an exception...
bluez-5.85/tools/cltest.c:196:17: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def702]
bluez-5.85/tools/create-image.c:108:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fp’ where non-null expected
bluez-5.85/tools/create-image.c:142:5: enter_function: entry to ‘main’
bluez-5.85/tools/create-image.c:152:20: branch_false: following ‘false’ branch (when ‘opt >= 0’)...
bluez-5.85/tools/create-image.c:155:17: branch_false: ...to here
bluez-5.85/tools/create-image.c:170:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/create-image.c:175:12: branch_false: ...to here
bluez-5.85/tools/create-image.c:175:12: branch_false: following ‘false’ branch (when ‘output_pathname’ is non-NULL)...
bluez-5.85/tools/create-image.c:180:14: branch_false: ...to here
bluez-5.85/tools/create-image.c:180:14: acquire_memory: this call could return NULL
bluez-5.85/tools/create-image.c:182:21: branch_true: following ‘true’ branch...
bluez-5.85/tools/create-image.c:184:52: branch_true: ...to here
bluez-5.85/tools/create-image.c:183:17: call_function: calling ‘write_block’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def703]
bluez-5.85/tools/create-image.c:182:21: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(output_pathname, "we")’
bluez-5.85/tools/create-image.c:142:5: enter_function: entry to ‘main’
bluez-5.85/tools/create-image.c:152:20: branch_false: following ‘false’ branch (when ‘opt >= 0’)...
bluez-5.85/tools/create-image.c:155:17: branch_false: ...to here
bluez-5.85/tools/create-image.c:170:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/create-image.c:175:12: branch_false: ...to here
bluez-5.85/tools/create-image.c:175:12: branch_false: following ‘false’ branch (when ‘output_pathname’ is non-NULL)...
bluez-5.85/tools/create-image.c:180:14: branch_false: ...to here
bluez-5.85/tools/create-image.c:180:14: acquire_resource: opened here
bluez-5.85/tools/create-image.c:182:21: branch_true: following ‘true’ branch...
bluez-5.85/tools/create-image.c:184:52: branch_true: ...to here
bluez-5.85/tools/create-image.c:183:17: call_function: calling ‘write_block’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def704]
bluez-5.85/tools/create-image.c:182:21: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(output_pathname, "we")’
bluez-5.85/tools/create-image.c:142:5: enter_function: entry to ‘main’
bluez-5.85/tools/create-image.c:152:20: branch_false: following ‘false’ branch (when ‘opt >= 0’)...
bluez-5.85/tools/create-image.c:155:17: branch_false: ...to here
bluez-5.85/tools/create-image.c:170:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/create-image.c:175:12: branch_false: ...to here
bluez-5.85/tools/create-image.c:175:12: branch_false: following ‘false’ branch (when ‘output_pathname’ is non-NULL)...
bluez-5.85/tools/create-image.c:180:14: branch_false: ...to here
bluez-5.85/tools/create-image.c:180:14: acquire_memory: allocated here
bluez-5.85/tools/create-image.c:182:21: branch_true: following ‘true’ branch...
bluez-5.85/tools/create-image.c:184:52: branch_true: ...to here
bluez-5.85/tools/create-image.c:183:17: call_function: calling ‘write_block’ from ‘main’
Error: CPPCHECK_WARNING (CWE-476): [#def705]
bluez-5.85/tools/create-image.c:188: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: fp
Error: GCC_ANALYZER_WARNING (CWE-401): [#def706]
bluez-5.85/tools/hci-tester.c:927:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/hci-tester.c:927:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:927:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/hci-tester.c:927:9: branch_false: ...to here
bluez-5.85/tools/hci-tester.c:927:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/hci-tester.c:927:9: danger: ‘user’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def707]
bluez-5.85/tools/hci-tester.c:929:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/hci-tester.c:927:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:927:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:929:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:929:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:929:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/hci-tester.c:929:9: branch_false: ...to here
bluez-5.85/tools/hci-tester.c:929:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/hci-tester.c:929:9: danger: ‘user’ leaks here; was allocated at [(4)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def708]
bluez-5.85/tools/hci-tester.c:931:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/hci-tester.c:927:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:927:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:929:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:929:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:929:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:931:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:931:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:931:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/hci-tester.c:931:9: branch_false: ...to here
bluez-5.85/tools/hci-tester.c:931:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/hci-tester.c:931:9: danger: ‘user’ leaks here; was allocated at [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def709]
bluez-5.85/tools/hci-tester.c:933:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/hci-tester.c:927:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:927:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:929:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:929:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:929:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:931:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:931:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:931:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:933:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:933:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:933:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/hci-tester.c:933:9: branch_false: ...to here
bluez-5.85/tools/hci-tester.c:933:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/hci-tester.c:933:9: danger: ‘user’ leaks here; was allocated at [(10)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def710]
bluez-5.85/tools/hci-tester.c:935:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/hci-tester.c:927:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:927:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:929:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:929:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:929:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:931:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:931:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:931:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:933:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:933:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:933:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:935:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:935:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:935:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/hci-tester.c:935:9: branch_false: ...to here
bluez-5.85/tools/hci-tester.c:935:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/hci-tester.c:935:9: danger: ‘user’ leaks here; was allocated at [(13)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def711]
bluez-5.85/tools/hci-tester.c:938:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/hci-tester.c:927:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:927:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:929:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:929:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:929:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:931:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:931:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:931:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:933:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:933:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:933:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:935:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:935:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:935:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:938:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:938:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:938:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/hci-tester.c:938:9: branch_false: ...to here
bluez-5.85/tools/hci-tester.c:938:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/hci-tester.c:938:9: danger: ‘user’ leaks here; was allocated at [(16)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def712]
bluez-5.85/tools/hci-tester.c:940:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/hci-tester.c:927:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:927:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:929:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:929:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:929:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:931:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:931:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:931:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:933:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:933:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:933:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:935:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:935:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:935:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:938:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:938:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:938:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:940:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:940:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:940:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/hci-tester.c:940:9: branch_false: ...to here
bluez-5.85/tools/hci-tester.c:940:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/hci-tester.c:940:9: danger: ‘user’ leaks here; was allocated at [(19)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def713]
bluez-5.85/tools/hci-tester.c:942:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/hci-tester.c:927:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:927:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:929:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:929:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:929:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:931:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:931:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:931:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:933:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:933:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:933:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:935:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:935:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:935:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:938:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:938:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:938:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:940:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:940:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:940:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:942:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:942:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:942:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/hci-tester.c:942:9: branch_false: ...to here
bluez-5.85/tools/hci-tester.c:942:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/hci-tester.c:942:9: danger: ‘user’ leaks here; was allocated at [(22)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/21)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def714]
bluez-5.85/tools/hci-tester.c:944:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/hci-tester.c:927:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:927:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:929:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:929:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:929:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:931:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:931:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:931:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:933:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:933:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:933:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:935:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:935:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:935:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:938:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:938:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:938:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:940:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:940:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:940:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:942:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:942:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:942:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:944:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:944:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:944:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/hci-tester.c:944:9: branch_false: ...to here
bluez-5.85/tools/hci-tester.c:944:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/hci-tester.c:944:9: danger: ‘user’ leaks here; was allocated at [(25)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/24)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def715]
bluez-5.85/tools/hci-tester.c:947:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/hci-tester.c:927:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:927:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:929:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:929:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:929:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:931:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:931:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:931:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:933:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:933:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:933:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:935:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:935:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:935:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:938:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:938:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:938:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:940:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:940:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:940:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:942:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:942:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:942:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:944:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:944:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:944:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:947:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:947:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:947:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/hci-tester.c:947:9: branch_false: ...to here
bluez-5.85/tools/hci-tester.c:947:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/hci-tester.c:947:9: danger: ‘user’ leaks here; was allocated at [(28)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/27)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def716]
bluez-5.85/tools/hci-tester.c:949:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/hci-tester.c:927:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:927:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:929:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:929:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:929:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:931:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:931:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:931:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:933:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:933:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:933:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:935:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:935:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:935:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:938:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:938:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:938:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:940:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:940:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:940:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:942:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:942:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:942:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:944:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:944:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:944:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:947:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:947:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:947:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:949:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:949:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:949:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/hci-tester.c:949:9: branch_false: ...to here
bluez-5.85/tools/hci-tester.c:949:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/hci-tester.c:949:9: danger: ‘user’ leaks here; was allocated at [(31)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/30)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def717]
bluez-5.85/tools/hci-tester.c:951:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/hci-tester.c:927:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:927:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:929:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:929:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:929:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:931:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:931:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:931:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:933:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:933:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:933:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:935:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:935:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:935:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:938:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:938:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:938:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:940:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:940:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:940:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:942:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:942:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:942:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:944:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:944:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:944:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:947:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:947:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:947:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:949:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:949:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:949:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:951:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:951:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:951:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/hci-tester.c:951:9: branch_false: ...to here
bluez-5.85/tools/hci-tester.c:951:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/hci-tester.c:951:9: danger: ‘user’ leaks here; was allocated at [(34)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/33)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def718]
bluez-5.85/tools/hci-tester.c:953:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/hci-tester.c:927:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:927:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:929:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:929:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:929:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:931:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:931:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:931:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:933:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:933:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:933:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:935:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:935:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:935:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:938:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:938:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:938:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:940:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:940:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:940:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:942:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:942:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:942:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:944:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:944:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:944:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:947:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:947:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:947:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:949:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:949:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:949:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:951:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:951:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:951:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:953:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:953:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:953:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/hci-tester.c:953:9: branch_false: ...to here
bluez-5.85/tools/hci-tester.c:953:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/hci-tester.c:953:9: danger: ‘user’ leaks here; was allocated at [(37)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/36)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def719]
bluez-5.85/tools/hci-tester.c:955:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/hci-tester.c:927:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:927:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:929:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:929:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:929:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:931:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:931:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:931:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:933:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:933:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:933:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:935:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:935:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:935:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:938:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:938:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:938:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:940:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:940:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:940:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:942:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:942:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:942:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:944:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:944:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:944:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:947:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:947:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:947:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:949:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:949:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:949:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:951:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:951:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:951:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:953:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:953:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:953:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:955:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:955:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:955:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/hci-tester.c:955:9: branch_false: ...to here
bluez-5.85/tools/hci-tester.c:955:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/hci-tester.c:955:9: danger: ‘user’ leaks here; was allocated at [(40)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/39)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def720]
bluez-5.85/tools/hci-tester.c:957:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/hci-tester.c:927:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:927:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:929:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:929:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:929:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:931:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:931:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:931:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:933:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:933:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:933:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:935:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:935:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:935:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:938:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:938:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:938:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:940:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:940:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:940:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:942:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:942:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:942:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:944:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:944:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:944:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:947:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:947:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:947:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:949:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:949:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:949:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:951:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:951:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:951:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:953:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:953:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:953:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:955:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:955:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:955:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:957:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:957:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:957:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/hci-tester.c:957:9: branch_false: ...to here
bluez-5.85/tools/hci-tester.c:957:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/hci-tester.c:957:9: danger: ‘user’ leaks here; was allocated at [(43)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/42)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def721]
bluez-5.85/tools/hci-tester.c:961:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/hci-tester.c:927:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:927:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:929:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:929:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:929:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:931:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:931:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:931:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:933:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:933:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:933:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:935:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:935:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:935:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:938:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:938:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:938:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:940:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:940:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:940:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:942:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:942:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:942:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:944:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:944:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:944:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:947:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:947:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:947:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:949:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:949:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:949:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:951:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:951:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:951:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:953:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:953:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:953:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:955:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:955:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:955:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:957:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:957:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:957:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:961:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:961:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:961:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/hci-tester.c:961:9: branch_false: ...to here
bluez-5.85/tools/hci-tester.c:961:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/hci-tester.c:961:9: danger: ‘user’ leaks here; was allocated at [(46)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/45)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def722]
bluez-5.85/tools/hci-tester.c:963:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/hci-tester.c:927:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:927:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:929:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:929:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:929:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:931:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:931:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:931:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:933:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:933:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:933:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:935:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:935:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:935:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:938:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:938:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:938:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:940:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:940:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:940:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:942:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:942:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:942:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:944:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:944:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:944:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:947:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:947:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:947:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:949:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:949:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:949:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:951:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:951:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:951:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:953:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:953:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:953:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:955:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:955:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:955:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:957:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:957:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:957:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:961:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:961:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:961:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/hci-tester.c:963:9: branch_true: ...to here
bluez-5.85/tools/hci-tester.c:963:9: acquire_memory: allocated here
bluez-5.85/tools/hci-tester.c:963:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/hci-tester.c:963:9: branch_false: ...to here
bluez-5.85/tools/hci-tester.c:963:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/hci-tester.c:963:9: danger: ‘user’ leaks here; was allocated at [(49)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/48)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def723]
bluez-5.85/tools/hciattach_ath3k.c:94:15: warning[-Wanalyzer-malloc-leak]: leak of ‘hci_event’
bluez-5.85/tools/hciattach_ath3k.c:90:32: acquire_memory: allocated here
bluez-5.85/tools/hciattach_ath3k.c:91:12: branch_false: following ‘false’ branch (when ‘hci_event’ is non-NULL)...
bluez-5.85/tools/hciattach_ath3k.c:94:15: branch_false: ...to here
bluez-5.85/tools/hciattach_ath3k.c:94:15: throw: if ‘read_hci_event’ throws an exception...
bluez-5.85/tools/hciattach_ath3k.c:94:15: danger: ‘hci_event’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-704): [#def724]
bluez-5.85/tools/hciattach_ath3k.c: scope_hint: In function ‘update_char_count’
bluez-5.85/tools/hciattach_ath3k.c:309:25: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def725]
bluez-5.85/tools/hciattach_ath3k.c:309:25: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-401): [#def726]
bluez-5.85/tools/hciattach_bcm43xx.c:56:13: warning[-Wanalyzer-malloc-leak]: leak of ‘resp’
bluez-5.85/tools/hciattach_bcm43xx.c:50:16: acquire_memory: allocated here
bluez-5.85/tools/hciattach_bcm43xx.c:51:12: branch_false: following ‘false’ branch (when ‘resp’ is non-NULL)...
bluez-5.85/tools/hciattach_bcm43xx.c:54:9: branch_false: ...to here
bluez-5.85/tools/hciattach_bcm43xx.c:56:13: throw: if ‘write’ throws an exception...
bluez-5.85/tools/hciattach_bcm43xx.c:56:13: danger: ‘resp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def727]
bluez-5.85/tools/hciattach_bcm43xx.c:61:13: warning[-Wanalyzer-malloc-leak]: leak of ‘resp’
bluez-5.85/tools/hciattach_bcm43xx.c:50:16: acquire_memory: allocated here
bluez-5.85/tools/hciattach_bcm43xx.c:51:12: branch_false: following ‘false’ branch (when ‘resp’ is non-NULL)...
bluez-5.85/tools/hciattach_bcm43xx.c:54:9: branch_false: ...to here
bluez-5.85/tools/hciattach_bcm43xx.c:56:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/hciattach_bcm43xx.c:61:13: branch_false: ...to here
bluez-5.85/tools/hciattach_bcm43xx.c:61:13: throw: if ‘read_hci_event’ throws an exception...
bluez-5.85/tools/hciattach_bcm43xx.c:61:13: danger: ‘resp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def728]
bluez-5.85/tools/hciattach_bcm43xx.c:231:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(fw, 0)’
bluez-5.85/tools/hciattach_bcm43xx.c:223:17: acquire_resource: opened here
bluez-5.85/tools/hciattach_bcm43xx.c:224:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/hciattach_bcm43xx.c:229:9: branch_false: ...to here
bluez-5.85/tools/hciattach_bcm43xx.c:231:13: throw: if ‘write’ throws an exception...
bluez-5.85/tools/hciattach_bcm43xx.c:231:13: danger: ‘open(fw, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def729]
bluez-5.85/tools/hciattach_bcm43xx.c:232:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(fw, 0)’
bluez-5.85/tools/hciattach_bcm43xx.c:223:17: acquire_resource: opened here
bluez-5.85/tools/hciattach_bcm43xx.c:224:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/hciattach_bcm43xx.c:229:9: branch_false: ...to here
bluez-5.85/tools/hciattach_bcm43xx.c:232:17: danger: ‘open(fw, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def730]
bluez-5.85/tools/hciattach_bcm43xx.c:236:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(fw, 0)’
bluez-5.85/tools/hciattach_bcm43xx.c:223:17: acquire_resource: opened here
bluez-5.85/tools/hciattach_bcm43xx.c:224:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/hciattach_bcm43xx.c:229:9: branch_false: ...to here
bluez-5.85/tools/hciattach_bcm43xx.c:231:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/hciattach_bcm43xx.c:236:13: branch_false: ...to here
bluez-5.85/tools/hciattach_bcm43xx.c:236:13: throw: if ‘read_hci_event’ throws an exception...
bluez-5.85/tools/hciattach_bcm43xx.c:236:13: danger: ‘open(fw, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def731]
bluez-5.85/tools/hciattach_bcm43xx.c:241:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(fw, 0)’
bluez-5.85/tools/hciattach_bcm43xx.c:223:17: acquire_resource: opened here
bluez-5.85/tools/hciattach_bcm43xx.c:224:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/hciattach_bcm43xx.c:229:9: branch_false: ...to here
bluez-5.85/tools/hciattach_bcm43xx.c:231:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/hciattach_bcm43xx.c:236:13: branch_false: ...to here
bluez-5.85/tools/hciattach_bcm43xx.c:236:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/hciattach_bcm43xx.c:241:13: branch_false: ...to here
bluez-5.85/tools/hciattach_bcm43xx.c:241:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/hciattach_bcm43xx.c:247:9: throw: if ‘nanosleep’ throws an exception...
bluez-5.85/tools/hciattach_bcm43xx.c:241:13: danger: ‘open(fw, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def732]
bluez-5.85/tools/hciattach_bcm43xx.c:301:40: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(dir_name)’
bluez-5.85/tools/hciattach_bcm43xx.c:292:15: acquire_memory: allocated here
bluez-5.85/tools/hciattach_bcm43xx.c:293:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/hciattach_bcm43xx.c:293:12: branch_false: ...to here
bluez-5.85/tools/hciattach_bcm43xx.c:301:40: throw: if ‘readdir’ throws an exception...
bluez-5.85/tools/hciattach_bcm43xx.c:301:40: danger: ‘opendir(dir_name)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def733]
bluez-5.85/tools/hciattach_qualcomm.c:93:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(firmware, 0)’
bluez-5.85/tools/hciattach_qualcomm.c:91:18: acquire_resource: opened here
bluez-5.85/tools/hciattach_qualcomm.c:95:9: branch_false: following ‘false’ branch...
bluez-5.85/tools/hciattach_qualcomm.c:99:9: branch_false: ...to here
bluez-5.85/tools/hciattach_qualcomm.c:108:20: branch_false: following ‘false’ branch (when ‘nr != 0’)...
bluez-5.85/tools/hciattach_qualcomm.c:111:17: branch_false: ...to here
bluez-5.85/tools/hciattach_qualcomm.c:93:9: danger: ‘open(firmware, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def734]
bluez-5.85/tools/hciattach_ti.c:113:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(file_name, "rb")’
bluez-5.85/tools/hciattach_ti.c:374:12: enter_function: entry to ‘brf_do_script’
bluez-5.85/tools/hciattach_ti.c:384:12: branch_true: following ‘true’ branch (when ‘bts_file’ is non-NULL)...
bluez-5.85/tools/hciattach_ti.c:386:35: branch_true: ...to here
bluez-5.85/tools/hciattach_ti.c:386:35: call_function: calling ‘bts_load_script’ from ‘brf_do_script’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def735]
bluez-5.85/tools/hciattach_ti.c:113:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(file_name, "rb")’
bluez-5.85/tools/hciattach_ti.c:374:12: enter_function: entry to ‘brf_do_script’
bluez-5.85/tools/hciattach_ti.c:384:12: branch_true: following ‘true’ branch (when ‘bts_file’ is non-NULL)...
bluez-5.85/tools/hciattach_ti.c:386:35: branch_true: ...to here
bluez-5.85/tools/hciattach_ti.c:386:35: call_function: calling ‘bts_load_script’ from ‘brf_do_script’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def736]
bluez-5.85/tools/hciattach_tialt.c:95:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(firmware, 0)’
bluez-5.85/tools/hciattach_tialt.c:93:18: acquire_resource: opened here
bluez-5.85/tools/hciattach_tialt.c:97:9: branch_false: following ‘false’ branch...
bluez-5.85/tools/hciattach_tialt.c:101:9: branch_false: ...to here
bluez-5.85/tools/hciattach_tialt.c:109:20: branch_false: following ‘false’ branch (when ‘nr != 0’)...
bluez-5.85/tools/hciattach_tialt.c:111:17: branch_false: ...to here
bluez-5.85/tools/hciattach_tialt.c:95:9: danger: ‘open(firmware, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def737]
bluez-5.85/tools/hciconfig.c:51:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ctl’
bluez-5.85/tools/hciconfig.c:2003:5: enter_function: entry to ‘main’
bluez-5.85/tools/hciconfig.c:2025:20: acquire_resource: socket created here
bluez-5.85/tools/hciconfig.c:2025:12: branch_false: following ‘false’ branch (when ‘ctl >= 0’)...
bluez-5.85/tools/hciconfig.c:2030:12: branch_false: ...to here
bluez-5.85/tools/hciconfig.c:2030:12: branch_true: following ‘true’ branch (when ‘argc <= 0’)...
bluez-5.85/tools/hciconfig.c:2031:17: branch_true: ...to here
bluez-5.85/tools/hciconfig.c:2031:17: call_function: calling ‘print_dev_list’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def738]
bluez-5.85/tools/hcidump.c:174:28: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
bluez-5.85/tools/hcidump.c:140:12: branch_false: following ‘false’ branch (when ‘sock >= 0’)...
bluez-5.85/tools/hcidump.c:143:13: branch_false: ...to here
bluez-5.85/tools/hcidump.c:149:15: acquire_memory: allocated here
bluez-5.85/tools/hcidump.c:150:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
bluez-5.85/tools/hcidump.c:157:20: branch_false: ...to here
bluez-5.85/tools/hcidump.c:174:28: throw: if ‘poll’ throws an exception...
bluez-5.85/tools/hcidump.c:174:28: danger: ‘buf’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def739]
bluez-5.85/tools/hcidump.c:196:23: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
bluez-5.85/tools/hcidump.c:140:12: branch_false: following ‘false’ branch (when ‘sock >= 0’)...
bluez-5.85/tools/hcidump.c:143:13: branch_false: ...to here
bluez-5.85/tools/hcidump.c:149:15: acquire_memory: allocated here
bluez-5.85/tools/hcidump.c:150:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
bluez-5.85/tools/hcidump.c:157:20: branch_false: ...to here
bluez-5.85/tools/hcidump.c:178:29: branch_true: following ‘true’ branch (when ‘i == 0’)...
bluez-5.85/tools/hcidump.c:179:29: branch_true: ...to here
bluez-5.85/tools/hcidump.c:179:28: branch_false: following ‘false’ branch...
bluez-5.85/tools/hcidump.c:179:28: branch_false: ...to here
bluez-5.85/tools/hcidump.c:196:23: throw: if ‘recvmsg’ throws an exception...
bluez-5.85/tools/hcidump.c:196:23: danger: ‘buf’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def740]
bluez-5.85/tools/hcidump.c:240:39: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘frm.ts.tv_sec’
bluez-5.85/tools/hcidump.c:140:12: branch_false: following ‘false’ branch (when ‘sock >= 0’)...
bluez-5.85/tools/hcidump.c:143:13: branch_false: ...to here
bluez-5.85/tools/hcidump.c:150:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
bluez-5.85/tools/hcidump.c:157:20: branch_false: ...to here
bluez-5.85/tools/hcidump.c:178:29: branch_true: following ‘true’ branch (when ‘i == 0’)...
bluez-5.85/tools/hcidump.c:179:29: branch_true: ...to here
bluez-5.85/tools/hcidump.c:179:28: branch_false: following ‘false’ branch...
bluez-5.85/tools/hcidump.c:179:28: branch_false: ...to here
bluez-5.85/tools/hcidump.c:197:20: branch_false: following ‘false’ branch (when ‘len >= 0’)...
bluez-5.85/tools/hcidump.c:205:17: branch_false: ...to here
bluez-5.85/tools/hcidump.c:212:24: branch_false: following ‘false’ branch (when ‘cmsg’ is NULL)...
bluez-5.85/tools/hcidump.c:227:27: branch_false: ...to here
bluez-5.85/tools/hcidump.c:230:17: branch_true: following ‘true’ branch...
bluez-5.85/tools/hcidump.c:231:17: branch_true: ...to here
bluez-5.85/tools/hcidump.c:233:28: branch_true: following ‘true’ branch...
bluez-5.85/tools/hcidump.c:235:41: branch_true: ...to here
bluez-5.85/tools/hcidump.c:240:39: danger: use of uninitialized value ‘frm.ts.tv_sec’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def741]
bluez-5.85/tools/hcidump.c:248:47: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘frm.ts.tv_sec’
bluez-5.85/tools/hcidump.c:140:12: branch_false: following ‘false’ branch (when ‘sock >= 0’)...
bluez-5.85/tools/hcidump.c:143:13: branch_false: ...to here
bluez-5.85/tools/hcidump.c:150:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
bluez-5.85/tools/hcidump.c:157:20: branch_false: ...to here
bluez-5.85/tools/hcidump.c:178:29: branch_true: following ‘true’ branch (when ‘i == 0’)...
bluez-5.85/tools/hcidump.c:179:29: branch_true: ...to here
bluez-5.85/tools/hcidump.c:179:28: branch_false: following ‘false’ branch...
bluez-5.85/tools/hcidump.c:179:28: branch_false: ...to here
bluez-5.85/tools/hcidump.c:197:20: branch_false: following ‘false’ branch (when ‘len >= 0’)...
bluez-5.85/tools/hcidump.c:205:17: branch_false: ...to here
bluez-5.85/tools/hcidump.c:212:24: branch_false: following ‘false’ branch (when ‘cmsg’ is NULL)...
bluez-5.85/tools/hcidump.c:227:27: branch_false: ...to here
bluez-5.85/tools/hcidump.c:230:17: branch_true: following ‘true’ branch...
bluez-5.85/tools/hcidump.c:231:17: branch_true: ...to here
bluez-5.85/tools/hcidump.c:233:28: branch_false: following ‘false’ branch...
bluez-5.85/tools/hcidump.c:246:33: branch_false: ...to here
bluez-5.85/tools/hcidump.c:248:47: danger: use of uninitialized value ‘frm.ts.tv_sec’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def742]
bluez-5.85/tools/hcidump.c:266:1: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
bluez-5.85/tools/hcidump.c:140:12: branch_false: following ‘false’ branch (when ‘sock >= 0’)...
bluez-5.85/tools/hcidump.c:143:13: branch_false: ...to here
bluez-5.85/tools/hcidump.c:149:15: acquire_memory: allocated here
bluez-5.85/tools/hcidump.c:150:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
bluez-5.85/tools/hcidump.c:157:20: branch_false: ...to here
bluez-5.85/tools/hcidump.c:178:29: branch_true: following ‘true’ branch (when ‘i == 0’)...
bluez-5.85/tools/hcidump.c:179:29: branch_true: ...to here
bluez-5.85/tools/hcidump.c:266:1: danger: ‘buf’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def743]
bluez-5.85/tools/hcidump.c:421:9: warning[-Wanalyzer-malloc-leak]: leak of ‘frm.data’
bluez-5.85/tools/hcidump.c:268:13: enter_function: entry to ‘read_dump’
bluez-5.85/tools/hcidump.c:276:20: acquire_memory: allocated here
bluez-5.85/tools/hcidump.c:277:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/hcidump.c:277:12: branch_false: ...to here
bluez-5.85/tools/hcidump.c:284:31: call_function: calling ‘read_n’ from ‘read_dump’
bluez-5.85/tools/hcidump.c:284:31: return_function: returning to ‘read_dump’ from ‘read_n’
bluez-5.85/tools/hcidump.c:421:9: throw: if ‘perror’ throws an exception...
bluez-5.85/tools/hcidump.c:421:9: danger: ‘frm.data’ leaks here; was allocated at [(2)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def744]
bluez-5.85/tools/hex2hcd.c:170:14: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
bluez-5.85/tools/hex2hcd.c:385:5: enter_function: entry to ‘main’
bluez-5.85/tools/hex2hcd.c:395:20: branch_false: following ‘false’ branch (when ‘opt >= 0’)...
bluez-5.85/tools/hex2hcd.c:398:17: branch_false: ...to here
bluez-5.85/tools/hex2hcd.c:416:12: branch_false: following ‘false’ branch (when ‘print_table == 0’)...
bluez-5.85/tools/hex2hcd.c:421:13: branch_false: ...to here
bluez-5.85/tools/hex2hcd.c:421:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/hex2hcd.c:426:12: branch_false: ...to here
bluez-5.85/tools/hex2hcd.c:426:13: branch_false: following ‘false’ branch...
bluez-5.85/tools/hex2hcd.c:426:13: branch_false: ...to here
bluez-5.85/tools/hex2hcd.c:431:26: branch_true: following ‘true’ branch (when ‘i < argc’)...
bluez-5.85/tools/hex2hcd.c:432:34: branch_true: ...to here
bluez-5.85/tools/hex2hcd.c:432:17: call_function: calling ‘convert_file’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def745]
bluez-5.85/tools/hex2hcd.c:320:29: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopendir(open(pathname, 0))’
bluez-5.85/tools/hex2hcd.c:335:13: enter_function: entry to ‘ver_print_table’
bluez-5.85/tools/hex2hcd.c:344:12: branch_false: following ‘false’ branch (when ‘argc <= 0’)...
bluez-5.85/tools/hex2hcd.c:350:17: branch_false: ...to here
bluez-5.85/tools/hex2hcd.c:350:17: call_function: calling ‘ver_parse_entry’ from ‘ver_print_table’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def746]
bluez-5.85/tools/iso-tester.c:2030:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/iso-tester.c:3692:13: enter_function: entry to ‘test_connect_close’
bluez-5.85/tools/iso-tester.c:3704:14: call_function: calling ‘setup_sock’ from ‘test_connect_close’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def747]
bluez-5.85/tools/iso-tester.c:2032:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/iso-tester.c:3692:13: enter_function: entry to ‘test_connect_close’
bluez-5.85/tools/iso-tester.c:3704:14: call_function: calling ‘setup_sock’ from ‘test_connect_close’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def748]
bluez-5.85/tools/iso-tester.c:2033:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/iso-tester.c:3692:13: enter_function: entry to ‘test_connect_close’
bluez-5.85/tools/iso-tester.c:3704:14: call_function: calling ‘setup_sock’ from ‘test_connect_close’
Error: CPPCHECK_WARNING (CWE-476): [#def749]
bluez-5.85/tools/iso-tester.c:2039: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: addr
Error: CPPCHECK_WARNING (CWE-476): [#def750]
bluez-5.85/tools/iso-tester.c:2040: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: addr
Error: GCC_ANALYZER_WARNING (CWE-476): [#def751]
bluez-5.85/tools/iso-tester.c:2040:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘addr’
bluez-5.85/tools/iso-tester.c:3692:13: enter_function: entry to ‘test_connect_close’
bluez-5.85/tools/iso-tester.c:3704:14: call_function: calling ‘setup_sock’ from ‘test_connect_close’
Error: CPPCHECK_WARNING (CWE-476): [#def752]
bluez-5.85/tools/iso-tester.c:2042: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: addr
Error: CPPCHECK_WARNING (CWE-476): [#def753]
bluez-5.85/tools/iso-tester.c:2043: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: addr
Error: CPPCHECK_WARNING (CWE-476): [#def754]
bluez-5.85/tools/iso-tester.c:2044: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: addr
Error: CPPCHECK_WARNING (CWE-476): [#def755]
bluez-5.85/tools/iso-tester.c:2050: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: addr
Error: CPPCHECK_WARNING (CWE-476): [#def756]
bluez-5.85/tools/iso-tester.c:2051: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: addr
Error: GCC_ANALYZER_WARNING (CWE-476): [#def757]
bluez-5.85/tools/iso-tester.c:2051:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘addr’
bluez-5.85/tools/iso-tester.c:3692:13: enter_function: entry to ‘test_connect_close’
bluez-5.85/tools/iso-tester.c:3704:14: call_function: calling ‘setup_sock’ from ‘test_connect_close’
Error: CPPCHECK_WARNING (CWE-476): [#def758]
bluez-5.85/tools/iso-tester.c:2053: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: addr
Error: GCC_ANALYZER_WARNING (CWE-775): [#def759]
bluez-5.85/tools/iso-tester.c:2060:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/iso-tester.c:3692:13: enter_function: entry to ‘test_connect_close’
bluez-5.85/tools/iso-tester.c:3704:14: call_function: calling ‘setup_sock’ from ‘test_connect_close’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def760]
bluez-5.85/tools/iso-tester.c:2062:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/iso-tester.c:3692:13: enter_function: entry to ‘test_connect_close’
bluez-5.85/tools/iso-tester.c:3704:14: call_function: calling ‘setup_sock’ from ‘test_connect_close’
Error: CPPCHECK_WARNING (CWE-476): [#def761]
bluez-5.85/tools/iso-tester.c:2765: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: addr
Error: CPPCHECK_WARNING (CWE-476): [#def762]
bluez-5.85/tools/iso-tester.c:2766: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: addr
Error: GCC_ANALYZER_WARNING (CWE-775): [#def763]
bluez-5.85/tools/iso-tester.c:3195:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/iso-tester.c:3881:13: enter_function: entry to ‘test_past_recv’
bluez-5.85/tools/iso-tester.c:3885:9: call_function: inlined call to ‘setup_listen’ from ‘test_past_recv’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def764]
bluez-5.85/tools/iso-tester.c:3197:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/iso-tester.c:3881:13: enter_function: entry to ‘test_past_recv’
bluez-5.85/tools/iso-tester.c:3885:9: call_function: inlined call to ‘setup_listen’ from ‘test_past_recv’
Error: CPPCHECK_WARNING (CWE-476): [#def765]
bluez-5.85/tools/iso-tester.c:3204: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: addr
Error: CPPCHECK_WARNING (CWE-476): [#def766]
bluez-5.85/tools/iso-tester.c:3205: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: addr
Error: GCC_ANALYZER_WARNING (CWE-476): [#def767]
bluez-5.85/tools/iso-tester.c:3205:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘addr’
bluez-5.85/tools/iso-tester.c:3881:13: enter_function: entry to ‘test_past_recv’
bluez-5.85/tools/iso-tester.c:3885:9: call_function: inlined call to ‘setup_listen’ from ‘test_past_recv’
Error: CPPCHECK_WARNING (CWE-476): [#def768]
bluez-5.85/tools/iso-tester.c:3207: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: addr
Error: GCC_ANALYZER_WARNING (CWE-775): [#def769]
bluez-5.85/tools/iso-tester.c:3212:26: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/iso-tester.c:3881:13: enter_function: entry to ‘test_past_recv’
bluez-5.85/tools/iso-tester.c:3885:9: call_function: inlined call to ‘setup_listen’ from ‘test_past_recv’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def770]
bluez-5.85/tools/iso-tester.c:3212:26: warning[-Wanalyzer-malloc-leak]: leak of ‘addr’
bluez-5.85/tools/iso-tester.c:3881:13: enter_function: entry to ‘test_past_recv’
bluez-5.85/tools/iso-tester.c:3885:9: call_function: inlined call to ‘setup_listen’ from ‘test_past_recv’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def771]
bluez-5.85/tools/iso-tester.c:3215:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/iso-tester.c:3881:13: enter_function: entry to ‘test_past_recv’
bluez-5.85/tools/iso-tester.c:3885:9: call_function: inlined call to ‘setup_listen’ from ‘test_past_recv’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def772]
bluez-5.85/tools/iso-tester.c:3215:23: warning[-Wanalyzer-malloc-leak]: leak of ‘addr’
bluez-5.85/tools/iso-tester.c:3881:13: enter_function: entry to ‘test_past_recv’
bluez-5.85/tools/iso-tester.c:3885:9: call_function: inlined call to ‘setup_listen’ from ‘test_past_recv’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def773]
bluez-5.85/tools/iso-tester.c:3217:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/iso-tester.c:3881:13: enter_function: entry to ‘test_past_recv’
bluez-5.85/tools/iso-tester.c:3885:9: call_function: inlined call to ‘setup_listen’ from ‘test_past_recv’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def774]
bluez-5.85/tools/iso-tester.c:3217:25: warning[-Wanalyzer-malloc-leak]: leak of ‘addr’
bluez-5.85/tools/iso-tester.c:3881:13: enter_function: entry to ‘test_past_recv’
bluez-5.85/tools/iso-tester.c:3885:9: call_function: inlined call to ‘setup_listen’ from ‘test_past_recv’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def775]
bluez-5.85/tools/iso-tester.c:3239:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/iso-tester.c:3881:13: enter_function: entry to ‘test_past_recv’
bluez-5.85/tools/iso-tester.c:3885:9: call_function: inlined call to ‘setup_listen’ from ‘test_past_recv’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def776]
bluez-5.85/tools/iso-tester.c:3239:17: warning[-Wanalyzer-malloc-leak]: leak of ‘addr’
bluez-5.85/tools/iso-tester.c:3881:13: enter_function: entry to ‘test_past_recv’
bluez-5.85/tools/iso-tester.c:3885:9: call_function: inlined call to ‘setup_listen’ from ‘test_past_recv’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def777]
bluez-5.85/tools/iso-tester.c:3249:25: warning[-Wanalyzer-malloc-leak]: leak of ‘addr’
bluez-5.85/tools/iso-tester.c:3881:13: enter_function: entry to ‘test_past_recv’
bluez-5.85/tools/iso-tester.c:3885:9: call_function: inlined call to ‘setup_listen’ from ‘test_past_recv’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def778]
bluez-5.85/tools/iso-tester.c:3257:17: warning[-Wanalyzer-malloc-leak]: leak of ‘addr’
bluez-5.85/tools/iso-tester.c:3851:13: enter_function: entry to ‘test_bcast_recv_defer’
bluez-5.85/tools/iso-tester.c:3857:9: call_function: inlined call to ‘setup_listen’ from ‘test_bcast_recv_defer’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def779]
bluez-5.85/tools/iso-tester.c:3264:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/iso-tester.c:3851:13: enter_function: entry to ‘test_bcast_recv_defer’
bluez-5.85/tools/iso-tester.c:3857:9: call_function: inlined call to ‘setup_listen’ from ‘test_bcast_recv_defer’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def780]
bluez-5.85/tools/iso-tester.c:3264:17: warning[-Wanalyzer-malloc-leak]: leak of ‘addr’
bluez-5.85/tools/iso-tester.c:3851:13: enter_function: entry to ‘test_bcast_recv_defer’
bluez-5.85/tools/iso-tester.c:3857:9: call_function: inlined call to ‘setup_listen’ from ‘test_bcast_recv_defer’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def781]
bluez-5.85/tools/iso-tester.c:3275:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/iso-tester.c:3881:13: enter_function: entry to ‘test_past_recv’
bluez-5.85/tools/iso-tester.c:3885:9: call_function: inlined call to ‘setup_listen’ from ‘test_past_recv’
Error: CPPCHECK_WARNING (CWE-476): [#def782]
bluez-5.85/tools/iso-tester.c:3367: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: addr
Error: CPPCHECK_WARNING (CWE-476): [#def783]
bluez-5.85/tools/iso-tester.c:3368: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: addr
Error: CPPCHECK_WARNING (CWE-476): [#def784]
bluez-5.85/tools/iso-tester.c:3370: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: addr
Error: CPPCHECK_WARNING (CWE-476): [#def785]
bluez-5.85/tools/iso-tester.c:3371: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: addr
Error: GCC_ANALYZER_WARNING (CWE-775): [#def786]
bluez-5.85/tools/iso-tester.c:3453:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘g_io_channel_unix_get_fd(io)’
bluez-5.85/tools/iso-tester.c:3523:17: enter_function: entry to ‘iso_accept_cb’
bluez-5.85/tools/iso-tester.c:3532:24: call_function: calling ‘iso_accept’ from ‘iso_accept_cb’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def787]
bluez-5.85/tools/iso-tester.c:3459:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘accept(g_io_channel_unix_get_fd(io), 0, 0)’
bluez-5.85/tools/iso-tester.c:3523:17: enter_function: entry to ‘iso_accept_cb’
bluez-5.85/tools/iso-tester.c:3532:24: call_function: calling ‘iso_accept’ from ‘iso_accept_cb’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def788]
bluez-5.85/tools/isotest.c:181:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/tools/isotest.c:173:14: acquire_resource: socket created here
bluez-5.85/tools/isotest.c:175:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
bluez-5.85/tools/isotest.c:181:9: branch_false: ...to here
bluez-5.85/tools/isotest.c:181:9: throw: if ‘syslog’ throws an exception...
bluez-5.85/tools/isotest.c:181:9: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def789]
bluez-5.85/tools/isotest.c:332:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sk’
bluez-5.85/tools/isotest.c:401:13: enter_function: entry to ‘bcast_do_connect_mbis’
bluez-5.85/tools/isotest.c:406:14: acquire_memory: allocated here
bluez-5.85/tools/isotest.c:407:12: branch_false: following ‘false’ branch (when ‘sk’ is non-NULL)...
bluez-5.85/tools/isotest.c:412:9: branch_false: ...to here
bluez-5.85/tools/isotest.c:414:25: branch_true: following ‘true’ branch...
bluez-5.85/tools/isotest.c:415:26: branch_true: ...to here
bluez-5.85/tools/isotest.c:418:25: call_function: calling ‘do_connect’ from ‘bcast_do_connect_mbis’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def790]
bluez-5.85/tools/isotest.c:345:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sk’
bluez-5.85/tools/isotest.c:401:13: enter_function: entry to ‘bcast_do_connect_mbis’
bluez-5.85/tools/isotest.c:406:14: acquire_memory: allocated here
bluez-5.85/tools/isotest.c:407:12: branch_false: following ‘false’ branch (when ‘sk’ is non-NULL)...
bluez-5.85/tools/isotest.c:412:9: branch_false: ...to here
bluez-5.85/tools/isotest.c:414:25: branch_true: following ‘true’ branch...
bluez-5.85/tools/isotest.c:415:26: branch_true: ...to here
bluez-5.85/tools/isotest.c:418:25: call_function: calling ‘do_connect’ from ‘bcast_do_connect_mbis’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def791]
bluez-5.85/tools/isotest.c:359:25: warning[-Wanalyzer-malloc-leak]: leak of ‘sk’
bluez-5.85/tools/isotest.c:401:13: enter_function: entry to ‘bcast_do_connect_mbis’
bluez-5.85/tools/isotest.c:406:14: acquire_memory: allocated here
bluez-5.85/tools/isotest.c:407:12: branch_false: following ‘false’ branch (when ‘sk’ is non-NULL)...
bluez-5.85/tools/isotest.c:412:9: branch_false: ...to here
bluez-5.85/tools/isotest.c:414:25: branch_true: following ‘true’ branch...
bluez-5.85/tools/isotest.c:415:26: branch_true: ...to here
bluez-5.85/tools/isotest.c:418:25: call_function: calling ‘do_connect’ from ‘bcast_do_connect_mbis’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def792]
bluez-5.85/tools/isotest.c:368:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sk’
bluez-5.85/tools/isotest.c:401:13: enter_function: entry to ‘bcast_do_connect_mbis’
bluez-5.85/tools/isotest.c:406:14: acquire_memory: allocated here
bluez-5.85/tools/isotest.c:407:12: branch_false: following ‘false’ branch (when ‘sk’ is non-NULL)...
bluez-5.85/tools/isotest.c:412:9: branch_false: ...to here
bluez-5.85/tools/isotest.c:414:25: branch_true: following ‘true’ branch...
bluez-5.85/tools/isotest.c:415:26: branch_true: ...to here
bluez-5.85/tools/isotest.c:418:25: call_function: calling ‘do_connect’ from ‘bcast_do_connect_mbis’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def793]
bluez-5.85/tools/isotest.c:376:9: warning[-Wanalyzer-malloc-leak]: leak of ‘sk’
bluez-5.85/tools/isotest.c:401:13: enter_function: entry to ‘bcast_do_connect_mbis’
bluez-5.85/tools/isotest.c:406:14: acquire_memory: allocated here
bluez-5.85/tools/isotest.c:407:12: branch_false: following ‘false’ branch (when ‘sk’ is non-NULL)...
bluez-5.85/tools/isotest.c:412:9: branch_false: ...to here
bluez-5.85/tools/isotest.c:414:25: branch_true: following ‘true’ branch...
bluez-5.85/tools/isotest.c:415:26: branch_true: ...to here
bluez-5.85/tools/isotest.c:418:25: call_function: calling ‘do_connect’ from ‘bcast_do_connect_mbis’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def794]
bluez-5.85/tools/isotest.c:379:9: warning[-Wanalyzer-malloc-leak]: leak of ‘sk’
bluez-5.85/tools/isotest.c:401:13: enter_function: entry to ‘bcast_do_connect_mbis’
bluez-5.85/tools/isotest.c:406:14: acquire_memory: allocated here
bluez-5.85/tools/isotest.c:407:12: branch_false: following ‘false’ branch (when ‘sk’ is non-NULL)...
bluez-5.85/tools/isotest.c:412:9: branch_false: ...to here
bluez-5.85/tools/isotest.c:414:25: branch_true: following ‘true’ branch...
bluez-5.85/tools/isotest.c:415:26: branch_true: ...to here
bluez-5.85/tools/isotest.c:418:25: call_function: calling ‘do_connect’ from ‘bcast_do_connect_mbis’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def795]
bluez-5.85/tools/isotest.c:381:13: warning[-Wanalyzer-malloc-leak]: leak of ‘sk’
bluez-5.85/tools/isotest.c:401:13: enter_function: entry to ‘bcast_do_connect_mbis’
bluez-5.85/tools/isotest.c:406:14: acquire_memory: allocated here
bluez-5.85/tools/isotest.c:407:12: branch_false: following ‘false’ branch (when ‘sk’ is non-NULL)...
bluez-5.85/tools/isotest.c:412:9: branch_false: ...to here
bluez-5.85/tools/isotest.c:414:25: branch_true: following ‘true’ branch...
bluez-5.85/tools/isotest.c:415:26: branch_true: ...to here
bluez-5.85/tools/isotest.c:418:25: call_function: calling ‘do_connect’ from ‘bcast_do_connect_mbis’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def796]
bluez-5.85/tools/isotest.c:382:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sk’
bluez-5.85/tools/isotest.c:401:13: enter_function: entry to ‘bcast_do_connect_mbis’
bluez-5.85/tools/isotest.c:406:14: acquire_memory: allocated here
bluez-5.85/tools/isotest.c:407:12: branch_false: following ‘false’ branch (when ‘sk’ is non-NULL)...
bluez-5.85/tools/isotest.c:412:9: branch_false: ...to here
bluez-5.85/tools/isotest.c:414:25: branch_true: following ‘true’ branch...
bluez-5.85/tools/isotest.c:415:26: branch_true: ...to here
bluez-5.85/tools/isotest.c:418:25: call_function: calling ‘do_connect’ from ‘bcast_do_connect_mbis’
Error: CPPCHECK_WARNING (CWE-476): [#def797]
bluez-5.85/tools/isotest.c:518: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: addr
Error: CPPCHECK_WARNING (CWE-476): [#def798]
bluez-5.85/tools/isotest.c:519: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: addr
Error: CPPCHECK_WARNING (CWE-476): [#def799]
bluez-5.85/tools/isotest.c:522: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: addr
Error: CPPCHECK_WARNING (CWE-476): [#def800]
bluez-5.85/tools/isotest.c:527: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: addr
Error: CPPCHECK_WARNING (CWE-476): [#def801]
bluez-5.85/tools/isotest.c:528: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: addr
Error: CPPCHECK_WARNING (CWE-476): [#def802]
bluez-5.85/tools/isotest.c:531: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: addr
Error: CPPCHECK_WARNING (CWE-476): [#def803]
bluez-5.85/tools/isotest.c:1214: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: iso_qos
Error: GCC_ANALYZER_WARNING (CWE-476): [#def804]
bluez-5.85/tools/isotest.c:1214:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘iso_qos’
bluez-5.85/tools/isotest.c:1212:19: acquire_memory: this call could return NULL
bluez-5.85/tools/isotest.c:1214:9: danger: ‘malloc(60)’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def805]
bluez-5.85/tools/isotest.c:1268:33: warning[-Wanalyzer-malloc-leak]: leak of ‘filename’
bluez-5.85/tools/isotest.c:1223:20: branch_false: following ‘false’ branch (when ‘opt >= 0’)...
bluez-5.85/tools/isotest.c:1226:17: branch_false: ...to here
bluez-5.85/tools/isotest.c:1230:44: acquire_memory: allocated here
bluez-5.85/tools/isotest.c:1223:20: branch_false: following ‘false’ branch (when ‘opt >= 0’)...
bluez-5.85/tools/isotest.c:1226:17: branch_false: ...to here
bluez-5.85/tools/isotest.c:1263:28: branch_false: following ‘false’ branch...
bluez-5.85/tools/isotest.c:1266:30: branch_false: ...to here
bluez-5.85/tools/isotest.c:1266:28: branch_true: following ‘true’ branch...
bluez-5.85/tools/isotest.c:1267:51: branch_true: ...to here
bluez-5.85/tools/isotest.c:1268:33: throw: if ‘hci_devba’ throws an exception...
bluez-5.85/tools/isotest.c:1268:33: danger: ‘filename’ leaks here; was allocated at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def806]
bluez-5.85/tools/isotest.c:1270:33: warning[-Wanalyzer-malloc-leak]: leak of ‘filename’
bluez-5.85/tools/isotest.c:1223:20: branch_false: following ‘false’ branch (when ‘opt >= 0’)...
bluez-5.85/tools/isotest.c:1226:17: branch_false: ...to here
bluez-5.85/tools/isotest.c:1230:44: acquire_memory: allocated here
bluez-5.85/tools/isotest.c:1223:20: branch_false: following ‘false’ branch (when ‘opt >= 0’)...
bluez-5.85/tools/isotest.c:1226:17: branch_false: ...to here
bluez-5.85/tools/isotest.c:1263:28: branch_false: following ‘false’ branch...
bluez-5.85/tools/isotest.c:1266:30: branch_false: ...to here
bluez-5.85/tools/isotest.c:1266:28: branch_false: following ‘false’ branch...
bluez-5.85/tools/isotest.c:1270:33: branch_false: ...to here
bluez-5.85/tools/isotest.c:1270:33: throw: if ‘str2ba’ throws an exception...
bluez-5.85/tools/isotest.c:1270:33: danger: ‘filename’ leaks here; was allocated at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def807]
bluez-5.85/tools/l2cap-tester.c:1233:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/l2cap-tester.c:1225:14: acquire_resource: socket created here
bluez-5.85/tools/l2cap-tester.c:1226:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/l2cap-tester.c:1233:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:1233:9: throw: if ‘close’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:1233:9: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def808]
bluez-5.85/tools/l2cap-tester.c:1604:26: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/l2cap-tester.c:1596:14: acquire_resource: socket created here
bluez-5.85/tools/l2cap-tester.c:1597:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/l2cap-tester.c:1604:26: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:1604:26: throw: if ‘hciemu_get_central_bdaddr’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:1604:26: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def809]
bluez-5.85/tools/l2cap-tester.c:1606:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/l2cap-tester.c:1596:14: acquire_resource: socket created here
bluez-5.85/tools/l2cap-tester.c:1597:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/l2cap-tester.c:1604:26: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:1605:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/l2cap-tester.c:1606:17: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:1606:17: throw: if ‘tester_warn’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:1606:17: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def810]
bluez-5.85/tools/l2cap-tester.c:1607:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/l2cap-tester.c:1596:14: acquire_resource: socket created here
bluez-5.85/tools/l2cap-tester.c:1597:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/l2cap-tester.c:1604:26: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:1605:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/l2cap-tester.c:1606:17: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:1607:17: throw: if ‘close’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:1607:17: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def811]
bluez-5.85/tools/l2cap-tester.c:1626:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/l2cap-tester.c:1596:14: acquire_resource: socket created here
bluez-5.85/tools/l2cap-tester.c:1597:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/l2cap-tester.c:1604:26: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:1605:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2cap-tester.c:1611:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:1619:17: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2cap-tester.c:1624:13: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:1624:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/l2cap-tester.c:1625:24: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:1626:17: throw: if ‘tester_warn’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:1626:17: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def812]
bluez-5.85/tools/l2cap-tester.c:1628:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/l2cap-tester.c:1596:14: acquire_resource: socket created here
bluez-5.85/tools/l2cap-tester.c:1597:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/l2cap-tester.c:1604:26: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:1605:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2cap-tester.c:1611:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:1619:17: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2cap-tester.c:1624:13: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:1624:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/l2cap-tester.c:1625:24: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:1628:17: throw: if ‘close’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:1628:17: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def813]
bluez-5.85/tools/l2cap-tester.c:2341:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘g_io_channel_unix_get_fd(io)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def814]
bluez-5.85/tools/l2cap-tester.c:2348:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘accept(g_io_channel_unix_get_fd(io), 0, 0)’
bluez-5.85/tools/l2cap-tester.c:2342:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2cap-tester.c:2348:14: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2348:14: danger: ‘accept(g_io_channel_unix_get_fd(io), 0, 0)’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def815]
bluez-5.85/tools/l2cap-tester.c:2554:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2554:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2554:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2554:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2554:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2554:9: danger: ‘user’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def816]
bluez-5.85/tools/l2cap-tester.c:2556:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2556:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2556:9: danger: ‘user’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def817]
bluez-5.85/tools/l2cap-tester.c:2560:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2560:9: danger: ‘user’ leaks here; was allocated at [(4)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def818]
bluez-5.85/tools/l2cap-tester.c:2564:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2564:9: danger: ‘user’ leaks here; was allocated at [(7)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def819]
bluez-5.85/tools/l2cap-tester.c:2568:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2568:9: danger: ‘user’ leaks here; was allocated at [(10)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def820]
bluez-5.85/tools/l2cap-tester.c:2573:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2573:9: danger: ‘user’ leaks here; was allocated at [(13)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def821]
bluez-5.85/tools/l2cap-tester.c:2576:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2576:9: danger: ‘user’ leaks here; was allocated at [(16)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def822]
bluez-5.85/tools/l2cap-tester.c:2579:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2579:9: danger: ‘user’ leaks here; was allocated at [(19)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def823]
bluez-5.85/tools/l2cap-tester.c:2583:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2583:9: danger: ‘user’ leaks here; was allocated at [(22)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/21)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def824]
bluez-5.85/tools/l2cap-tester.c:2587:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2587:9: danger: ‘user’ leaks here; was allocated at [(25)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/24)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def825]
bluez-5.85/tools/l2cap-tester.c:2591:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2591:9: danger: ‘user’ leaks here; was allocated at [(28)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/27)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def826]
bluez-5.85/tools/l2cap-tester.c:2595:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2595:9: danger: ‘user’ leaks here; was allocated at [(31)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/30)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def827]
bluez-5.85/tools/l2cap-tester.c:2599:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2599:9: danger: ‘user’ leaks here; was allocated at [(34)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/33)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def828]
bluez-5.85/tools/l2cap-tester.c:2603:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2603:9: danger: ‘user’ leaks here; was allocated at [(37)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/36)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def829]
bluez-5.85/tools/l2cap-tester.c:2607:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2607:9: danger: ‘user’ leaks here; was allocated at [(40)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/39)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def830]
bluez-5.85/tools/l2cap-tester.c:2611:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2611:9: danger: ‘user’ leaks here; was allocated at [(43)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/42)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def831]
bluez-5.85/tools/l2cap-tester.c:2615:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2615:9: danger: ‘user’ leaks here; was allocated at [(46)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/45)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def832]
bluez-5.85/tools/l2cap-tester.c:2619:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2619:9: danger: ‘user’ leaks here; was allocated at [(49)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/48)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def833]
bluez-5.85/tools/l2cap-tester.c:2623:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2623:9: danger: ‘user’ leaks here; was allocated at [(52)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/51)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def834]
bluez-5.85/tools/l2cap-tester.c:2627:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2627:9: danger: ‘user’ leaks here; was allocated at [(55)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/54)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def835]
bluez-5.85/tools/l2cap-tester.c:2631:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2631:9: danger: ‘user’ leaks here; was allocated at [(58)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/57)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def836]
bluez-5.85/tools/l2cap-tester.c:2635:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2635:9: danger: ‘user’ leaks here; was allocated at [(61)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/60)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def837]
bluez-5.85/tools/l2cap-tester.c:2639:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2639:9: danger: ‘user’ leaks here; was allocated at [(64)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/63)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def838]
bluez-5.85/tools/l2cap-tester.c:2643:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2643:9: danger: ‘user’ leaks here; was allocated at [(67)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/66)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def839]
bluez-5.85/tools/l2cap-tester.c:2647:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2647:9: danger: ‘user’ leaks here; was allocated at [(70)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/69)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def840]
bluez-5.85/tools/l2cap-tester.c:2651:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2651:9: danger: ‘user’ leaks here; was allocated at [(73)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/72)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def841]
bluez-5.85/tools/l2cap-tester.c:2655:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2655:9: danger: ‘user’ leaks here; was allocated at [(76)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/75)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def842]
bluez-5.85/tools/l2cap-tester.c:2658:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2658:9: danger: ‘user’ leaks here; was allocated at [(79)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/78)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def843]
bluez-5.85/tools/l2cap-tester.c:2661:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2661:9: danger: ‘user’ leaks here; was allocated at [(82)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/81)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def844]
bluez-5.85/tools/l2cap-tester.c:2664:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2664:9: danger: ‘user’ leaks here; was allocated at [(85)](sarif:/runs/0/results/37/codeFlows/0/threadFlows/0/locations/84)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def845]
bluez-5.85/tools/l2cap-tester.c:2668:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2668:9: danger: ‘user’ leaks here; was allocated at [(88)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/87)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def846]
bluez-5.85/tools/l2cap-tester.c:2671:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2671:9: danger: ‘user’ leaks here; was allocated at [(91)](sarif:/runs/0/results/39/codeFlows/0/threadFlows/0/locations/90)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def847]
bluez-5.85/tools/l2cap-tester.c:2674:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2674:9: danger: ‘user’ leaks here; was allocated at [(94)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/93)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def848]
bluez-5.85/tools/l2cap-tester.c:2677:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2677:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2677:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2677:9: danger: ‘user’ leaks here; was allocated at [(97)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/96)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def849]
bluez-5.85/tools/l2cap-tester.c:2680:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2677:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2680:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2680:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2680:9: danger: ‘user’ leaks here; was allocated at [(100)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/99)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def850]
bluez-5.85/tools/l2cap-tester.c:2683:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2677:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2680:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2683:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2683:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2683:9: danger: ‘user’ leaks here; was allocated at [(103)](sarif:/runs/0/results/43/codeFlows/0/threadFlows/0/locations/102)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def851]
bluez-5.85/tools/l2cap-tester.c:2686:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2677:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2680:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2683:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2686:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2686:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2686:9: danger: ‘user’ leaks here; was allocated at [(106)](sarif:/runs/0/results/44/codeFlows/0/threadFlows/0/locations/105)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def852]
bluez-5.85/tools/l2cap-tester.c:2689:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2677:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2680:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2683:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2686:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2689:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2689:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2689:9: danger: ‘user’ leaks here; was allocated at [(109)](sarif:/runs/0/results/45/codeFlows/0/threadFlows/0/locations/108)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def853]
bluez-5.85/tools/l2cap-tester.c:2692:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2677:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2680:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2683:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2686:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2689:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2692:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2692:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2692:9: danger: ‘user’ leaks here; was allocated at [(112)](sarif:/runs/0/results/46/codeFlows/0/threadFlows/0/locations/111)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def854]
bluez-5.85/tools/l2cap-tester.c:2695:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2677:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2680:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2683:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2686:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2689:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2692:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2695:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2695:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2695:9: danger: ‘user’ leaks here; was allocated at [(115)](sarif:/runs/0/results/47/codeFlows/0/threadFlows/0/locations/114)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def855]
bluez-5.85/tools/l2cap-tester.c:2698:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2677:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2680:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2683:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2686:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2689:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2692:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2695:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2698:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2698:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2698:9: danger: ‘user’ leaks here; was allocated at [(118)](sarif:/runs/0/results/48/codeFlows/0/threadFlows/0/locations/117)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def856]
bluez-5.85/tools/l2cap-tester.c:2701:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2677:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2680:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2683:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2686:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2689:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2692:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2695:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2698:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2701:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2701:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2701:9: danger: ‘user’ leaks here; was allocated at [(121)](sarif:/runs/0/results/49/codeFlows/0/threadFlows/0/locations/120)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def857]
bluez-5.85/tools/l2cap-tester.c:2704:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2677:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2680:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2683:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2686:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2689:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2692:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2695:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2698:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2701:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2704:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2704:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2704:9: danger: ‘user’ leaks here; was allocated at [(124)](sarif:/runs/0/results/50/codeFlows/0/threadFlows/0/locations/123)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def858]
bluez-5.85/tools/l2cap-tester.c:2707:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2677:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2680:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2683:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2686:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2689:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2692:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2695:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2698:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2701:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2704:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2707:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2707:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2707:9: danger: ‘user’ leaks here; was allocated at [(127)](sarif:/runs/0/results/51/codeFlows/0/threadFlows/0/locations/126)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def859]
bluez-5.85/tools/l2cap-tester.c:2710:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2677:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2680:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2683:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2686:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2689:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2692:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2695:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2698:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2701:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2704:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2707:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2710:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2710:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2710:9: danger: ‘user’ leaks here; was allocated at [(130)](sarif:/runs/0/results/52/codeFlows/0/threadFlows/0/locations/129)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def860]
bluez-5.85/tools/l2cap-tester.c:2714:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2677:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2680:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2683:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2686:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2689:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2692:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2695:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2698:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2701:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2704:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2707:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2710:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2714:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2714:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2714:9: danger: ‘user’ leaks here; was allocated at [(133)](sarif:/runs/0/results/53/codeFlows/0/threadFlows/0/locations/132)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def861]
bluez-5.85/tools/l2cap-tester.c:2719:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2677:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2680:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2683:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2686:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2689:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2692:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2695:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2698:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2701:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2704:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2707:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2710:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2714:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2719:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2719:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2719:9: danger: ‘user’ leaks here; was allocated at [(136)](sarif:/runs/0/results/54/codeFlows/0/threadFlows/0/locations/135)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def862]
bluez-5.85/tools/l2cap-tester.c:2724:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2677:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2680:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2683:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2686:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2689:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2692:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2695:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2698:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2701:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2704:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2707:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2710:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2714:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2719:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2724:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2724:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2724:9: danger: ‘user’ leaks here; was allocated at [(139)](sarif:/runs/0/results/55/codeFlows/0/threadFlows/0/locations/138)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def863]
bluez-5.85/tools/l2cap-tester.c:2729:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2677:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2680:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2683:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2686:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2689:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2692:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2695:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2698:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2701:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2704:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2707:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2710:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2714:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2719:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2724:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2729:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2729:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2729:9: danger: ‘user’ leaks here; was allocated at [(142)](sarif:/runs/0/results/56/codeFlows/0/threadFlows/0/locations/141)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def864]
bluez-5.85/tools/l2cap-tester.c:2734:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2677:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2680:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2683:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2686:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2689:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2692:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2695:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2698:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2701:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2704:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2707:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2710:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2714:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2719:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2724:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2729:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2734:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2734:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2734:9: danger: ‘user’ leaks here; was allocated at [(145)](sarif:/runs/0/results/57/codeFlows/0/threadFlows/0/locations/144)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def865]
bluez-5.85/tools/l2cap-tester.c:2737:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2677:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2680:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2683:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2686:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2689:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2692:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2695:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2698:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2701:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2704:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2707:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2710:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2714:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2719:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2724:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2729:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2734:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2737:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2737:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2737:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2737:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2737:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2737:9: danger: ‘user’ leaks here; was allocated at [(148)](sarif:/runs/0/results/58/codeFlows/0/threadFlows/0/locations/147)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def866]
bluez-5.85/tools/l2cap-tester.c:2739:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2677:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2680:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2683:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2686:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2689:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2692:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2695:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2698:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2701:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2704:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2707:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2710:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2714:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2719:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2724:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2729:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2734:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2737:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2737:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2737:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2739:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2739:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2739:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2739:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2739:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2739:9: danger: ‘user’ leaks here; was allocated at [(151)](sarif:/runs/0/results/59/codeFlows/0/threadFlows/0/locations/150)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def867]
bluez-5.85/tools/l2cap-tester.c:2743:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2677:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2680:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2683:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2686:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2689:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2692:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2695:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2698:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2701:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2704:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2707:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2710:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2714:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2719:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2724:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2729:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2734:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2737:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2737:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2737:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2739:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2739:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2739:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2743:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2743:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2743:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2743:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2743:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2743:9: danger: ‘user’ leaks here; was allocated at [(154)](sarif:/runs/0/results/60/codeFlows/0/threadFlows/0/locations/153)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def868]
bluez-5.85/tools/l2cap-tester.c:2746:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2677:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2680:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2683:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2686:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2689:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2692:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2695:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2698:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2701:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2704:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2707:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2710:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2714:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2719:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2724:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2729:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2734:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2737:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2737:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2737:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2739:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2739:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2739:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2743:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2743:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2743:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2746:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2746:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2746:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2746:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2746:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2746:9: danger: ‘user’ leaks here; was allocated at [(157)](sarif:/runs/0/results/61/codeFlows/0/threadFlows/0/locations/156)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def869]
bluez-5.85/tools/l2cap-tester.c:2749:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2677:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2680:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2683:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2686:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2689:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2692:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2695:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2698:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2701:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2704:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2707:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2710:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2714:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2719:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2724:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2729:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2734:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2737:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2737:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2737:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2739:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2739:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2739:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2743:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2743:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2743:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2746:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2746:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2746:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2749:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2749:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2749:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2749:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2749:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2749:9: danger: ‘user’ leaks here; was allocated at [(160)](sarif:/runs/0/results/62/codeFlows/0/threadFlows/0/locations/159)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def870]
bluez-5.85/tools/l2cap-tester.c:2752:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2677:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2680:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2683:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2686:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2689:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2692:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2695:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2698:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2701:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2704:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2707:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2710:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2714:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2719:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2724:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2729:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2734:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2737:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2737:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2737:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2739:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2739:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2739:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2743:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2743:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2743:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2746:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2746:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2746:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2749:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2749:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2749:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2752:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2752:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2752:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2752:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2752:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2752:9: danger: ‘user’ leaks here; was allocated at [(163)](sarif:/runs/0/results/63/codeFlows/0/threadFlows/0/locations/162)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def871]
bluez-5.85/tools/l2cap-tester.c:2755:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2677:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2680:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2683:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2686:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2689:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2692:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2695:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2698:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2701:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2704:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2707:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2710:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2714:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2719:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2724:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2729:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2734:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2737:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2737:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2737:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2739:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2739:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2739:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2743:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2743:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2743:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2746:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2746:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2746:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2749:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2749:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2749:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2752:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2752:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2752:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2755:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2755:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2755:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2755:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2755:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2755:9: danger: ‘user’ leaks here; was allocated at [(166)](sarif:/runs/0/results/64/codeFlows/0/threadFlows/0/locations/165)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def872]
bluez-5.85/tools/l2cap-tester.c:2758:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2677:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2680:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2683:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2686:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2689:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2692:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2695:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2698:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2701:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2704:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2707:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2710:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2714:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2719:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2724:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2729:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2734:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2737:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2737:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2737:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2739:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2739:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2739:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2743:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2743:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2743:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2746:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2746:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2746:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2749:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2749:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2749:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2752:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2752:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2752:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2755:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2755:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2755:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2758:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2758:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2758:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2758:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2758:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2758:9: danger: ‘user’ leaks here; was allocated at [(169)](sarif:/runs/0/results/65/codeFlows/0/threadFlows/0/locations/168)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def873]
bluez-5.85/tools/l2cap-tester.c:2762:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2677:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2680:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2683:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2686:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2689:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2692:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2695:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2698:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2701:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2704:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2707:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2710:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2714:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2719:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2724:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2729:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2734:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2737:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2737:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2737:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2739:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2739:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2739:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2743:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2743:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2743:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2746:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2746:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2746:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2749:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2749:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2749:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2752:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2752:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2752:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2755:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2755:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2755:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2758:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2758:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2758:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2762:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2762:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2762:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2762:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2762:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2762:9: danger: ‘user’ leaks here; was allocated at [(172)](sarif:/runs/0/results/66/codeFlows/0/threadFlows/0/locations/171)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def874]
bluez-5.85/tools/l2cap-tester.c:2767:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2677:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2680:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2683:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2686:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2689:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2692:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2695:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2698:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2701:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2704:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2707:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2710:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2714:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2719:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2724:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2729:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2734:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2737:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2737:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2737:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2739:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2739:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2739:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2743:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2743:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2743:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2746:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2746:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2746:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2749:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2749:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2749:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2752:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2752:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2752:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2755:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2755:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2755:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2758:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2758:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2758:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2762:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2762:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2762:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2767:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2767:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2767:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2767:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2767:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2767:9: danger: ‘user’ leaks here; was allocated at [(175)](sarif:/runs/0/results/67/codeFlows/0/threadFlows/0/locations/174)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def875]
bluez-5.85/tools/l2cap-tester.c:2772:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2677:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2680:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2683:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2686:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2689:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2692:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2695:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2698:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2701:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2704:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2707:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2710:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2714:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2719:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2724:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2729:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2734:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2737:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2737:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2737:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2739:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2739:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2739:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2743:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2743:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2743:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2746:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2746:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2746:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2749:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2749:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2749:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2752:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2752:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2752:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2755:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2755:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2755:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2758:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2758:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2758:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2762:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2762:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2762:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2767:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2767:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2767:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2772:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2772:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2772:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2772:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2772:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2772:9: danger: ‘user’ leaks here; was allocated at [(178)](sarif:/runs/0/results/68/codeFlows/0/threadFlows/0/locations/177)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def876]
bluez-5.85/tools/l2cap-tester.c:2775:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2677:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2680:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2683:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2686:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2689:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2692:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2695:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2698:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2701:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2704:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2707:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2710:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2714:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2719:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2724:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2729:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2734:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2737:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2737:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2737:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2739:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2739:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2739:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2743:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2743:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2743:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2746:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2746:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2746:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2749:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2749:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2749:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2752:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2752:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2752:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2755:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2755:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2755:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2758:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2758:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2758:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2762:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2762:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2762:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2767:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2767:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2767:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2772:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2772:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2772:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2775:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2775:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2775:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2775:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2775:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2775:9: danger: ‘user’ leaks here; was allocated at [(181)](sarif:/runs/0/results/69/codeFlows/0/threadFlows/0/locations/180)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def877]
bluez-5.85/tools/l2cap-tester.c:2779:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2677:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2680:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2683:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2686:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2689:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2692:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2695:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2698:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2701:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2704:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2707:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2710:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2714:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2719:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2724:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2729:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2734:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2737:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2737:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2737:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2739:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2739:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2739:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2743:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2743:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2743:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2746:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2746:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2746:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2749:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2749:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2749:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2752:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2752:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2752:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2755:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2755:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2755:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2758:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2758:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2758:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2762:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2762:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2762:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2767:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2767:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2767:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2772:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2772:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2772:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2775:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2775:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2775:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2779:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2779:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2779:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2779:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2779:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2779:9: danger: ‘user’ leaks here; was allocated at [(184)](sarif:/runs/0/results/70/codeFlows/0/threadFlows/0/locations/183)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def878]
bluez-5.85/tools/l2cap-tester.c:2782:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2677:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2680:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2683:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2686:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2689:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2692:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2695:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2698:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2701:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2704:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2707:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2710:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2714:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2719:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2724:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2729:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2734:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2737:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2737:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2737:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2739:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2739:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2739:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2743:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2743:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2743:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2746:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2746:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2746:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2749:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2749:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2749:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2752:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2752:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2752:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2755:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2755:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2755:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2758:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2758:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2758:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2762:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2762:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2762:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2767:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2767:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2767:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2772:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2772:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2772:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2775:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2775:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2775:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2779:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2779:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2779:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2782:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2782:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2782:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2782:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2782:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2782:9: danger: ‘user’ leaks here; was allocated at [(187)](sarif:/runs/0/results/71/codeFlows/0/threadFlows/0/locations/186)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def879]
bluez-5.85/tools/l2cap-tester.c:2786:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2677:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2680:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2683:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2686:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2689:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2692:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2695:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2698:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2701:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2704:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2707:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2710:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2714:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2719:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2724:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2729:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2734:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2737:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2737:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2737:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2739:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2739:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2739:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2743:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2743:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2743:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2746:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2746:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2746:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2749:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2749:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2749:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2752:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2752:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2752:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2755:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2755:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2755:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2758:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2758:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2758:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2762:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2762:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2762:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2767:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2767:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2767:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2772:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2772:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2772:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2775:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2775:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2775:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2779:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2779:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2779:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2782:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2782:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2782:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2786:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2786:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2786:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2786:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2786:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2786:9: danger: ‘user’ leaks here; was allocated at [(190)](sarif:/runs/0/results/72/codeFlows/0/threadFlows/0/locations/189)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def880]
bluez-5.85/tools/l2cap-tester.c:2789:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2677:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2680:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2683:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2686:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2689:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2692:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2695:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2698:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2701:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2704:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2707:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2710:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2714:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2719:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2724:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2729:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2734:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2737:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2737:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2737:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2739:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2739:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2739:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2743:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2743:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2743:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2746:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2746:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2746:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2749:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2749:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2749:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2752:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2752:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2752:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2755:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2755:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2755:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2758:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2758:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2758:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2762:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2762:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2762:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2767:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2767:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2767:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2772:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2772:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2772:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2775:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2775:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2775:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2779:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2779:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2779:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2782:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2782:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2782:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2786:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2786:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2786:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2789:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2789:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2789:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2789:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2789:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2789:9: danger: ‘user’ leaks here; was allocated at [(193)](sarif:/runs/0/results/73/codeFlows/0/threadFlows/0/locations/192)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def881]
bluez-5.85/tools/l2cap-tester.c:2792:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/l2cap-tester.c:2556:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2556:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2560:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2560:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2564:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2564:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2568:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2568:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2573:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2573:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2576:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2576:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2579:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2579:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2583:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2583:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2587:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2587:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2591:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2591:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2595:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2595:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2599:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2599:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2603:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2603:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2607:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2607:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2611:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2611:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2615:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2615:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2619:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2619:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2623:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2623:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2627:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2627:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2631:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2631:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2635:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2635:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2639:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2639:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2643:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2643:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2647:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2647:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2651:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2651:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2655:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2655:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2658:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2658:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2661:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2661:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2664:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2664:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2668:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2668:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2671:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2671:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2674:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2674:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2677:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2677:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2680:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2680:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2683:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2683:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2686:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2686:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2689:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2689:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2692:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2692:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2695:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2695:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2698:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2698:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2701:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2701:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2704:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2704:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2707:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2707:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2710:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2710:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2714:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2714:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2719:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2719:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2724:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2724:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2729:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2729:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2734:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2734:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2737:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2737:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2737:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2739:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2739:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2739:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2743:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2743:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2743:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2746:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2746:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2746:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2749:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2749:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2749:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2752:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2752:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2752:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2755:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2755:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2755:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2758:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2758:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2758:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2762:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2762:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2762:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2767:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2767:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2767:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2772:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2772:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2772:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2775:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2775:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2775:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2779:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2779:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2779:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2782:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2782:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2782:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2786:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2786:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2786:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2789:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2789:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2789:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/l2cap-tester.c:2792:9: branch_true: ...to here
bluez-5.85/tools/l2cap-tester.c:2792:9: acquire_memory: allocated here
bluez-5.85/tools/l2cap-tester.c:2792:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/l2cap-tester.c:2792:9: branch_false: ...to here
bluez-5.85/tools/l2cap-tester.c:2792:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/l2cap-tester.c:2792:9: danger: ‘user’ leaks here; was allocated at [(196)](sarif:/runs/0/results/74/codeFlows/0/threadFlows/0/locations/195)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def882]
bluez-5.85/tools/l2ping.c:78:17: warning[-Wanalyzer-malloc-leak]: leak of ‘recv_buf’
bluez-5.85/tools/l2ping.c:76:20: acquire_memory: allocated here
bluez-5.85/tools/l2ping.c:77:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/l2ping.c:78:17: branch_true: ...to here
bluez-5.85/tools/l2ping.c:78:17: throw: if ‘perror’ throws an exception...
bluez-5.85/tools/l2ping.c:78:17: danger: ‘recv_buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def883]
bluez-5.85/tools/l2ping.c:78:17: warning[-Wanalyzer-malloc-leak]: leak of ‘send_buf’
bluez-5.85/tools/l2ping.c:75:20: acquire_memory: allocated here
bluez-5.85/tools/l2ping.c:77:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/l2ping.c:78:17: branch_true: ...to here
bluez-5.85/tools/l2ping.c:78:17: throw: if ‘perror’ throws an exception...
bluez-5.85/tools/l2ping.c:78:17: danger: ‘send_buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def884]
bluez-5.85/tools/l2ping.c:85:17: warning[-Wanalyzer-malloc-leak]: leak of ‘recv_buf’
bluez-5.85/tools/l2ping.c:76:20: acquire_memory: allocated here
bluez-5.85/tools/l2ping.c:77:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:83:14: branch_false: ...to here
bluez-5.85/tools/l2ping.c:84:12: branch_true: following ‘true’ branch (when ‘sk < 0’)...
bluez-5.85/tools/l2ping.c:85:17: branch_true: ...to here
bluez-5.85/tools/l2ping.c:85:17: throw: if ‘perror’ throws an exception...
bluez-5.85/tools/l2ping.c:85:17: danger: ‘recv_buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def885]
bluez-5.85/tools/l2ping.c:85:17: warning[-Wanalyzer-malloc-leak]: leak of ‘send_buf’
bluez-5.85/tools/l2ping.c:75:20: acquire_memory: allocated here
bluez-5.85/tools/l2ping.c:77:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:83:14: branch_false: ...to here
bluez-5.85/tools/l2ping.c:84:12: branch_true: following ‘true’ branch (when ‘sk < 0’)...
bluez-5.85/tools/l2ping.c:85:17: branch_true: ...to here
bluez-5.85/tools/l2ping.c:85:17: throw: if ‘perror’ throws an exception...
bluez-5.85/tools/l2ping.c:85:17: danger: ‘send_buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def886]
bluez-5.85/tools/l2ping.c:95:17: warning[-Wanalyzer-malloc-leak]: leak of ‘recv_buf’
bluez-5.85/tools/l2ping.c:76:20: acquire_memory: allocated here
bluez-5.85/tools/l2ping.c:77:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:83:14: branch_false: ...to here
bluez-5.85/tools/l2ping.c:84:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/l2ping.c:90:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:94:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/l2ping.c:95:17: branch_true: ...to here
bluez-5.85/tools/l2ping.c:95:17: throw: if ‘perror’ throws an exception...
bluez-5.85/tools/l2ping.c:95:17: danger: ‘recv_buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def887]
bluez-5.85/tools/l2ping.c:95:17: warning[-Wanalyzer-malloc-leak]: leak of ‘send_buf’
bluez-5.85/tools/l2ping.c:75:20: acquire_memory: allocated here
bluez-5.85/tools/l2ping.c:77:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:83:14: branch_false: ...to here
bluez-5.85/tools/l2ping.c:84:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/l2ping.c:90:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:94:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/l2ping.c:95:17: branch_true: ...to here
bluez-5.85/tools/l2ping.c:95:17: throw: if ‘perror’ throws an exception...
bluez-5.85/tools/l2ping.c:95:17: danger: ‘send_buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def888]
bluez-5.85/tools/l2ping.c:102:9: warning[-Wanalyzer-malloc-leak]: leak of ‘recv_buf’
bluez-5.85/tools/l2ping.c:76:20: acquire_memory: allocated here
bluez-5.85/tools/l2ping.c:77:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:83:14: branch_false: ...to here
bluez-5.85/tools/l2ping.c:84:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/l2ping.c:90:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:94:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:100:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:102:9: throw: if ‘str2ba’ throws an exception...
bluez-5.85/tools/l2ping.c:102:9: danger: ‘recv_buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def889]
bluez-5.85/tools/l2ping.c:102:9: warning[-Wanalyzer-malloc-leak]: leak of ‘send_buf’
bluez-5.85/tools/l2ping.c:75:20: acquire_memory: allocated here
bluez-5.85/tools/l2ping.c:77:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:83:14: branch_false: ...to here
bluez-5.85/tools/l2ping.c:84:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/l2ping.c:90:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:94:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:100:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:102:9: throw: if ‘str2ba’ throws an exception...
bluez-5.85/tools/l2ping.c:102:9: danger: ‘send_buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def890]
bluez-5.85/tools/l2ping.c:104:13: warning[-Wanalyzer-malloc-leak]: leak of ‘recv_buf’
bluez-5.85/tools/l2ping.c:76:20: acquire_memory: allocated here
bluez-5.85/tools/l2ping.c:77:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:83:14: branch_false: ...to here
bluez-5.85/tools/l2ping.c:84:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/l2ping.c:90:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:94:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:100:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:104:13: throw: if ‘connect’ throws an exception...
bluez-5.85/tools/l2ping.c:104:13: danger: ‘recv_buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def891]
bluez-5.85/tools/l2ping.c:104:13: warning[-Wanalyzer-malloc-leak]: leak of ‘send_buf’
bluez-5.85/tools/l2ping.c:75:20: acquire_memory: allocated here
bluez-5.85/tools/l2ping.c:77:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:83:14: branch_false: ...to here
bluez-5.85/tools/l2ping.c:84:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/l2ping.c:90:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:94:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:100:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:104:13: throw: if ‘connect’ throws an exception...
bluez-5.85/tools/l2ping.c:104:13: danger: ‘send_buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def892]
bluez-5.85/tools/l2ping.c:105:17: warning[-Wanalyzer-malloc-leak]: leak of ‘recv_buf’
bluez-5.85/tools/l2ping.c:76:20: acquire_memory: allocated here
bluez-5.85/tools/l2ping.c:77:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:83:14: branch_false: ...to here
bluez-5.85/tools/l2ping.c:84:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/l2ping.c:90:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:94:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:100:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:104:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/l2ping.c:105:17: branch_true: ...to here
bluez-5.85/tools/l2ping.c:105:17: throw: if ‘perror’ throws an exception...
bluez-5.85/tools/l2ping.c:105:17: danger: ‘recv_buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def893]
bluez-5.85/tools/l2ping.c:105:17: warning[-Wanalyzer-malloc-leak]: leak of ‘send_buf’
bluez-5.85/tools/l2ping.c:75:20: acquire_memory: allocated here
bluez-5.85/tools/l2ping.c:77:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:83:14: branch_false: ...to here
bluez-5.85/tools/l2ping.c:84:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/l2ping.c:90:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:94:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:100:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:104:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/l2ping.c:105:17: branch_true: ...to here
bluez-5.85/tools/l2ping.c:105:17: throw: if ‘perror’ throws an exception...
bluez-5.85/tools/l2ping.c:105:17: danger: ‘send_buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def894]
bluez-5.85/tools/l2ping.c:114:17: warning[-Wanalyzer-malloc-leak]: leak of ‘recv_buf’
bluez-5.85/tools/l2ping.c:76:20: acquire_memory: allocated here
bluez-5.85/tools/l2ping.c:77:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:83:14: branch_false: ...to here
bluez-5.85/tools/l2ping.c:84:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/l2ping.c:90:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:94:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:100:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:104:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:110:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:113:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/l2ping.c:114:17: branch_true: ...to here
bluez-5.85/tools/l2ping.c:114:17: throw: if ‘perror’ throws an exception...
bluez-5.85/tools/l2ping.c:114:17: danger: ‘recv_buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def895]
bluez-5.85/tools/l2ping.c:114:17: warning[-Wanalyzer-malloc-leak]: leak of ‘send_buf’
bluez-5.85/tools/l2ping.c:75:20: acquire_memory: allocated here
bluez-5.85/tools/l2ping.c:77:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:83:14: branch_false: ...to here
bluez-5.85/tools/l2ping.c:84:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/l2ping.c:90:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:94:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:100:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:104:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:110:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:113:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/l2ping.c:114:17: branch_true: ...to here
bluez-5.85/tools/l2ping.c:114:17: throw: if ‘perror’ throws an exception...
bluez-5.85/tools/l2ping.c:114:17: danger: ‘send_buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def896]
bluez-5.85/tools/l2ping.c:118:9: warning[-Wanalyzer-malloc-leak]: leak of ‘recv_buf’
bluez-5.85/tools/l2ping.c:76:20: acquire_memory: allocated here
bluez-5.85/tools/l2ping.c:77:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:83:14: branch_false: ...to here
bluez-5.85/tools/l2ping.c:84:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/l2ping.c:90:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:94:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:100:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:104:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:110:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:113:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:118:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:118:9: throw: if ‘ba2str’ throws an exception...
bluez-5.85/tools/l2ping.c:118:9: danger: ‘recv_buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def897]
bluez-5.85/tools/l2ping.c:118:9: warning[-Wanalyzer-malloc-leak]: leak of ‘send_buf’
bluez-5.85/tools/l2ping.c:75:20: acquire_memory: allocated here
bluez-5.85/tools/l2ping.c:77:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:83:14: branch_false: ...to here
bluez-5.85/tools/l2ping.c:84:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/l2ping.c:90:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:94:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:100:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:104:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:110:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:113:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:118:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:118:9: throw: if ‘ba2str’ throws an exception...
bluez-5.85/tools/l2ping.c:118:9: danger: ‘send_buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def898]
bluez-5.85/tools/l2ping.c:144:21: warning[-Wanalyzer-malloc-leak]: leak of ‘recv_buf’
bluez-5.85/tools/l2ping.c:76:20: acquire_memory: allocated here
bluez-5.85/tools/l2ping.c:77:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:83:14: branch_false: ...to here
bluez-5.85/tools/l2ping.c:84:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/l2ping.c:90:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:94:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:100:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:104:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:110:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:113:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:118:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:127:16: branch_true: following ‘true’ branch...
bluez-5.85/tools/l2ping.c:133:17: branch_true: ...to here
bluez-5.85/tools/l2ping.c:136:20: branch_true: following ‘true’ branch...
bluez-5.85/tools/l2ping.c:136:20: branch_true: ...to here
bluez-5.85/tools/l2ping.c:144:21: throw: if ‘send’ throws an exception...
bluez-5.85/tools/l2ping.c:144:21: danger: ‘recv_buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def899]
bluez-5.85/tools/l2ping.c:144:21: warning[-Wanalyzer-malloc-leak]: leak of ‘send_buf’
bluez-5.85/tools/l2ping.c:75:20: acquire_memory: allocated here
bluez-5.85/tools/l2ping.c:77:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:83:14: branch_false: ...to here
bluez-5.85/tools/l2ping.c:84:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/l2ping.c:90:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:94:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:100:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:104:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:110:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:113:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:118:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:127:16: branch_true: following ‘true’ branch...
bluez-5.85/tools/l2ping.c:133:17: branch_true: ...to here
bluez-5.85/tools/l2ping.c:136:20: branch_true: following ‘true’ branch...
bluez-5.85/tools/l2ping.c:136:20: branch_true: ...to here
bluez-5.85/tools/l2ping.c:144:21: throw: if ‘send’ throws an exception...
bluez-5.85/tools/l2ping.c:144:21: danger: ‘send_buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def900]
bluez-5.85/tools/l2ping.c:145:25: warning[-Wanalyzer-malloc-leak]: leak of ‘recv_buf’
bluez-5.85/tools/l2ping.c:76:20: acquire_memory: allocated here
bluez-5.85/tools/l2ping.c:77:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:83:14: branch_false: ...to here
bluez-5.85/tools/l2ping.c:84:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/l2ping.c:90:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:94:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:100:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:104:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:110:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:113:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:118:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:144:20: branch_true: following ‘true’ branch...
bluez-5.85/tools/l2ping.c:145:25: branch_true: ...to here
bluez-5.85/tools/l2ping.c:145:25: throw: if ‘perror’ throws an exception...
bluez-5.85/tools/l2ping.c:145:25: danger: ‘recv_buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def901]
bluez-5.85/tools/l2ping.c:145:25: warning[-Wanalyzer-malloc-leak]: leak of ‘send_buf’
bluez-5.85/tools/l2ping.c:75:20: acquire_memory: allocated here
bluez-5.85/tools/l2ping.c:77:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:83:14: branch_false: ...to here
bluez-5.85/tools/l2ping.c:84:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/l2ping.c:90:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:94:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:100:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:104:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:110:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:113:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:118:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:144:20: branch_true: following ‘true’ branch...
bluez-5.85/tools/l2ping.c:145:25: branch_true: ...to here
bluez-5.85/tools/l2ping.c:145:25: throw: if ‘perror’ throws an exception...
bluez-5.85/tools/l2ping.c:145:25: danger: ‘send_buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def902]
bluez-5.85/tools/l2ping.c:158:36: warning[-Wanalyzer-malloc-leak]: leak of ‘recv_buf’
bluez-5.85/tools/l2ping.c:76:20: acquire_memory: allocated here
bluez-5.85/tools/l2ping.c:77:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:83:14: branch_false: ...to here
bluez-5.85/tools/l2ping.c:84:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/l2ping.c:90:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:94:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:100:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:104:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:110:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:113:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:118:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:127:16: branch_true: following ‘true’ branch...
bluez-5.85/tools/l2ping.c:133:17: branch_true: ...to here
bluez-5.85/tools/l2ping.c:136:20: branch_true: following ‘true’ branch...
bluez-5.85/tools/l2ping.c:136:20: branch_true: ...to here
bluez-5.85/tools/l2ping.c:144:20: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:144:20: branch_false: ...to here
bluez-5.85/tools/l2ping.c:158:36: throw: if ‘poll’ throws an exception...
bluez-5.85/tools/l2ping.c:158:36: danger: ‘recv_buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def903]
bluez-5.85/tools/l2ping.c:158:36: warning[-Wanalyzer-malloc-leak]: leak of ‘send_buf’
bluez-5.85/tools/l2ping.c:75:20: acquire_memory: allocated here
bluez-5.85/tools/l2ping.c:77:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:83:14: branch_false: ...to here
bluez-5.85/tools/l2ping.c:84:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/l2ping.c:90:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:94:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:100:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:104:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:110:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:113:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:118:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:127:16: branch_true: following ‘true’ branch...
bluez-5.85/tools/l2ping.c:133:17: branch_true: ...to here
bluez-5.85/tools/l2ping.c:136:20: branch_true: following ‘true’ branch...
bluez-5.85/tools/l2ping.c:136:20: branch_true: ...to here
bluez-5.85/tools/l2ping.c:144:20: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:144:20: branch_false: ...to here
bluez-5.85/tools/l2ping.c:158:36: throw: if ‘poll’ throws an exception...
bluez-5.85/tools/l2ping.c:158:36: danger: ‘send_buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def904]
bluez-5.85/tools/l2ping.c:159:33: warning[-Wanalyzer-malloc-leak]: leak of ‘recv_buf’
bluez-5.85/tools/l2ping.c:76:20: acquire_memory: allocated here
bluez-5.85/tools/l2ping.c:77:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:83:14: branch_false: ...to here
bluez-5.85/tools/l2ping.c:84:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/l2ping.c:90:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:94:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:100:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:104:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:110:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:113:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:118:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:144:20: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:144:20: branch_false: ...to here
bluez-5.85/tools/l2ping.c:158:28: branch_true: following ‘true’ branch...
bluez-5.85/tools/l2ping.c:159:33: branch_true: ...to here
bluez-5.85/tools/l2ping.c:159:33: throw: if ‘perror’ throws an exception...
bluez-5.85/tools/l2ping.c:159:33: danger: ‘recv_buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def905]
bluez-5.85/tools/l2ping.c:159:33: warning[-Wanalyzer-malloc-leak]: leak of ‘send_buf’
bluez-5.85/tools/l2ping.c:75:20: acquire_memory: allocated here
bluez-5.85/tools/l2ping.c:77:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:83:14: branch_false: ...to here
bluez-5.85/tools/l2ping.c:84:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/l2ping.c:90:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:94:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:100:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:104:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:110:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:113:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:118:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:144:20: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:144:20: branch_false: ...to here
bluez-5.85/tools/l2ping.c:158:28: branch_true: following ‘true’ branch...
bluez-5.85/tools/l2ping.c:159:33: branch_true: ...to here
bluez-5.85/tools/l2ping.c:159:33: throw: if ‘perror’ throws an exception...
bluez-5.85/tools/l2ping.c:159:33: danger: ‘send_buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def906]
bluez-5.85/tools/l2ping.c:168:36: warning[-Wanalyzer-malloc-leak]: leak of ‘recv_buf’
bluez-5.85/tools/l2ping.c:76:20: acquire_memory: allocated here
bluez-5.85/tools/l2ping.c:77:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:83:14: branch_false: ...to here
bluez-5.85/tools/l2ping.c:84:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/l2ping.c:90:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:94:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:100:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:104:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:110:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:113:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:118:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:144:20: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:144:20: branch_false: ...to here
bluez-5.85/tools/l2ping.c:158:28: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:163:28: branch_false: ...to here
bluez-5.85/tools/l2ping.c:163:28: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:168:55: branch_false: ...to here
bluez-5.85/tools/l2ping.c:168:36: throw: if ‘recv’ throws an exception...
bluez-5.85/tools/l2ping.c:168:36: danger: ‘recv_buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def907]
bluez-5.85/tools/l2ping.c:168:36: warning[-Wanalyzer-malloc-leak]: leak of ‘send_buf’
bluez-5.85/tools/l2ping.c:75:20: acquire_memory: allocated here
bluez-5.85/tools/l2ping.c:77:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:83:14: branch_false: ...to here
bluez-5.85/tools/l2ping.c:84:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/l2ping.c:90:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:94:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:100:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:104:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:110:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:113:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:118:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:144:20: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:144:20: branch_false: ...to here
bluez-5.85/tools/l2ping.c:158:28: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:163:28: branch_false: ...to here
bluez-5.85/tools/l2ping.c:163:28: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:168:55: branch_false: ...to here
bluez-5.85/tools/l2ping.c:168:36: throw: if ‘recv’ throws an exception...
bluez-5.85/tools/l2ping.c:168:36: danger: ‘send_buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def908]
bluez-5.85/tools/l2ping.c:169:33: warning[-Wanalyzer-malloc-leak]: leak of ‘send_buf’
bluez-5.85/tools/l2ping.c:75:20: acquire_memory: allocated here
bluez-5.85/tools/l2ping.c:77:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:83:14: branch_false: ...to here
bluez-5.85/tools/l2ping.c:84:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/l2ping.c:90:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:94:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:100:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:104:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:110:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:113:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:118:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:144:20: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:144:20: branch_false: ...to here
bluez-5.85/tools/l2ping.c:158:28: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:163:28: branch_false: ...to here
bluez-5.85/tools/l2ping.c:163:28: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:168:55: branch_false: ...to here
bluez-5.85/tools/l2ping.c:169:33: throw: if ‘perror’ throws an exception...
bluez-5.85/tools/l2ping.c:169:33: danger: ‘send_buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def909]
bluez-5.85/tools/l2ping.c:222:33: warning[-Wanalyzer-malloc-leak]: leak of ‘send_buf’
bluez-5.85/tools/l2ping.c:60:13: enter_function: entry to ‘ping’
bluez-5.85/tools/l2ping.c:75:20: acquire_memory: allocated here
bluez-5.85/tools/l2ping.c:77:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:83:14: branch_false: ...to here
bluez-5.85/tools/l2ping.c:84:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/l2ping.c:90:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:94:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:100:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:104:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:110:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:113:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:118:9: branch_false: ...to here
bluez-5.85/tools/l2ping.c:144:20: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:144:20: branch_false: ...to here
bluez-5.85/tools/l2ping.c:158:28: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:163:28: branch_false: ...to here
bluez-5.85/tools/l2ping.c:163:28: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:168:55: branch_false: ...to here
bluez-5.85/tools/l2ping.c:168:28: branch_false: following ‘false’ branch (when ‘err >= 0’)...
bluez-5.85/tools/l2ping.c:173:28: branch_false: ...to here
bluez-5.85/tools/l2ping.c:173:28: branch_false: following ‘false’ branch (when ‘err != 0’)...
bluez-5.85/tools/l2ping.c:181:29: branch_false: ...to here
bluez-5.85/tools/l2ping.c:196:20: branch_true: following ‘true’ branch (when ‘lost == 0’)...
bluez-5.85/tools/l2ping.c:197:25: branch_true: ...to here
bluez-5.85/tools/l2ping.c:202:28: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:219:48: call_function: inlined call to ‘tv2fl’ from ‘ping’
bluez-5.85/tools/l2ping.c:221:28: branch_true: following ‘true’ branch...
bluez-5.85/tools/l2ping.c:222:33: branch_true: ...to here
bluez-5.85/tools/l2ping.c:222:33: throw: if ‘sleep’ throws an exception...
bluez-5.85/tools/l2ping.c:222:33: danger: ‘send_buf’ leaks here; was allocated at [(2)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def910]
bluez-5.85/tools/l2ping.c:236:9: warning[-Wanalyzer-malloc-leak]: leak of ‘recv_buf’
bluez-5.85/tools/l2ping.c:76:20: acquire_memory: allocated here
bluez-5.85/tools/l2ping.c:77:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:83:14: branch_false: ...to here
bluez-5.85/tools/l2ping.c:84:12: branch_true: following ‘true’ branch (when ‘sk < 0’)...
bluez-5.85/tools/l2ping.c:85:17: branch_true: ...to here
bluez-5.85/tools/l2ping.c:236:9: throw: if ‘close’ throws an exception...
bluez-5.85/tools/l2ping.c:236:9: danger: ‘recv_buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def911]
bluez-5.85/tools/l2ping.c:236:9: warning[-Wanalyzer-malloc-leak]: leak of ‘send_buf’
bluez-5.85/tools/l2ping.c:75:20: acquire_memory: allocated here
bluez-5.85/tools/l2ping.c:77:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/l2ping.c:83:14: branch_false: ...to here
bluez-5.85/tools/l2ping.c:84:12: branch_true: following ‘true’ branch (when ‘sk < 0’)...
bluez-5.85/tools/l2ping.c:85:17: branch_true: ...to here
bluez-5.85/tools/l2ping.c:236:9: throw: if ‘close’ throws an exception...
bluez-5.85/tools/l2ping.c:236:9: danger: ‘send_buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def912]
bluez-5.85/tools/mesh-gatt/crypto.c:84:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘aes_ecb_setup(key)’
bluez-5.85/tools/mesh-gatt/crypto.c:232:6: enter_function: entry to ‘mesh_crypto_aes_ccm_encrypt’
bluez-5.85/tools/mesh-gatt/crypto.c:250:14: call_function: calling ‘aes_ecb_setup’ from ‘mesh_crypto_aes_ccm_encrypt’
bluez-5.85/tools/mesh-gatt/crypto.c:250:14: return_function: returning to ‘mesh_crypto_aes_ccm_encrypt’ from ‘aes_ecb_setup’
bluez-5.85/tools/mesh-gatt/crypto.c:251:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/mesh-gatt/crypto.c:255:9: branch_false: ...to here
bluez-5.85/tools/mesh-gatt/crypto.c:259:18: call_function: inlined call to ‘aes_ecb’ from ‘mesh_crypto_aes_ccm_encrypt’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def913]
bluez-5.85/tools/mesh-gatt/crypto.c:110:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/tools/mesh-gatt/crypto.c:232:6: enter_function: entry to ‘mesh_crypto_aes_ccm_encrypt’
bluez-5.85/tools/mesh-gatt/crypto.c:250:14: call_function: calling ‘aes_ecb_setup’ from ‘mesh_crypto_aes_ccm_encrypt’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def914]
bluez-5.85/tools/mesh-gatt/crypto.c:116:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘alg_new(fd, key, 16, 0)’
bluez-5.85/tools/mesh-gatt/crypto.c:232:6: enter_function: entry to ‘mesh_crypto_aes_ccm_encrypt’
bluez-5.85/tools/mesh-gatt/crypto.c:250:14: call_function: calling ‘aes_ecb_setup’ from ‘mesh_crypto_aes_ccm_encrypt’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def915]
bluez-5.85/tools/mesh-gatt/crypto.c:116:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/tools/mesh-gatt/crypto.c:232:6: enter_function: entry to ‘mesh_crypto_aes_ccm_encrypt’
bluez-5.85/tools/mesh-gatt/crypto.c:250:14: call_function: calling ‘aes_ecb_setup’ from ‘mesh_crypto_aes_ccm_encrypt’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def916]
bluez-5.85/tools/mesh-gatt/crypto.c:166:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/tools/mesh-gatt/crypto.c:978:6: enter_function: entry to ‘mesh_crypto_virtual_addr’
bluez-5.85/tools/mesh-gatt/crypto.c:983:14: call_function: inlined call to ‘mesh_crypto_s1’ from ‘mesh_crypto_virtual_addr’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def917]
bluez-5.85/tools/mesh-gatt/crypto.c:172:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘alg_new(fd, key, 16, 0)’
bluez-5.85/tools/mesh-gatt/crypto.c:978:6: enter_function: entry to ‘mesh_crypto_virtual_addr’
bluez-5.85/tools/mesh-gatt/crypto.c:983:14: call_function: inlined call to ‘mesh_crypto_s1’ from ‘mesh_crypto_virtual_addr’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def918]
bluez-5.85/tools/mesh-gatt/crypto.c:172:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
bluez-5.85/tools/mesh-gatt/crypto.c:978:6: enter_function: entry to ‘mesh_crypto_virtual_addr’
bluez-5.85/tools/mesh-gatt/crypto.c:983:14: call_function: inlined call to ‘mesh_crypto_s1’ from ‘mesh_crypto_virtual_addr’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def919]
bluez-5.85/tools/mesh-gatt/crypto.c:185:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘aes_cmac_setup(key)’
bluez-5.85/tools/mesh-gatt/crypto.c:978:6: enter_function: entry to ‘mesh_crypto_virtual_addr’
bluez-5.85/tools/mesh-gatt/crypto.c:983:14: call_function: inlined call to ‘mesh_crypto_s1’ from ‘mesh_crypto_virtual_addr’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def920]
bluez-5.85/tools/mesh-gatt/crypto.c:198:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘aes_cmac_setup(key)’
bluez-5.85/tools/mesh-gatt/crypto.c:932:6: enter_function: entry to ‘mesh_crypto_s1’
bluez-5.85/tools/mesh-gatt/crypto.c:936:16: call_function: calling ‘aes_cmac_one’ from ‘mesh_crypto_s1’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def921]
bluez-5.85/tools/mesh-gatt/crypto.c:376:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&mic’
bluez-5.85/tools/mesh-gatt/crypto.c:994:6: enter_function: entry to ‘mesh_crypto_packet_encode’
bluez-5.85/tools/mesh-gatt/crypto.c:1005:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/mesh-gatt/crypto.c:1005:34: call_function: inlined call to ‘get_be16’ from ‘mesh_crypto_packet_encode’
bluez-5.85/tools/mesh-gatt/crypto.c:1005:13: branch_true: following ‘true’ branch...
bluez-5.85/tools/mesh-gatt/crypto.c:1006:17: branch_true: ...to here
bluez-5.85/tools/mesh-gatt/crypto.c:1028:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/mesh-gatt/crypto.c:1029:22: branch_true: ...to here
bluez-5.85/tools/mesh-gatt/crypto.c:1029:22: call_function: inlined call to ‘mesh_crypto_aes_ccm_encrypt’ from ‘mesh_crypto_packet_encode’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def922]
bluez-5.85/tools/mesh-gatt/crypto.c:1150:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/urandom", 0)’
bluez-5.85/tools/mesh-gatt/crypto.c:1144:14: acquire_resource: opened here
bluez-5.85/tools/mesh-gatt/crypto.c:1145:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/mesh-gatt/crypto.c:1148:15: branch_false: ...to here
bluez-5.85/tools/mesh-gatt/crypto.c:1150:9: danger: ‘open("/dev/urandom", 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def923]
bluez-5.85/tools/mesh-gatt/prov-db.c:56:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(filename, 0)’
bluez-5.85/tools/mesh-gatt/prov-db.c:1472:13: enter_function: entry to ‘read_json_db’
bluez-5.85/tools/mesh-gatt/prov-db.c:1489:15: call_function: calling ‘prov_file_read’ from ‘read_json_db’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def924]
bluez-5.85/tools/mesh-gatt/prov-db.c:97:19: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(out_filename, "wr")’
bluez-5.85/tools/mesh-gatt/prov-db.c:877:6: enter_function: entry to ‘prov_db_local_set_seq_num’
bluez-5.85/tools/mesh-gatt/prov-db.c:885:18: call_function: calling ‘prov_file_read’ from ‘prov_db_local_set_seq_num’
bluez-5.85/tools/mesh-gatt/prov-db.c:885:18: return_function: returning to ‘prov_db_local_set_seq_num’ from ‘prov_file_read’
bluez-5.85/tools/mesh-gatt/prov-db.c:886:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/mesh-gatt/prov-db.c:889:17: branch_false: ...to here
bluez-5.85/tools/mesh-gatt/prov-db.c:890:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/mesh-gatt/prov-db.c:893:9: branch_false: ...to here
bluez-5.85/tools/mesh-gatt/prov-db.c:899:9: call_function: calling ‘prov_file_write’ from ‘prov_db_local_set_seq_num’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def925]
bluez-5.85/tools/mesh-gatt/prov-db.c:97:19: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(out_filename, "wr")’
bluez-5.85/tools/mesh-gatt/prov-db.c:877:6: enter_function: entry to ‘prov_db_local_set_seq_num’
bluez-5.85/tools/mesh-gatt/prov-db.c:885:18: call_function: calling ‘prov_file_read’ from ‘prov_db_local_set_seq_num’
bluez-5.85/tools/mesh-gatt/prov-db.c:885:18: return_function: returning to ‘prov_db_local_set_seq_num’ from ‘prov_file_read’
bluez-5.85/tools/mesh-gatt/prov-db.c:886:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/mesh-gatt/prov-db.c:889:17: branch_false: ...to here
bluez-5.85/tools/mesh-gatt/prov-db.c:890:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/mesh-gatt/prov-db.c:893:9: branch_false: ...to here
bluez-5.85/tools/mesh-gatt/prov-db.c:899:9: call_function: calling ‘prov_file_write’ from ‘prov_db_local_set_seq_num’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def926]
bluez-5.85/tools/mesh/mesh-db.c:98:26: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(fname, "w")’
bluez-5.85/tools/mesh/mesh-db.c:2166:6: enter_function: entry to ‘mesh_db_set_iv_index’
bluez-5.85/tools/mesh/mesh-db.c:2168:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/mesh/mesh-db.c:2173:16: call_function: calling ‘save_config’ from ‘mesh_db_set_iv_index’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def927]
bluez-5.85/tools/mesh/mesh-db.c:98:26: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(fname, "w")’
bluez-5.85/tools/mesh/mesh-db.c:2166:6: enter_function: entry to ‘mesh_db_set_iv_index’
bluez-5.85/tools/mesh/mesh-db.c:2168:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/mesh/mesh-db.c:2173:16: call_function: calling ‘save_config’ from ‘mesh_db_set_iv_index’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def928]
bluez-5.85/tools/mesh/mesh-db.c:2574:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(fname, "w")’
bluez-5.85/tools/mesh/mesh-db.c:2557:12: branch_false: following ‘false’ branch (when ‘expt_cfg’ is non-NULL)...
bluez-5.85/tools/mesh/mesh-db.c:2560:12: branch_false: ...to here
bluez-5.85/tools/mesh/mesh-db.c:2560:12: branch_false: following ‘false’ branch (when ‘is_error == 0’)...
bluez-5.85/tools/mesh/mesh-db.c:2565:12: branch_false: ...to here
bluez-5.85/tools/mesh/mesh-db.c:2565:12: branch_false: following ‘false’ branch (when ‘fname’ is non-NULL)...
bluez-5.85/tools/mesh/mesh-db.c:2568:19: branch_false: ...to here
bluez-5.85/tools/mesh/mesh-db.c:2568:19: acquire_resource: opened here
bluez-5.85/tools/mesh/mesh-db.c:2569:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/mesh/mesh-db.c:2574:16: branch_false: ...to here
bluez-5.85/tools/mesh/mesh-db.c:2574:16: throw: if ‘json_object_new_object’ throws an exception...
bluez-5.85/tools/mesh/mesh-db.c:2574:16: danger: ‘fopen(fname, "w")’ leaks here; was opened at [(7)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def929]
bluez-5.85/tools/mesh/mesh-db.c:2574:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(fname, "w")’
bluez-5.85/tools/mesh/mesh-db.c:2557:12: branch_false: following ‘false’ branch (when ‘expt_cfg’ is non-NULL)...
bluez-5.85/tools/mesh/mesh-db.c:2560:12: branch_false: ...to here
bluez-5.85/tools/mesh/mesh-db.c:2560:12: branch_false: following ‘false’ branch (when ‘is_error == 0’)...
bluez-5.85/tools/mesh/mesh-db.c:2565:12: branch_false: ...to here
bluez-5.85/tools/mesh/mesh-db.c:2565:12: branch_false: following ‘false’ branch (when ‘fname’ is non-NULL)...
bluez-5.85/tools/mesh/mesh-db.c:2568:19: branch_false: ...to here
bluez-5.85/tools/mesh/mesh-db.c:2568:19: acquire_memory: allocated here
bluez-5.85/tools/mesh/mesh-db.c:2569:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/mesh/mesh-db.c:2574:16: branch_false: ...to here
bluez-5.85/tools/mesh/mesh-db.c:2574:16: throw: if ‘json_object_new_object’ throws an exception...
bluez-5.85/tools/mesh/mesh-db.c:2574:16: danger: ‘fopen(fname, "w")’ leaks here; was allocated at [(7)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def930]
bluez-5.85/tools/mesh/mesh-db.c:2575:14: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(fname, "w")’
bluez-5.85/tools/mesh/mesh-db.c:2547:6: enter_function: entry to ‘mesh_db_finish_export’
bluez-5.85/tools/mesh/mesh-db.c:2557:12: branch_false: following ‘false’ branch (when ‘expt_cfg’ is non-NULL)...
bluez-5.85/tools/mesh/mesh-db.c:2560:12: branch_false: ...to here
bluez-5.85/tools/mesh/mesh-db.c:2560:12: branch_false: following ‘false’ branch (when ‘is_error == 0’)...
bluez-5.85/tools/mesh/mesh-db.c:2565:12: branch_false: ...to here
bluez-5.85/tools/mesh/mesh-db.c:2565:12: branch_false: following ‘false’ branch (when ‘fname’ is non-NULL)...
bluez-5.85/tools/mesh/mesh-db.c:2568:19: branch_false: ...to here
bluez-5.85/tools/mesh/mesh-db.c:2568:19: acquire_resource: opened here
bluez-5.85/tools/mesh/mesh-db.c:2569:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/mesh/mesh-db.c:2574:16: branch_false: ...to here
bluez-5.85/tools/mesh/mesh-db.c:2575:14: call_function: calling ‘add_string’ from ‘mesh_db_finish_export’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def931]
bluez-5.85/tools/mesh/mesh-db.c:2575:14: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(fname, "w")’
bluez-5.85/tools/mesh/mesh-db.c:2547:6: enter_function: entry to ‘mesh_db_finish_export’
bluez-5.85/tools/mesh/mesh-db.c:2557:12: branch_false: following ‘false’ branch (when ‘expt_cfg’ is non-NULL)...
bluez-5.85/tools/mesh/mesh-db.c:2560:12: branch_false: ...to here
bluez-5.85/tools/mesh/mesh-db.c:2560:12: branch_false: following ‘false’ branch (when ‘is_error == 0’)...
bluez-5.85/tools/mesh/mesh-db.c:2565:12: branch_false: ...to here
bluez-5.85/tools/mesh/mesh-db.c:2565:12: branch_false: following ‘false’ branch (when ‘fname’ is non-NULL)...
bluez-5.85/tools/mesh/mesh-db.c:2568:19: branch_false: ...to here
bluez-5.85/tools/mesh/mesh-db.c:2568:19: acquire_memory: allocated here
bluez-5.85/tools/mesh/mesh-db.c:2569:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/mesh/mesh-db.c:2574:16: branch_false: ...to here
bluez-5.85/tools/mesh/mesh-db.c:2575:14: call_function: calling ‘add_string’ from ‘mesh_db_finish_export’
Error: COMPILER_WARNING (CWE-704): [#def932]
bluez-5.85/tools/mesh/mesh-db.c: scope_hint: In function ‘mesh_db_finish_export’
bluez-5.85/tools/mesh/mesh-db.c:2598:13: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def933]
bluez-5.85/tools/mesh/mesh-db.c:2598:13: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def934]
bluez-5.85/tools/mesh/mesh-db.c:2604:13: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def935]
bluez-5.85/tools/mesh/mesh-db.c:2604:13: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def936]
bluez-5.85/tools/mesh/mesh-db.c:2613:13: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def937]
bluez-5.85/tools/mesh/mesh-db.c:2613:13: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: CPPCHECK_WARNING (CWE-457): [#def938]
bluez-5.85/tools/meshctl.c:762: warning[uninitvar]: Uninitialized variable: addr
Error: GCC_ANALYZER_WARNING (CWE-476): [#def939]
bluez-5.85/tools/mpris-proxy.c:1915:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘name’
bluez-5.85/tools/mpris-proxy.c:2078:13: enter_function: entry to ‘register_player’
bluez-5.85/tools/mpris-proxy.c:2086:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/mpris-proxy.c:2089:9: branch_false: ...to here
bluez-5.85/tools/mpris-proxy.c:2092:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/mpris-proxy.c:2095:14: branch_false: ...to here
bluez-5.85/tools/mpris-proxy.c:2095:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/mpris-proxy.c:2098:9: branch_false: ...to here
bluez-5.85/tools/mpris-proxy.c:2100:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/mpris-proxy.c:2103:9: branch_false: ...to here
bluez-5.85/tools/mpris-proxy.c:2105:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/mpris-proxy.c:2109:27: branch_false: ...to here
bluez-5.85/tools/mpris-proxy.c:2112:28: call_function: calling ‘mpris_busname’ from ‘register_player’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def940]
bluez-5.85/tools/obex-client-tool.c:312:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/obex-client-tool.c:304:14: acquire_resource: socket created here
bluez-5.85/tools/obex-client-tool.c:305:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/obex-client-tool.c:312:13: branch_false: ...to here
bluez-5.85/tools/obex-client-tool.c:312:13: throw: if ‘connect’ throws an exception...
bluez-5.85/tools/obex-client-tool.c:312:13: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def941]
bluez-5.85/tools/obex-server-tool.c:133:20: warning[-Wanalyzer-null-argument]: use of NULL ‘name’ where non-null expected
bluez-5.85/tools/obex-server-tool.c:120:17: release_memory: ‘type’ is NULL
bluez-5.85/tools/obex-server-tool.c:123:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/obex-server-tool.c:126:17: branch_false: ...to here
bluez-5.85/tools/obex-server-tool.c:126:17: release_memory: ‘name’ is NULL
bluez-5.85/tools/obex-server-tool.c:129:62: release_memory: ‘name’ is NULL
bluez-5.85/tools/obex-server-tool.c:128:9: branch_false: following ‘false’ branch...
bluez-5.85/tools/obex-server-tool.c:128:55: branch_false: ...to here
bluez-5.85/tools/obex-server-tool.c:133:20: release_memory: ‘name’ is NULL
bluez-5.85/tools/obex-server-tool.c:133:20: danger: argument 1 (‘name’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def942]
bluez-5.85/tools/obex-server-tool.c:192:20: warning[-Wanalyzer-null-argument]: use of NULL ‘name’ where non-null expected
bluez-5.85/tools/obex-server-tool.c:179:17: release_memory: ‘type’ is NULL
bluez-5.85/tools/obex-server-tool.c:182:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/obex-server-tool.c:185:17: branch_false: ...to here
bluez-5.85/tools/obex-server-tool.c:185:17: release_memory: ‘name’ is NULL
bluez-5.85/tools/obex-server-tool.c:188:62: release_memory: ‘name’ is NULL
bluez-5.85/tools/obex-server-tool.c:187:9: branch_false: following ‘false’ branch...
bluez-5.85/tools/obex-server-tool.c:187:55: branch_false: ...to here
bluez-5.85/tools/obex-server-tool.c:192:20: release_memory: ‘name’ is NULL
bluez-5.85/tools/obex-server-tool.c:192:20: danger: argument 1 (‘name’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-775): [#def943]
bluez-5.85/tools/obex-server-tool.c:383:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/obex-server-tool.c:367:14: acquire_resource: socket created here
bluez-5.85/tools/obex-server-tool.c:368:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/obex-server-tool.c:375:13: branch_false: ...to here
bluez-5.85/tools/obex-server-tool.c:375:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/obex-server-tool.c:382:13: branch_false: ...to here
bluez-5.85/tools/obex-server-tool.c:382:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/obex-server-tool.c:384:66: branch_true: ...to here
bluez-5.85/tools/obex-server-tool.c:383:17: throw: if ‘g_printerr’ throws an exception...
bluez-5.85/tools/obex-server-tool.c:383:17: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def944]
bluez-5.85/tools/obex-server-tool.c:385:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/obex-server-tool.c:367:14: acquire_resource: socket created here
bluez-5.85/tools/obex-server-tool.c:368:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/obex-server-tool.c:375:13: branch_false: ...to here
bluez-5.85/tools/obex-server-tool.c:375:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/obex-server-tool.c:382:13: branch_false: ...to here
bluez-5.85/tools/obex-server-tool.c:382:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/obex-server-tool.c:384:66: branch_true: ...to here
bluez-5.85/tools/obex-server-tool.c:385:17: throw: if ‘close’ throws an exception...
bluez-5.85/tools/obex-server-tool.c:385:17: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def945]
bluez-5.85/tools/obex-server-tool.c:389:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/obex-server-tool.c:367:14: acquire_resource: socket created here
bluez-5.85/tools/obex-server-tool.c:368:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/obex-server-tool.c:375:13: branch_false: ...to here
bluez-5.85/tools/obex-server-tool.c:375:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/obex-server-tool.c:382:13: branch_false: ...to here
bluez-5.85/tools/obex-server-tool.c:382:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/obex-server-tool.c:389:9: branch_false: ...to here
bluez-5.85/tools/obex-server-tool.c:389:9: throw: if ‘g_print’ throws an exception...
bluez-5.85/tools/obex-server-tool.c:389:9: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def946]
bluez-5.85/tools/parser/parser.h:132:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘f’
bluez-5.85/tools/parser/l2cap.c:1199:6: enter_function: entry to ‘l2cap_dump’
bluez-5.85/tools/parser/l2cap.c:1209:20: branch_false: following ‘false’ branch...
bluez-5.85/tools/parser/l2cap.c:1215:20: branch_false: ...to here
bluez-5.85/tools/parser/l2cap.c:1215:20: branch_true: following ‘true’ branch...
bluez-5.85/tools/parser/l2cap.c:1217:25: branch_true: ...to here
bluez-5.85/tools/parser/l2cap.c:1217:25: call_function: calling ‘l2cap_parse’ from ‘l2cap_dump’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def947]
bluez-5.85/tools/parser/ppp.c:116:9: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
bluez-5.85/tools/parser/ppp.c:154:6: enter_function: entry to ‘ppp_dump’
bluez-5.85/tools/parser/ppp.c:201:16: branch_true: following ‘true’ branch...
bluez-5.85/tools/parser/ppp.c:202:23: branch_true: ...to here
bluez-5.85/tools/parser/ppp.c:203:20: branch_false: following ‘false’ branch (when ‘ptr’ is non-NULL)...
bluez-5.85/tools/parser/ppp.c:206:20: branch_false: ...to here
bluez-5.85/tools/parser/ppp.c:212:20: branch_false: following ‘false’ branch (when ‘end’ is non-NULL)...
bluez-5.85/tools/parser/ppp.c:215:23: branch_false: ...to here
bluez-5.85/tools/parser/ppp.c:221:25: call_function: calling ‘unslip_frame’ from ‘ppp_dump’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def948]
bluez-5.85/tools/rctest.c:325:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/rctest.c:700:5: enter_function: entry to ‘main’
bluez-5.85/tools/rctest.c:861:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rctest.c:866:9: branch_false: ...to here
bluez-5.85/tools/rctest.c:878:25: call_function: calling ‘do_listen’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def949]
bluez-5.85/tools/rfcomm-tester.c:387:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/rfcomm-tester.c:379:14: acquire_resource: stream socket created here
bluez-5.85/tools/rfcomm-tester.c:380:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/rfcomm-tester.c:387:9: branch_false: ...to here
bluez-5.85/tools/rfcomm-tester.c:387:9: throw: if ‘close’ throws an exception...
bluez-5.85/tools/rfcomm-tester.c:387:9: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING: [#def950]
bluez-5.85/tools/rfcomm-tester.c:404:13: warning[-Wanalyzer-fd-use-without-check]: ‘bind’ on possibly invalid file descriptor ‘sk’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def951]
bluez-5.85/tools/rfcomm-tester.c:405:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/rfcomm-tester.c:397:14: acquire_resource: socket created here
bluez-5.85/tools/rfcomm-tester.c:404:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/rfcomm-tester.c:405:17: branch_true: ...to here
bluez-5.85/tools/rfcomm-tester.c:405:17: throw: if ‘close’ throws an exception...
bluez-5.85/tools/rfcomm-tester.c:405:17: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-666): [#def952]
bluez-5.85/tools/rfcomm-tester.c:422:15: warning[-Wanalyzer-fd-phase-mismatch]: ‘connect’ on file descriptor ‘sk’ in wrong phase
bluez-5.85/tools/rfcomm-tester.c:628:13: enter_function: entry to ‘test_connect’
bluez-5.85/tools/rfcomm-tester.c:644:14: call_function: calling ‘create_rfcomm_sock’ from ‘test_connect’
bluez-5.85/tools/rfcomm-tester.c:644:14: return_function: returning to ‘test_connect’ from ‘create_rfcomm_sock’
bluez-5.85/tools/rfcomm-tester.c:646:13: call_function: calling ‘connect_rfcomm_sock’ from ‘test_connect’
Error: GCC_ANALYZER_WARNING: [#def953]
bluez-5.85/tools/rfcomm-tester.c:422:15: warning[-Wanalyzer-fd-use-without-check]: ‘connect’ on possibly invalid file descriptor ‘sk’
bluez-5.85/tools/rfcomm-tester.c:628:13: enter_function: entry to ‘test_connect’
bluez-5.85/tools/rfcomm-tester.c:644:14: call_function: calling ‘create_rfcomm_sock’ from ‘test_connect’
bluez-5.85/tools/rfcomm-tester.c:644:14: return_function: returning to ‘test_connect’ from ‘create_rfcomm_sock’
bluez-5.85/tools/rfcomm-tester.c:646:13: call_function: calling ‘connect_rfcomm_sock’ from ‘test_connect’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def954]
bluez-5.85/tools/rfcomm-tester.c:647:41: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘create_rfcomm_sock(hciemu_get_central_bdaddr(*<unknown>.hciemu), 0)’
bluez-5.85/tools/rfcomm-tester.c:628:13: enter_function: entry to ‘test_connect’
bluez-5.85/tools/rfcomm-tester.c:644:14: call_function: calling ‘create_rfcomm_sock’ from ‘test_connect’
bluez-5.85/tools/rfcomm-tester.c:644:14: return_function: returning to ‘test_connect’ from ‘create_rfcomm_sock’
bluez-5.85/tools/rfcomm-tester.c:646:13: call_function: calling ‘connect_rfcomm_sock’ from ‘test_connect’
bluez-5.85/tools/rfcomm-tester.c:646:13: return_function: returning to ‘test_connect’ from ‘connect_rfcomm_sock’
bluez-5.85/tools/rfcomm-tester.c:646:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/rfcomm-tester.c:648:17: branch_true: ...to here
bluez-5.85/tools/rfcomm-tester.c:647:41: danger: ‘create_rfcomm_sock(hciemu_get_central_bdaddr(*<unknown>.hciemu), 0)’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def955]
bluez-5.85/tools/rfcomm-tester.c:706:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘g_io_channel_unix_get_fd(io)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def956]
bluez-5.85/tools/rfcomm-tester.c:715:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘accept(g_io_channel_unix_get_fd(io), 0, 0)’
bluez-5.85/tools/rfcomm-tester.c:707:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm-tester.c:712:13: branch_false: ...to here
bluez-5.85/tools/rfcomm-tester.c:712:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/rfcomm-tester.c:715:53: branch_true: ...to here
bluez-5.85/tools/rfcomm-tester.c:715:23: throw: if ‘write’ throws an exception...
bluez-5.85/tools/rfcomm-tester.c:715:23: danger: ‘accept(g_io_channel_unix_get_fd(io), 0, 0)’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def957]
bluez-5.85/tools/rfcomm-tester.c:717:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘accept(g_io_channel_unix_get_fd(io), 0, 0)’
bluez-5.85/tools/rfcomm-tester.c:707:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm-tester.c:712:13: branch_false: ...to here
bluez-5.85/tools/rfcomm-tester.c:712:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/rfcomm-tester.c:715:53: branch_true: ...to here
bluez-5.85/tools/rfcomm-tester.c:716:20: branch_true: following ‘true’ branch...
bluez-5.85/tools/rfcomm-tester.c:717:25: branch_true: ...to here
bluez-5.85/tools/rfcomm-tester.c:717:25: throw: if ‘tester_test_failed’ throws an exception...
bluez-5.85/tools/rfcomm-tester.c:717:25: danger: ‘accept(g_io_channel_unix_get_fd(io), 0, 0)’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def958]
bluez-5.85/tools/rfcomm-tester.c:719:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘accept(g_io_channel_unix_get_fd(io), 0, 0)’
bluez-5.85/tools/rfcomm-tester.c:707:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm-tester.c:712:13: branch_false: ...to here
bluez-5.85/tools/rfcomm-tester.c:712:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/rfcomm-tester.c:715:53: branch_true: ...to here
bluez-5.85/tools/rfcomm-tester.c:719:17: danger: ‘accept(g_io_channel_unix_get_fd(io), 0, 0)’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def959]
bluez-5.85/tools/rfcomm-tester.c:724:26: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘accept(g_io_channel_unix_get_fd(io), 0, 0)’
bluez-5.85/tools/rfcomm-tester.c:707:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm-tester.c:712:13: branch_false: ...to here
bluez-5.85/tools/rfcomm-tester.c:712:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm-tester.c:721:20: branch_false: ...to here
bluez-5.85/tools/rfcomm-tester.c:721:19: branch_true: following ‘true’ branch...
bluez-5.85/tools/rfcomm-tester.c:724:26: branch_true: ...to here
bluez-5.85/tools/rfcomm-tester.c:724:26: danger: ‘accept(g_io_channel_unix_get_fd(io), 0, 0)’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def960]
bluez-5.85/tools/rfcomm-tester.c:734:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘accept(g_io_channel_unix_get_fd(io), 0, 0)’
bluez-5.85/tools/rfcomm-tester.c:707:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm-tester.c:712:13: branch_false: ...to here
bluez-5.85/tools/rfcomm-tester.c:712:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm-tester.c:721:20: branch_false: ...to here
bluez-5.85/tools/rfcomm-tester.c:721:19: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm-tester.c:734:9: branch_false: ...to here
bluez-5.85/tools/rfcomm-tester.c:734:9: danger: ‘accept(g_io_channel_unix_get_fd(io), 0, 0)’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def961]
bluez-5.85/tools/rfcomm-tester.c:795:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘create_rfcomm_sock(hciemu_get_central_bdaddr(*<unknown>.hciemu), *srv.server_channel)’
bluez-5.85/tools/rfcomm-tester.c:777:13: enter_function: entry to ‘test_server’
bluez-5.85/tools/rfcomm-tester.c:788:14: call_function: calling ‘create_rfcomm_sock’ from ‘test_server’
bluez-5.85/tools/rfcomm-tester.c:788:14: return_function: returning to ‘test_server’ from ‘create_rfcomm_sock’
bluez-5.85/tools/rfcomm-tester.c:789:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm-tester.c:794:13: branch_false: ...to here
bluez-5.85/tools/rfcomm-tester.c:794:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/rfcomm-tester.c:796:50: branch_true: ...to here
bluez-5.85/tools/rfcomm-tester.c:795:17: throw: if ‘tester_warn’ throws an exception...
bluez-5.85/tools/rfcomm-tester.c:795:17: danger: ‘create_rfcomm_sock(hciemu_get_central_bdaddr(*<unknown>.hciemu), *srv.server_channel)’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def962]
bluez-5.85/tools/rfcomm-tester.c:802:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘create_rfcomm_sock(hciemu_get_central_bdaddr(*<unknown>.hciemu), *srv.server_channel)’
bluez-5.85/tools/rfcomm-tester.c:777:13: enter_function: entry to ‘test_server’
bluez-5.85/tools/rfcomm-tester.c:788:14: call_function: calling ‘create_rfcomm_sock’ from ‘test_server’
bluez-5.85/tools/rfcomm-tester.c:788:14: return_function: returning to ‘test_server’ from ‘create_rfcomm_sock’
bluez-5.85/tools/rfcomm-tester.c:789:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm-tester.c:794:13: branch_false: ...to here
bluez-5.85/tools/rfcomm-tester.c:794:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm-tester.c:802:14: branch_false: ...to here
bluez-5.85/tools/rfcomm-tester.c:802:14: danger: ‘create_rfcomm_sock(hciemu_get_central_bdaddr(*<unknown>.hciemu), *srv.server_channel)’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def963]
bluez-5.85/tools/rfcomm.c:113:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ctl’
bluez-5.85/tools/rfcomm.c:687:5: enter_function: entry to ‘main’
bluez-5.85/tools/rfcomm.c:747:20: branch_false: following ‘false’ branch (when ‘argc == 0’)...
bluez-5.85/tools/rfcomm.c:754:15: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:754:15: acquire_resource: socket created here
bluez-5.85/tools/rfcomm.c:755:12: branch_false: following ‘false’ branch (when ‘ctl >= 0’)...
bluez-5.85/tools/rfcomm.c:760:12: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:760:12: branch_true: following ‘true’ branch (when ‘show_all != 0’)...
bluez-5.85/tools/rfcomm.c:761:17: branch_true: ...to here
bluez-5.85/tools/rfcomm.c:761:17: call_function: calling ‘print_dev_list’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def964]
bluez-5.85/tools/rfcomm.c:234:21: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
bluez-5.85/tools/rfcomm.c:421:13: enter_function: entry to ‘cmd_listen’
bluez-5.85/tools/rfcomm.c:438:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/rfcomm.c:443:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:459:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:465:58: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:473:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:480:13: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:500:12: branch_false: following ‘false’ branch (when ‘dev >= 0’)...
bluez-5.85/tools/rfcomm.c:507:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:526:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:533:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:563:12: branch_false: following ‘false’ branch (when ‘argc > 2’)...
bluez-5.85/tools/rfcomm.c:570:17: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:570:17: call_function: calling ‘run_cmdline’ from ‘cmd_listen’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def965]
bluez-5.85/tools/rfcomm.c:248:33: warning[-Wanalyzer-malloc-leak]: leak of ‘cmdargv’
bluez-5.85/tools/rfcomm.c:217:19: acquire_memory: allocated here
bluez-5.85/tools/rfcomm.c:218:12: branch_false: following ‘false’ branch (when ‘cmdargv’ is non-NULL)...
bluez-5.85/tools/rfcomm.c:218:12: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:248:33: throw: if ‘waitpid’ throws an exception...
bluez-5.85/tools/rfcomm.c:248:33: danger: ‘cmdargv’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def966]
bluez-5.85/tools/rfcomm.c:255:29: warning[-Wanalyzer-malloc-leak]: leak of ‘cmdargv’
bluez-5.85/tools/rfcomm.c:217:19: acquire_memory: allocated here
bluez-5.85/tools/rfcomm.c:218:12: branch_false: following ‘false’ branch (when ‘cmdargv’ is non-NULL)...
bluez-5.85/tools/rfcomm.c:218:12: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:249:28: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:249:29: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:255:29: throw: if ‘ppoll’ throws an exception...
bluez-5.85/tools/rfcomm.c:255:29: danger: ‘cmdargv’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def967]
bluez-5.85/tools/rfcomm.c:257:33: warning[-Wanalyzer-malloc-leak]: leak of ‘cmdargv’
bluez-5.85/tools/rfcomm.c:217:19: acquire_memory: allocated here
bluez-5.85/tools/rfcomm.c:218:12: branch_false: following ‘false’ branch (when ‘cmdargv’ is non-NULL)...
bluez-5.85/tools/rfcomm.c:218:12: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:249:28: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:249:29: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:257:33: throw: if ‘waitpid’ throws an exception...
bluez-5.85/tools/rfcomm.c:257:33: danger: ‘cmdargv’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def968]
bluez-5.85/tools/rfcomm.c:354:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&devname, 256)’
bluez-5.85/tools/rfcomm.c:283:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
bluez-5.85/tools/rfcomm.c:288:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:297:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/rfcomm.c:302:13: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:312:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:318:13: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:318:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:324:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:325:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:331:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:340:12: branch_false: following ‘false’ branch (when ‘dev >= 0’)...
bluez-5.85/tools/rfcomm.c:346:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:347:16: branch_true: following ‘true’ branch...
bluez-5.85/tools/rfcomm.c:348:21: branch_true: ...to here
bluez-5.85/tools/rfcomm.c:348:20: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:353:17: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:354:27: acquire_resource: opened here
bluez-5.85/tools/rfcomm.c:354:20: danger: ‘open(&devname, 256)’ leaks here; was opened at [(18)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def969]
bluez-5.85/tools/rfcomm.c:365:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&devname, 256)’
bluez-5.85/tools/rfcomm.c:283:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
bluez-5.85/tools/rfcomm.c:288:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:297:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/rfcomm.c:302:13: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:312:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:318:13: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:318:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:324:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:325:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:331:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:340:12: branch_false: following ‘false’ branch (when ‘dev >= 0’)...
bluez-5.85/tools/rfcomm.c:346:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:347:22: acquire_resource: opened here
bluez-5.85/tools/rfcomm.c:365:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:372:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:372:9: throw: if ‘close’ throws an exception...
bluez-5.85/tools/rfcomm.c:365:13: danger: ‘open(&devname, 256)’ leaks here; was opened at [(14)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def970]
bluez-5.85/tools/rfcomm.c:403:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p.fd’
bluez-5.85/tools/rfcomm.c:283:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
bluez-5.85/tools/rfcomm.c:288:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:297:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/rfcomm.c:302:13: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:312:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:318:13: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:318:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:324:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:325:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:331:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:340:12: branch_false: following ‘false’ branch (when ‘dev >= 0’)...
bluez-5.85/tools/rfcomm.c:346:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:347:22: acquire_resource: opened here
bluez-5.85/tools/rfcomm.c:365:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:372:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:401:16: branch_true: following ‘true’ branch...
bluez-5.85/tools/rfcomm.c:402:17: branch_true: ...to here
bluez-5.85/tools/rfcomm.c:403:21: throw: if ‘ppoll’ throws an exception...
bluez-5.85/tools/rfcomm.c:403:21: danger: ‘p.fd’ leaks here; was opened at [(14)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def971]
bluez-5.85/tools/rfcomm.c:409:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p.fd’
bluez-5.85/tools/rfcomm.c:283:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
bluez-5.85/tools/rfcomm.c:288:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:297:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/rfcomm.c:302:13: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:312:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:318:13: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:318:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:324:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:325:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:331:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:340:12: branch_false: following ‘false’ branch (when ‘dev >= 0’)...
bluez-5.85/tools/rfcomm.c:346:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:347:22: acquire_resource: opened here
bluez-5.85/tools/rfcomm.c:365:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:372:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:401:16: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:407:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:409:9: throw: if ‘close’ throws an exception...
bluez-5.85/tools/rfcomm.c:409:9: danger: ‘p.fd’ leaks here; was opened at [(14)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def972]
bluez-5.85/tools/rfcomm.c:470:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/rfcomm.c:437:14: acquire_resource: stream socket created here
bluez-5.85/tools/rfcomm.c:438:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/rfcomm.c:443:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:459:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:465:58: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:470:15: throw: if ‘accept’ throws an exception...
bluez-5.85/tools/rfcomm.c:470:15: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def973]
bluez-5.85/tools/rfcomm.c:515:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&devname, 256)’
bluez-5.85/tools/rfcomm.c:438:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/rfcomm.c:443:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:459:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:465:58: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:473:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:480:13: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:500:12: branch_false: following ‘false’ branch (when ‘dev >= 0’)...
bluez-5.85/tools/rfcomm.c:507:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:508:16: branch_true: following ‘true’ branch...
bluez-5.85/tools/rfcomm.c:509:21: branch_true: ...to here
bluez-5.85/tools/rfcomm.c:509:20: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:514:17: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:515:27: acquire_resource: opened here
bluez-5.85/tools/rfcomm.c:515:20: danger: ‘open(&devname, 256)’ leaks here; was opened at [(15)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def974]
bluez-5.85/tools/rfcomm.c:526:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&devname, 256)’
bluez-5.85/tools/rfcomm.c:438:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/rfcomm.c:443:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:459:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:465:58: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:473:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:480:13: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:500:12: branch_false: following ‘false’ branch (when ‘dev >= 0’)...
bluez-5.85/tools/rfcomm.c:507:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:508:22: acquire_resource: opened here
bluez-5.85/tools/rfcomm.c:526:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:533:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:533:9: throw: if ‘close’ throws an exception...
bluez-5.85/tools/rfcomm.c:526:13: danger: ‘open(&devname, 256)’ leaks here; was opened at [(11)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def975]
bluez-5.85/tools/rfcomm.c:566:29: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p.fd’
bluez-5.85/tools/rfcomm.c:438:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/rfcomm.c:443:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:459:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:465:58: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:473:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:480:13: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:500:12: branch_false: following ‘false’ branch (when ‘dev >= 0’)...
bluez-5.85/tools/rfcomm.c:507:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:508:22: acquire_resource: opened here
bluez-5.85/tools/rfcomm.c:526:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:533:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:563:12: branch_true: following ‘true’ branch (when ‘argc <= 2’)...
bluez-5.85/tools/rfcomm.c:563:12: branch_true: ...to here
bluez-5.85/tools/rfcomm.c:564:24: branch_true: following ‘true’ branch...
bluez-5.85/tools/rfcomm.c:565:25: branch_true: ...to here
bluez-5.85/tools/rfcomm.c:566:29: throw: if ‘ppoll’ throws an exception...
bluez-5.85/tools/rfcomm.c:566:29: danger: ‘p.fd’ leaks here; was opened at [(11)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def976]
bluez-5.85/tools/rfcomm.c:578:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p.fd’
bluez-5.85/tools/rfcomm.c:438:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/rfcomm.c:443:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:459:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:465:58: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:473:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:480:13: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:500:12: branch_false: following ‘false’ branch (when ‘dev >= 0’)...
bluez-5.85/tools/rfcomm.c:507:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:508:22: acquire_resource: opened here
bluez-5.85/tools/rfcomm.c:526:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:533:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:563:12: branch_true: following ‘true’ branch (when ‘argc <= 2’)...
bluez-5.85/tools/rfcomm.c:563:12: branch_true: ...to here
bluez-5.85/tools/rfcomm.c:564:24: branch_false: following ‘false’ branch...
bluez-5.85/tools/rfcomm.c:572:9: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:578:9: throw: if ‘close’ throws an exception...
bluez-5.85/tools/rfcomm.c:578:9: danger: ‘p.fd’ leaks here; was opened at [(11)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def977]
bluez-5.85/tools/rfcomm.c:778:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ctl’
bluez-5.85/tools/rfcomm.c:754:15: acquire_resource: socket created here
bluez-5.85/tools/rfcomm.c:755:12: branch_false: following ‘false’ branch (when ‘ctl >= 0’)...
bluez-5.85/tools/rfcomm.c:760:12: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:760:12: branch_false: following ‘false’ branch (when ‘show_all == 0’)...
bluez-5.85/tools/rfcomm.c:766:13: branch_false: ...to here
bluez-5.85/tools/rfcomm.c:773:21: branch_true: following ‘true’ branch...
bluez-5.85/tools/rfcomm.c:774:21: branch_true: ...to here
bluez-5.85/tools/rfcomm.c:778:17: throw: if the called function throws an exception...
bluez-5.85/tools/rfcomm.c:778:17: danger: ‘ctl’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def978]
bluez-5.85/tools/sco-tester.c:481:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/sco-tester.c:473:14: acquire_resource: socket created here
bluez-5.85/tools/sco-tester.c:474:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/sco-tester.c:481:9: branch_false: ...to here
bluez-5.85/tools/sco-tester.c:481:9: throw: if ‘close’ throws an exception...
bluez-5.85/tools/sco-tester.c:481:9: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def979]
bluez-5.85/tools/sco-tester.c:700:26: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘create_sco_sock(tester_get_data())’
bluez-5.85/tools/sco-tester.c:923:13: enter_function: entry to ‘test_connect’
bluez-5.85/tools/sco-tester.c:929:14: call_function: calling ‘create_sco_sock’ from ‘test_connect’
bluez-5.85/tools/sco-tester.c:929:14: return_function: returning to ‘test_connect’ from ‘create_sco_sock’
bluez-5.85/tools/sco-tester.c:930:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/sco-tester.c:935:13: branch_false: ...to here
bluez-5.85/tools/sco-tester.c:935:13: call_function: calling ‘connect_sco_sock’ from ‘test_connect’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def980]
bluez-5.85/tools/sco-tester.c:700:26: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/sco-tester.c:691:14: acquire_resource: socket created here
bluez-5.85/tools/sco-tester.c:693:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/sco-tester.c:700:26: branch_false: ...to here
bluez-5.85/tools/sco-tester.c:700:26: throw: if ‘hciemu_get_central_bdaddr’ throws an exception...
bluez-5.85/tools/sco-tester.c:700:26: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def981]
bluez-5.85/tools/sco-tester.c:702:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/sco-tester.c:691:14: acquire_resource: socket created here
bluez-5.85/tools/sco-tester.c:693:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/sco-tester.c:700:26: branch_false: ...to here
bluez-5.85/tools/sco-tester.c:701:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/sco-tester.c:702:17: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:702:17: throw: if ‘tester_warn’ throws an exception...
bluez-5.85/tools/sco-tester.c:702:17: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def982]
bluez-5.85/tools/sco-tester.c:712:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/sco-tester.c:691:14: acquire_resource: socket created here
bluez-5.85/tools/sco-tester.c:693:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/sco-tester.c:700:26: branch_false: ...to here
bluez-5.85/tools/sco-tester.c:701:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/sco-tester.c:706:9: branch_false: ...to here
bluez-5.85/tools/sco-tester.c:710:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/sco-tester.c:711:24: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:712:17: throw: if ‘tester_warn’ throws an exception...
bluez-5.85/tools/sco-tester.c:712:17: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def983]
bluez-5.85/tools/sco-tester.c:714:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/sco-tester.c:691:14: acquire_resource: socket created here
bluez-5.85/tools/sco-tester.c:693:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/sco-tester.c:700:26: branch_false: ...to here
bluez-5.85/tools/sco-tester.c:701:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/sco-tester.c:706:9: branch_false: ...to here
bluez-5.85/tools/sco-tester.c:710:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/sco-tester.c:711:24: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:714:17: throw: if ‘close’ throws an exception...
bluez-5.85/tools/sco-tester.c:714:17: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def984]
bluez-5.85/tools/sco-tester.c:719:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/sco-tester.c:691:14: acquire_resource: socket created here
bluez-5.85/tools/sco-tester.c:693:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/sco-tester.c:700:26: branch_false: ...to here
bluez-5.85/tools/sco-tester.c:701:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/sco-tester.c:702:17: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:719:1: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-666): [#def985]
bluez-5.85/tools/sco-tester.c:737:15: warning[-Wanalyzer-fd-phase-mismatch]: ‘connect’ on file descriptor ‘sk’ in wrong phase
bluez-5.85/tools/sco-tester.c:923:13: enter_function: entry to ‘test_connect’
bluez-5.85/tools/sco-tester.c:929:14: call_function: calling ‘create_sco_sock’ from ‘test_connect’
bluez-5.85/tools/sco-tester.c:929:14: return_function: returning to ‘test_connect’ from ‘create_sco_sock’
bluez-5.85/tools/sco-tester.c:930:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/sco-tester.c:935:13: branch_false: ...to here
bluez-5.85/tools/sco-tester.c:935:13: call_function: calling ‘connect_sco_sock’ from ‘test_connect’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def986]
bluez-5.85/tools/sco-tester.c:1189:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/sco-tester.c:1189:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1189:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/sco-tester.c:1189:9: branch_false: ...to here
bluez-5.85/tools/sco-tester.c:1189:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/sco-tester.c:1189:9: danger: ‘user’ leaks here; was allocated at [(1)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def987]
bluez-5.85/tools/sco-tester.c:1192:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/sco-tester.c:1192:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1192:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/sco-tester.c:1192:9: branch_false: ...to here
bluez-5.85/tools/sco-tester.c:1192:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/sco-tester.c:1192:9: danger: ‘user’ leaks here; was allocated at [(1)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def988]
bluez-5.85/tools/sco-tester.c:1195:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/sco-tester.c:1192:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1192:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1195:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1195:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/sco-tester.c:1195:9: branch_false: ...to here
bluez-5.85/tools/sco-tester.c:1195:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/sco-tester.c:1195:9: danger: ‘user’ leaks here; was allocated at [(4)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def989]
bluez-5.85/tools/sco-tester.c:1198:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/sco-tester.c:1192:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1192:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1195:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1198:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1198:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/sco-tester.c:1198:9: branch_false: ...to here
bluez-5.85/tools/sco-tester.c:1198:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/sco-tester.c:1198:9: danger: ‘user’ leaks here; was allocated at [(7)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def990]
bluez-5.85/tools/sco-tester.c:1201:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/sco-tester.c:1192:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1192:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1195:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1198:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1201:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1201:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/sco-tester.c:1201:9: branch_false: ...to here
bluez-5.85/tools/sco-tester.c:1201:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/sco-tester.c:1201:9: danger: ‘user’ leaks here; was allocated at [(10)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def991]
bluez-5.85/tools/sco-tester.c:1204:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/sco-tester.c:1192:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1192:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1195:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1198:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1201:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1204:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1204:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1204:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/sco-tester.c:1204:9: branch_false: ...to here
bluez-5.85/tools/sco-tester.c:1204:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/sco-tester.c:1204:9: danger: ‘user’ leaks here; was allocated at [(13)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def992]
bluez-5.85/tools/sco-tester.c:1207:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/sco-tester.c:1192:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1192:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1195:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1198:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1201:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1204:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1204:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1204:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1207:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1207:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1207:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/sco-tester.c:1207:9: branch_false: ...to here
bluez-5.85/tools/sco-tester.c:1207:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/sco-tester.c:1207:9: danger: ‘user’ leaks here; was allocated at [(16)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def993]
bluez-5.85/tools/sco-tester.c:1210:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/sco-tester.c:1192:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1192:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1195:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1198:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1201:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1204:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1204:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1204:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1207:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1207:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1207:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1210:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1210:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1210:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/sco-tester.c:1210:9: branch_false: ...to here
bluez-5.85/tools/sco-tester.c:1210:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/sco-tester.c:1210:9: danger: ‘user’ leaks here; was allocated at [(19)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def994]
bluez-5.85/tools/sco-tester.c:1214:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/sco-tester.c:1192:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1192:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1195:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1198:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1201:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1204:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1204:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1204:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1207:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1207:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1207:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1210:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1210:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1210:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1214:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1214:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1214:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/sco-tester.c:1214:9: branch_false: ...to here
bluez-5.85/tools/sco-tester.c:1214:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/sco-tester.c:1214:9: danger: ‘user’ leaks here; was allocated at [(22)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/21)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def995]
bluez-5.85/tools/sco-tester.c:1218:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/sco-tester.c:1192:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1192:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1195:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1198:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1201:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1204:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1204:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1204:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1207:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1207:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1207:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1210:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1210:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1210:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1214:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1214:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1214:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1218:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1218:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1218:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/sco-tester.c:1218:9: branch_false: ...to here
bluez-5.85/tools/sco-tester.c:1218:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/sco-tester.c:1218:9: danger: ‘user’ leaks here; was allocated at [(25)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/24)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def996]
bluez-5.85/tools/sco-tester.c:1221:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/sco-tester.c:1192:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1192:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1195:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1198:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1201:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1204:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1204:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1204:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1207:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1207:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1207:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1210:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1210:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1210:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1214:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1214:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1214:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1218:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1218:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1218:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1221:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1221:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1221:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/sco-tester.c:1221:9: branch_false: ...to here
bluez-5.85/tools/sco-tester.c:1221:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/sco-tester.c:1221:9: danger: ‘user’ leaks here; was allocated at [(28)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/27)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def997]
bluez-5.85/tools/sco-tester.c:1224:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/sco-tester.c:1192:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1192:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1195:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1198:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1201:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1204:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1204:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1204:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1207:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1207:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1207:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1210:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1210:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1210:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1214:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1214:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1214:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1218:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1218:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1218:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1221:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1221:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1221:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1224:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1224:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1224:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/sco-tester.c:1224:9: branch_false: ...to here
bluez-5.85/tools/sco-tester.c:1224:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/sco-tester.c:1224:9: danger: ‘user’ leaks here; was allocated at [(31)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/30)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def998]
bluez-5.85/tools/sco-tester.c:1227:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/sco-tester.c:1192:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1192:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1195:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1198:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1201:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1204:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1204:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1204:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1207:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1207:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1207:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1210:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1210:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1210:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1214:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1214:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1214:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1218:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1218:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1218:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1221:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1221:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1221:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1224:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1224:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1224:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1227:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1227:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1227:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/sco-tester.c:1227:9: branch_false: ...to here
bluez-5.85/tools/sco-tester.c:1227:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/sco-tester.c:1227:9: danger: ‘user’ leaks here; was allocated at [(34)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/33)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def999]
bluez-5.85/tools/sco-tester.c:1230:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/sco-tester.c:1192:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1192:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1195:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1198:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1201:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1204:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1204:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1204:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1207:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1207:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1207:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1210:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1210:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1210:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1214:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1214:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1214:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1218:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1218:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1218:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1221:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1221:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1221:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1224:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1224:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1224:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1227:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1227:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1227:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1230:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1230:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1230:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/sco-tester.c:1230:9: branch_false: ...to here
bluez-5.85/tools/sco-tester.c:1230:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/sco-tester.c:1230:9: danger: ‘user’ leaks here; was allocated at [(37)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/36)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1000]
bluez-5.85/tools/sco-tester.c:1233:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/sco-tester.c:1192:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1192:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1195:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1198:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1201:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1204:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1204:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1204:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1207:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1207:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1207:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1210:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1210:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1210:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1214:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1214:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1214:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1218:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1218:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1218:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1221:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1221:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1221:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1224:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1224:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1224:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1227:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1227:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1227:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1230:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1230:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1230:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1233:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1233:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1233:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/sco-tester.c:1233:9: branch_false: ...to here
bluez-5.85/tools/sco-tester.c:1233:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/sco-tester.c:1233:9: danger: ‘user’ leaks here; was allocated at [(40)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/39)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1001]
bluez-5.85/tools/sco-tester.c:1236:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/sco-tester.c:1192:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1192:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1195:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1198:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1201:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1204:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1204:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1204:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1207:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1207:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1207:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1210:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1210:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1210:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1214:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1214:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1214:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1218:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1218:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1218:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1221:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1221:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1221:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1224:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1224:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1224:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1227:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1227:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1227:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1230:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1230:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1230:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1233:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1233:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1233:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1236:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1236:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1236:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/sco-tester.c:1236:9: branch_false: ...to here
bluez-5.85/tools/sco-tester.c:1236:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/sco-tester.c:1236:9: danger: ‘user’ leaks here; was allocated at [(43)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/42)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1002]
bluez-5.85/tools/sco-tester.c:1240:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/sco-tester.c:1192:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1192:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1195:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1198:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1201:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1204:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1204:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1204:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1207:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1207:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1207:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1210:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1210:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1210:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1214:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1214:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1214:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1218:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1218:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1218:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1221:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1221:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1221:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1224:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1224:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1224:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1227:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1227:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1227:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1230:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1230:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1230:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1233:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1233:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1233:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1236:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1236:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1236:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1240:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1240:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1240:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/sco-tester.c:1240:9: branch_false: ...to here
bluez-5.85/tools/sco-tester.c:1240:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/sco-tester.c:1240:9: danger: ‘user’ leaks here; was allocated at [(46)](sarif:/runs/0/results/37/codeFlows/0/threadFlows/0/locations/45)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1003]
bluez-5.85/tools/sco-tester.c:1244:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/sco-tester.c:1192:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1192:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1195:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1198:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1201:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1204:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1204:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1204:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1207:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1207:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1207:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1210:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1210:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1210:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1214:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1214:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1214:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1218:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1218:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1218:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1221:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1221:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1221:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1224:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1224:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1224:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1227:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1227:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1227:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1230:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1230:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1230:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1233:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1233:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1233:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1236:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1236:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1236:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1240:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1240:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1240:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1244:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1244:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1244:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/sco-tester.c:1244:9: branch_false: ...to here
bluez-5.85/tools/sco-tester.c:1244:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/sco-tester.c:1244:9: danger: ‘user’ leaks here; was allocated at [(49)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/48)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1004]
bluez-5.85/tools/sco-tester.c:1247:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/sco-tester.c:1192:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1192:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1195:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1198:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1201:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1204:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1204:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1204:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1207:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1207:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1207:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1210:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1210:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1210:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1214:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1214:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1214:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1218:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1218:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1218:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1221:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1221:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1221:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1224:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1224:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1224:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1227:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1227:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1227:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1230:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1230:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1230:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1233:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1233:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1233:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1236:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1236:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1236:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1240:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1240:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1240:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1244:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1244:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1244:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1247:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1247:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1247:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/sco-tester.c:1247:9: branch_false: ...to here
bluez-5.85/tools/sco-tester.c:1247:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/sco-tester.c:1247:9: danger: ‘user’ leaks here; was allocated at [(52)](sarif:/runs/0/results/39/codeFlows/0/threadFlows/0/locations/51)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1005]
bluez-5.85/tools/sco-tester.c:1250:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/sco-tester.c:1192:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1192:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1195:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1198:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1201:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1204:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1204:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1204:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1207:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1207:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1207:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1210:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1210:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1210:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1214:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1214:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1214:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1218:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1218:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1218:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1221:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1221:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1221:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1224:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1224:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1224:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1227:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1227:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1227:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1230:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1230:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1230:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1233:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1233:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1233:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1236:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1236:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1236:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1240:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1240:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1240:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1244:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1244:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1244:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1247:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1247:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1247:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1250:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1250:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1250:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/sco-tester.c:1250:9: branch_false: ...to here
bluez-5.85/tools/sco-tester.c:1250:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/sco-tester.c:1250:9: danger: ‘user’ leaks here; was allocated at [(55)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/54)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1006]
bluez-5.85/tools/sco-tester.c:1253:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/sco-tester.c:1192:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1192:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1195:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1198:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1201:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1204:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1204:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1204:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1207:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1207:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1207:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1210:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1210:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1210:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1214:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1214:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1214:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1218:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1218:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1218:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1221:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1221:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1221:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1224:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1224:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1224:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1227:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1227:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1227:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1230:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1230:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1230:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1233:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1233:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1233:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1236:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1236:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1236:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1240:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1240:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1240:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1244:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1244:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1244:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1247:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1247:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1247:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1250:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1250:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1250:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1253:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1253:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1253:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/sco-tester.c:1253:9: branch_false: ...to here
bluez-5.85/tools/sco-tester.c:1253:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/sco-tester.c:1253:9: danger: ‘user’ leaks here; was allocated at [(58)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/57)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1007]
bluez-5.85/tools/sco-tester.c:1256:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/sco-tester.c:1192:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1192:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1195:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1198:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1201:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1204:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1204:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1204:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1207:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1207:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1207:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1210:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1210:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1210:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1214:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1214:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1214:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1218:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1218:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1218:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1221:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1221:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1221:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1224:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1224:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1224:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1227:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1227:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1227:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1230:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1230:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1230:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1233:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1233:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1233:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1236:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1236:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1236:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1240:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1240:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1240:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1244:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1244:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1244:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1247:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1247:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1247:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1250:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1250:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1250:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1253:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1253:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1253:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1256:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1256:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1256:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/sco-tester.c:1256:9: branch_false: ...to here
bluez-5.85/tools/sco-tester.c:1256:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/sco-tester.c:1256:9: danger: ‘user’ leaks here; was allocated at [(61)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/60)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1008]
bluez-5.85/tools/sco-tester.c:1259:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/sco-tester.c:1192:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1192:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1195:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1195:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1198:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1198:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1201:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1201:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1204:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1204:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1204:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1207:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1207:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1207:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1210:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1210:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1210:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1214:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1214:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1214:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1218:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1218:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1218:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1221:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1221:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1221:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1224:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1224:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1224:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1227:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1227:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1227:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1230:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1230:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1230:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1233:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1233:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1233:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1236:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1236:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1236:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1240:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1240:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1240:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1244:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1244:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1244:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1247:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1247:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1247:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1250:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1250:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1250:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1253:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1253:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1253:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1256:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1256:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1256:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/sco-tester.c:1259:9: branch_true: ...to here
bluez-5.85/tools/sco-tester.c:1259:9: acquire_memory: allocated here
bluez-5.85/tools/sco-tester.c:1259:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/sco-tester.c:1259:9: branch_false: ...to here
bluez-5.85/tools/sco-tester.c:1259:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/sco-tester.c:1259:9: danger: ‘user’ leaks here; was allocated at [(64)](sarif:/runs/0/results/43/codeFlows/0/threadFlows/0/locations/63)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1009]
bluez-5.85/tools/scotest.c:167:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/scotest.c:139:14: acquire_resource: socket created here
bluez-5.85/tools/scotest.c:140:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/scotest.c:148:9: branch_false: ...to here
bluez-5.85/tools/scotest.c:151:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/scotest.c:158:13: branch_false: ...to here
bluez-5.85/tools/scotest.c:166:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/scotest.c:168:74: branch_true: ...to here
bluez-5.85/tools/scotest.c:167:17: throw: if ‘syslog’ throws an exception...
bluez-5.85/tools/scotest.c:167:17: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1010]
bluez-5.85/tools/scotest.c:172:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/scotest.c:139:14: acquire_resource: socket created here
bluez-5.85/tools/scotest.c:140:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/scotest.c:148:9: branch_false: ...to here
bluez-5.85/tools/scotest.c:151:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/scotest.c:158:13: branch_false: ...to here
bluez-5.85/tools/scotest.c:166:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/scotest.c:172:9: branch_false: ...to here
bluez-5.85/tools/scotest.c:172:9: throw: if ‘syslog’ throws an exception...
bluez-5.85/tools/scotest.c:172:9: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1011]
bluez-5.85/tools/scotest.c:178:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/scotest.c:139:14: acquire_resource: socket created here
bluez-5.85/tools/scotest.c:140:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/scotest.c:148:9: branch_false: ...to here
bluez-5.85/tools/scotest.c:151:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/scotest.c:158:13: branch_false: ...to here
bluez-5.85/tools/scotest.c:166:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/scotest.c:172:9: branch_false: ...to here
bluez-5.85/tools/scotest.c:178:23: throw: if ‘accept’ throws an exception...
bluez-5.85/tools/scotest.c:178:23: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1012]
bluez-5.85/tools/scotest.c:229:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
bluez-5.85/tools/scotest.c:139:14: acquire_resource: socket created here
bluez-5.85/tools/scotest.c:140:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
bluez-5.85/tools/scotest.c:148:9: branch_false: ...to here
bluez-5.85/tools/scotest.c:151:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/scotest.c:158:13: branch_false: ...to here
bluez-5.85/tools/scotest.c:166:12: branch_true: following ‘true’ branch...
bluez-5.85/tools/scotest.c:168:74: branch_true: ...to here
bluez-5.85/tools/scotest.c:229:9: throw: if ‘close’ throws an exception...
bluez-5.85/tools/scotest.c:229:9: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1013]
bluez-5.85/tools/seq2bseq.c:31:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_path, "r")’
bluez-5.85/tools/seq2bseq.c:54:13: enter_function: entry to ‘convert_file’
bluez-5.85/tools/seq2bseq.c:65:12: branch_false: following ‘false’ branch (when ‘output_path’ is NULL)...
bluez-5.85/tools/seq2bseq.c:72:23: branch_false: ...to here
bluez-5.85/tools/seq2bseq.c:73:20: branch_false: following ‘false’ branch (when ‘ptr’ is NULL)...
bluez-5.85/tools/seq2bseq.c:82:29: branch_false: ...to here
bluez-5.85/tools/seq2bseq.c:82:28: branch_false: following ‘false’ branch...
bluez-5.85/tools/seq2bseq.c:89:9: branch_false: ...to here
bluez-5.85/tools/seq2bseq.c:95:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/seq2bseq.c:100:13: branch_false: ...to here
bluez-5.85/tools/seq2bseq.c:100:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/seq2bseq.c:106:13: branch_false: ...to here
bluez-5.85/tools/seq2bseq.c:106:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/seq2bseq.c:112:14: branch_false: ...to here
bluez-5.85/tools/seq2bseq.c:112:14: acquire_resource: opened here
bluez-5.85/tools/seq2bseq.c:113:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/seq2bseq.c:113:12: branch_false: ...to here
bluez-5.85/tools/seq2bseq.c:124:20: branch_false: following ‘false’ branch...
bluez-5.85/tools/seq2bseq.c:129:23: branch_false: ...to here
bluez-5.85/tools/seq2bseq.c:129:23: call_function: calling ‘convert_line’ from ‘convert_file’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1014]
bluez-5.85/tools/seq2bseq.c:31:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_path, "r")’
bluez-5.85/tools/seq2bseq.c:54:13: enter_function: entry to ‘convert_file’
bluez-5.85/tools/seq2bseq.c:65:12: branch_false: following ‘false’ branch (when ‘output_path’ is NULL)...
bluez-5.85/tools/seq2bseq.c:72:23: branch_false: ...to here
bluez-5.85/tools/seq2bseq.c:73:20: branch_false: following ‘false’ branch (when ‘ptr’ is NULL)...
bluez-5.85/tools/seq2bseq.c:82:29: branch_false: ...to here
bluez-5.85/tools/seq2bseq.c:82:28: branch_false: following ‘false’ branch...
bluez-5.85/tools/seq2bseq.c:89:9: branch_false: ...to here
bluez-5.85/tools/seq2bseq.c:95:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/seq2bseq.c:100:13: branch_false: ...to here
bluez-5.85/tools/seq2bseq.c:100:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/seq2bseq.c:106:13: branch_false: ...to here
bluez-5.85/tools/seq2bseq.c:106:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/seq2bseq.c:112:14: branch_false: ...to here
bluez-5.85/tools/seq2bseq.c:112:14: acquire_memory: allocated here
bluez-5.85/tools/seq2bseq.c:113:12: branch_false: following ‘false’ branch...
bluez-5.85/tools/seq2bseq.c:113:12: branch_false: ...to here
bluez-5.85/tools/seq2bseq.c:124:20: branch_false: following ‘false’ branch...
bluez-5.85/tools/seq2bseq.c:129:23: branch_false: ...to here
bluez-5.85/tools/seq2bseq.c:129:23: call_function: calling ‘convert_line’ from ‘convert_file’
Error: COMPILER_WARNING: [#def1015]
bluez-5.85/tools/seq2bseq.c: scope_hint: In function ‘convert_file’
bluez-5.85/tools/seq2bseq.c:62:15: warning[-Wunused-but-set-variable=]: variable ‘cur’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1016]
bluez-5.85/tools/seq2bseq.c:91:14: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
bluez-5.85/tools/seq2bseq.c:65:12: branch_true: following ‘true’ branch (when ‘output_path’ is non-NULL)...
bluez-5.85/tools/seq2bseq.c:66:24: branch_true: ...to here
bluez-5.85/tools/seq2bseq.c:66:24: acquire_memory: allocated here
bluez-5.85/tools/seq2bseq.c:67:20: branch_false: following ‘false’ branch...
bluez-5.85/tools/seq2bseq.c:89:9: branch_false: ...to here
bluez-5.85/tools/seq2bseq.c:91:14: throw: if ‘open’ throws an exception...
bluez-5.85/tools/seq2bseq.c:91:14: danger: ‘path’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1017]
bluez-5.85/tools/smp-tester.c:902:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/smp-tester.c:902:9: acquire_memory: allocated here
bluez-5.85/tools/smp-tester.c:902:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/smp-tester.c:902:9: branch_false: ...to here
bluez-5.85/tools/smp-tester.c:902:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/smp-tester.c:902:9: danger: ‘user’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1018]
bluez-5.85/tools/smp-tester.c:905:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/smp-tester.c:902:9: acquire_memory: allocated here
bluez-5.85/tools/smp-tester.c:902:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/smp-tester.c:905:9: branch_true: ...to here
bluez-5.85/tools/smp-tester.c:905:9: acquire_memory: allocated here
bluez-5.85/tools/smp-tester.c:905:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/smp-tester.c:905:9: branch_false: ...to here
bluez-5.85/tools/smp-tester.c:905:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/smp-tester.c:905:9: danger: ‘user’ leaks here; was allocated at [(4)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1019]
bluez-5.85/tools/smp-tester.c:908:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/smp-tester.c:902:9: acquire_memory: allocated here
bluez-5.85/tools/smp-tester.c:902:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/smp-tester.c:905:9: branch_true: ...to here
bluez-5.85/tools/smp-tester.c:905:9: acquire_memory: allocated here
bluez-5.85/tools/smp-tester.c:905:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/smp-tester.c:908:9: branch_true: ...to here
bluez-5.85/tools/smp-tester.c:908:9: acquire_memory: allocated here
bluez-5.85/tools/smp-tester.c:908:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/smp-tester.c:908:9: branch_false: ...to here
bluez-5.85/tools/smp-tester.c:908:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/smp-tester.c:908:9: danger: ‘user’ leaks here; was allocated at [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1020]
bluez-5.85/tools/smp-tester.c:911:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/smp-tester.c:902:9: acquire_memory: allocated here
bluez-5.85/tools/smp-tester.c:902:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/smp-tester.c:905:9: branch_true: ...to here
bluez-5.85/tools/smp-tester.c:905:9: acquire_memory: allocated here
bluez-5.85/tools/smp-tester.c:905:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/smp-tester.c:908:9: branch_true: ...to here
bluez-5.85/tools/smp-tester.c:908:9: acquire_memory: allocated here
bluez-5.85/tools/smp-tester.c:908:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/smp-tester.c:911:9: branch_true: ...to here
bluez-5.85/tools/smp-tester.c:911:9: acquire_memory: allocated here
bluez-5.85/tools/smp-tester.c:911:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/smp-tester.c:911:9: branch_false: ...to here
bluez-5.85/tools/smp-tester.c:911:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/smp-tester.c:911:9: danger: ‘user’ leaks here; was allocated at [(10)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1021]
bluez-5.85/tools/smp-tester.c:915:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/smp-tester.c:902:9: acquire_memory: allocated here
bluez-5.85/tools/smp-tester.c:902:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/smp-tester.c:905:9: branch_true: ...to here
bluez-5.85/tools/smp-tester.c:905:9: acquire_memory: allocated here
bluez-5.85/tools/smp-tester.c:905:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/smp-tester.c:908:9: branch_true: ...to here
bluez-5.85/tools/smp-tester.c:908:9: acquire_memory: allocated here
bluez-5.85/tools/smp-tester.c:908:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/smp-tester.c:911:9: branch_true: ...to here
bluez-5.85/tools/smp-tester.c:911:9: acquire_memory: allocated here
bluez-5.85/tools/smp-tester.c:911:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/smp-tester.c:915:9: branch_true: ...to here
bluez-5.85/tools/smp-tester.c:915:9: acquire_memory: allocated here
bluez-5.85/tools/smp-tester.c:915:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/smp-tester.c:915:9: branch_false: ...to here
bluez-5.85/tools/smp-tester.c:915:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/smp-tester.c:915:9: danger: ‘user’ leaks here; was allocated at [(13)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1022]
bluez-5.85/tools/smp-tester.c:918:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/smp-tester.c:902:9: acquire_memory: allocated here
bluez-5.85/tools/smp-tester.c:902:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/smp-tester.c:905:9: branch_true: ...to here
bluez-5.85/tools/smp-tester.c:905:9: acquire_memory: allocated here
bluez-5.85/tools/smp-tester.c:905:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/smp-tester.c:908:9: branch_true: ...to here
bluez-5.85/tools/smp-tester.c:908:9: acquire_memory: allocated here
bluez-5.85/tools/smp-tester.c:908:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/smp-tester.c:911:9: branch_true: ...to here
bluez-5.85/tools/smp-tester.c:911:9: acquire_memory: allocated here
bluez-5.85/tools/smp-tester.c:911:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/smp-tester.c:915:9: branch_true: ...to here
bluez-5.85/tools/smp-tester.c:915:9: acquire_memory: allocated here
bluez-5.85/tools/smp-tester.c:915:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/smp-tester.c:918:9: branch_true: ...to here
bluez-5.85/tools/smp-tester.c:918:9: acquire_memory: allocated here
bluez-5.85/tools/smp-tester.c:918:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/smp-tester.c:918:9: branch_false: ...to here
bluez-5.85/tools/smp-tester.c:918:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/smp-tester.c:918:9: danger: ‘user’ leaks here; was allocated at [(16)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1023]
bluez-5.85/tools/smp-tester.c:922:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/smp-tester.c:902:9: acquire_memory: allocated here
bluez-5.85/tools/smp-tester.c:902:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/smp-tester.c:905:9: branch_true: ...to here
bluez-5.85/tools/smp-tester.c:905:9: acquire_memory: allocated here
bluez-5.85/tools/smp-tester.c:905:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/smp-tester.c:908:9: branch_true: ...to here
bluez-5.85/tools/smp-tester.c:908:9: acquire_memory: allocated here
bluez-5.85/tools/smp-tester.c:908:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/smp-tester.c:911:9: branch_true: ...to here
bluez-5.85/tools/smp-tester.c:911:9: acquire_memory: allocated here
bluez-5.85/tools/smp-tester.c:911:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/smp-tester.c:915:9: branch_true: ...to here
bluez-5.85/tools/smp-tester.c:915:9: acquire_memory: allocated here
bluez-5.85/tools/smp-tester.c:915:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/smp-tester.c:918:9: branch_true: ...to here
bluez-5.85/tools/smp-tester.c:918:9: acquire_memory: allocated here
bluez-5.85/tools/smp-tester.c:918:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/smp-tester.c:922:9: branch_true: ...to here
bluez-5.85/tools/smp-tester.c:922:9: acquire_memory: allocated here
bluez-5.85/tools/smp-tester.c:922:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/smp-tester.c:922:9: branch_false: ...to here
bluez-5.85/tools/smp-tester.c:922:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/smp-tester.c:922:9: danger: ‘user’ leaks here; was allocated at [(19)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/18)
Error: CPPCHECK_WARNING (CWE-457): [#def1024]
bluez-5.85/tools/test-runner.c:971: warning[uninitvar]: Uninitialized variable: argv
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1025]
bluez-5.85/tools/userchan-tester.c:379:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/userchan-tester.c:379:9: acquire_memory: allocated here
bluez-5.85/tools/userchan-tester.c:379:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/userchan-tester.c:379:9: branch_false: ...to here
bluez-5.85/tools/userchan-tester.c:379:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/userchan-tester.c:379:9: danger: ‘user’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1026]
bluez-5.85/tools/userchan-tester.c:381:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/userchan-tester.c:381:9: acquire_memory: allocated here
bluez-5.85/tools/userchan-tester.c:381:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/userchan-tester.c:381:9: branch_false: ...to here
bluez-5.85/tools/userchan-tester.c:381:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/userchan-tester.c:381:9: danger: ‘user’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1027]
bluez-5.85/tools/userchan-tester.c:383:9: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
bluez-5.85/tools/userchan-tester.c:381:9: acquire_memory: allocated here
bluez-5.85/tools/userchan-tester.c:381:9: branch_true: following ‘true’ branch (when ‘user’ is NULL)...
bluez-5.85/tools/userchan-tester.c:383:9: branch_true: ...to here
bluez-5.85/tools/userchan-tester.c:383:9: acquire_memory: allocated here
bluez-5.85/tools/userchan-tester.c:383:9: branch_false: following ‘false’ branch (when ‘user’ is non-NULL)...
bluez-5.85/tools/userchan-tester.c:383:9: branch_false: ...to here
bluez-5.85/tools/userchan-tester.c:383:9: throw: if ‘tester_add_full’ throws an exception...
bluez-5.85/tools/userchan-tester.c:383:9: danger: ‘user’ leaks here; was allocated at [(4)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/3)
Scan Properties
| analyzer-version-clippy | 1.92.0 |
| analyzer-version-cppcheck | 2.19.1 |
| analyzer-version-gcc | 16.0.0 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-13.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | bluez-5.85-1.fc44 |
| store-results-to | /tmp/tmp_x13q01u/bluez-5.85-1.fc44.tar.xz |
| time-created | 2026-01-08 15:36:33 |
| time-finished | 2026-01-08 15:40:39 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp_x13q01u/bluez-5.85-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp_x13q01u/bluez-5.85-1.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |