bluez/tools
Roman Smirnov 559e40a8b9 rctest: replace sprintf() with snprintf() in recv_mode()
Use snprintf() instead of sprintf() to avoid buffer overflow.

Found with the SVACE static analysis tool.
2024-06-28 11:01:59 -04:00
..
mesh tools/mesh-cfgclient: Auto request own composition data 2023-03-17 13:27:14 -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 support to generate RSI using SIRK 2023-03-10 13:41:06 -08: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: avtest: Add reject-code option 2023-12-11 12:16:43 -05: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: handle relative libexecdir instances 2024-02-20 08:51:26 -05:00
bluetooth-player.c client/player: Use QoS interval on transport.send 2022-08-29 12:43:05 -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 btgatt-client: Add function to search all primary services 2024-01-25 15:50:37 -05: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 Split bt_iso_qos into dedicated structures 2023-03-31 14:33:28 -07:00
btmgmt.c client: Add support for mgmt submenu 2023-07-14 15:14:02 -07:00
btmgmt.rst btmgmt: Add man page 2023-07-20 11:14:19 -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 btmon: Fix decoding truncated data 2023-03-14 12:48:46 -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: Make hciattach_* firmware path build-time configurable 2022-11-01 14:01:57 -07:00
hciattach_intel.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
hciattach_qualcomm.c tools: Switch hciattach_qualcomm to FAILIF macro completely 2022-11-01 14:02:07 -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: Make hciattach_* firmware path build-time configurable 2022-11-01 14:01:57 -07:00
hciattach.c tools: Add SPDX License Identifier 2020-09-29 14:37:23 -07:00
hciattach.h tools: Make hciattach_* firmware path build-time configurable 2022-11-01 14:01:57 -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 hcidump: Fix help message for --timestamp option 2024-02-12 17:30:49 -05: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
ioctl-tester.c tools/ioctl-tester - Add ioctl-tester 2022-09-21 16:37:35 -07:00
iso-tester.c tools: disable running TX timestamping tests for now 2024-05-15 12:53:41 -04:00
isotest.c isotest: Fix ISO send data rate 2024-06-07 11:12:21 -04:00
isotest.rst isotest: Add support for creating/synchronizing to multiple BISes 2023-05-30 11:34:19 -07:00
l2cap-tester.c l2cap-tester: Add tests for multiple data packets over LE 2024-06-26 15:39:43 -04: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 l2test: replace sprintf() with snprintf() in recv_mode() 2024-06-28 11:01:50 -04: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: Fix uninitialised variable usage 2024-05-16 16:36:52 -04:00
mesh-cfgtest.c tools/mesh-cfgtest: Support extended device composition 2023-01-30 16:14:41 -08:00
mesh-tester.c tools: Fix mesh-tester to expect end of ADV 2022-09-27 15:52:27 -07:00
meshctl.c meshctl: Fix possible use_after_free 2022-05-31 13:08:57 -07:00
mgmt-tester.c mgmt-tester: Fix buffer overrun 2024-06-03 15:02:47 -04:00
mpris-proxy.c tools/mpris-proxy: unregister object path if player registration fails 2022-09-26 10:57:01 -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 rctest: replace sprintf() with snprintf() in recv_mode() 2024-06-28 11:01:59 -04:00
rctest.rst tools: Inclusive language changes 2021-09-21 10:51:54 +02:00
rfcomm-tester.c rfcomm-tester: Fix crash on test-basic 2024-02-15 09:44:15 -05:00
rfcomm.c tools/rfcomm: _exit() on execvp() failure 2024-02-16 09:22:58 -05: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: disable running TX timestamping tests for now 2024-05-15 12:53:41 -04: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 fd leak on failure 2024-05-16 16:37:30 -04:00
tester.h iso-tester: add test for BT_POLL_ERRQUEUE 2024-04-10 12:31:47 -04: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 build: Fix make check failing 2022-08-04 18:07:17 -07:00