bluez/tools
Tedd Ho-Jeong An e3c92f1f78 mgmt-tester: Fix null dereference issue reported by scan-build
This patch fixes the null dereference reported by the scan-build.

tools/mgmt-tester.c:12025:28: warning: Access to field 'cap_len' results
in a dereference of a null pointer (loaded from variable 'rp')
[core.NullDereference]

        if (sizeof(rp->cap_len) + rp->cap_len != length) {
                                  ^~~~~~~~~~~
2022-06-23 16:24:57 -07:00
..
mesh mesh/mesh-db: Fix resource leaks 2022-05-31 12:52:28 -07:00
mesh-gatt mesh-gatt: Fix use_after_free 2022-05-31 13:08:58 -07:00
parser tools: Inclusive language changes 2021-09-21 10:51:54 +02:00
3dsp.c tools: Inclusive language changes 2021-09-21 10:51:54 +02:00
advtest.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
amptest.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
avinfo.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
avtest.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
bcmfw.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
bdaddr.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
bdaddr.rst tools: Inclusive language changes 2021-09-21 10:51:54 +02:00
bluemoon.c tools/bluemoon: Add support for checking other firmware file types 2021-02-03 11:07:24 -08:00
bluetooth-logger.service.in build: rename libexecdir to pkglibexecdir 2018-11-21 13:22:33 +02:00
bluetooth-player.c client: Add support for player submenu 2022-03-30 12:54:29 -07:00
bnep-tester.c tools/bnep-tester: Enable hciemu debug 2020-11-02 11:10:53 -08:00
bneptest.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
btattach.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
btattach.rst tools: Convert manpages to rst format 2021-05-04 16:49:02 -07:00
btconfig.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
btgatt-client.c tools: Fix memory leaks in btgatt-server/client 2022-05-09 13:05:38 -07:00
btgatt-server.c tools: Fix memory leaks in btgatt-server/client 2022-05-09 13:05:38 -07:00
btinfo.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
btiotest.c tools: Deprecate some input parameters to align with inclusive language 2021-09-21 10:51:54 +02:00
btmgmt.c tools/btmgmt: Add support Add Ext Adv command 2022-06-17 14:08:16 -07:00
btmon-logger.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
btpclient.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
btpclientctl.c tools: Inclusive language changes 2021-09-21 10:51:54 +02:00
btproxy.c btproxy: Allow to select multiple BT controllers 2022-06-13 11:03:29 -07:00
btsnoop.c tools: Fix signed integer overflow in btsnoop.c 2022-04-04 09:41:59 -07:00
check-selftest.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
ciptool.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
ciptool.rst tools: Convert manpages to rst format 2021-05-04 16:49:02 -07:00
cltest.c cltest: Fix leaked_handle 2022-05-31 12:51:19 -07:00
create-image.c create-image: Fix leaked_handle 2022-05-31 12:51:45 -07:00
eddystone.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
example.psr Add an example for the PSR file format 2005-09-07 21:47:05 +00:00
gap-tester.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
gatt-service.c build: Replace use of g_memdup with util_memdup 2022-01-06 12:58:39 -08:00
hci-tester.c tools: Inclusive language changes 2021-09-21 10:51:54 +02:00
hciattach_ath3k.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
hciattach_bcm43xx.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
hciattach_intel.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
hciattach_qualcomm.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
hciattach_st.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
hciattach_ti.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
hciattach_tialt.c tools: Fix buffer overflow in hciattach_tialt.c 2022-04-04 09:41:58 -07:00
hciattach.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
hciattach.h tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
hciattach.rst tools: Convert manpages to rst format 2021-05-04 16:49:02 -07:00
hciconfig.c tools: Fix memory leak in hciconfig 2022-05-09 13:05:38 -07:00
hciconfig.rst tools: Inclusive language changes 2021-09-21 10:51:54 +02:00
hcidump.c tools: Cleanup deprecated symbolic file permissions 2021-02-23 16:59:46 -08:00
hcidump.rst tools: Convert manpages to rst format 2021-05-04 16:49:02 -07:00
hcieventmask.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
hcisecfilter.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
hcitool.c tools/hcitool: Fix the descriptions of leal* commands 2021-10-21 13:30:12 -07:00
hcitool.rst tools: Deprecate some input parameters to align with inclusive language 2021-09-21 10:51:54 +02:00
hex2hcd.c tools: Limit width of fields in sscanf 2022-04-04 09:41:59 -07:00
hid2hci.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
hid2hci.rst tools: Convert manpages to rst format 2021-05-04 16:49:02 -07:00
hid2hci.rules build: Put hid2hci udev rules next to the source code 2012-12-10 22:56:05 +01:00
hwdb.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
ibeacon.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
l2cap-tester.c l2cap-tester: Fix leaked_handle 2022-05-31 12:52:08 -07:00
l2ping.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
l2ping.rst tools: Convert manpages to rst format 2021-05-04 16:49:02 -07:00
l2test.c tools: Inclusive language changes 2021-09-21 10:51:54 +02:00
magic.btsnoop tools: Update magic definition for BTSnoop file format 2013-08-25 12:20:57 -07:00
mcaptest.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
mesh-cfgclient.c tools/mesh-cfgclient: Export configuration database 2021-09-27 13:22:40 -07:00
mesh-cfgtest.c tools/mesh-cfgtest: include limits.h 2022-02-16 10:30:12 -08:00
meshctl.c meshctl: Fix possible use_after_free 2022-05-31 13:08:57 -07:00
mgmt-tester.c mgmt-tester: Fix null dereference issue reported by scan-build 2022-06-23 16:24:57 -07:00
mpris-proxy.c tools: Fix g_dbus_setup_private connection check in mpris-proxy 2022-04-04 09:41:22 -07:00
nokfw.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
obex-client-tool.c obex-client: Fix leaked_handle 2022-05-31 12:53:02 -07:00
obex-server-tool.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
obexctl.c obexctl: Add optional argument channel to connect command 2022-02-14 15:15:20 -08:00
oobtest.c tools: Inclusive language changes 2021-09-21 10:51:54 +02:00
parse_companies.pl tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
rctest.c tools: Inclusive language changes 2021-09-21 10:51:54 +02:00
rctest.rst tools: Inclusive language changes 2021-09-21 10:51:54 +02:00
rfcomm-tester.c rfcomm-tester: Increase amount of data from 8k to 32k 2022-02-14 17:47:13 -08:00
rfcomm.c tools: Fix handle leak in rfcomm 2022-05-09 13:05:38 -07:00
rfcomm.rst tools: Inclusive language changes 2021-09-21 10:51:54 +02:00
rtlfw.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
sco-tester.c tools: Inclusive language changes 2021-09-21 10:51:54 +02:00
scotest.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
sdptool.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
sdptool.rst tools: Convert manpages to rst format 2021-05-04 16:49:02 -07:00
seq2bseq.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
smp-tester.c tools: Inclusive language changes 2021-09-21 10:51:54 +02:00
test-runner.c test-runner: Fix issues found by coverity 2022-06-17 16:18:32 -07:00
update_compids.sh tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
userchan-tester.c tools: userchan-tester: Add test case for the closing channel 2021-09-17 13:29:50 -07:00
valgrind.supp tools/valgrind: Add suppression for __btd_log_init 2015-11-08 21:14:59 +02:00