* [bluez/bluez] fd0161: hci-tester: Work-around possible string overflow
@ 2026-06-16 12:19 hadess
0 siblings, 0 replies; only message in thread
From: hadess @ 2026-06-16 12:19 UTC (permalink / raw)
To: linux-bluetooth
Branch: refs/heads/1112149
Home: https://github.com/bluez/bluez
Commit: fd0161f8f6af60019a11b003772a5655ae05c632
https://github.com/bluez/bluez/commit/fd0161f8f6af60019a11b003772a5655ae05c632
Author: Bastien Nocera <hadess@hadess.net>
Date: 2026-06-16 (Tue, 16 Jun 2026)
Changed paths:
M tools/hci-tester.c
Log Message:
-----------
hci-tester: Work-around possible string overflow
Quiet overflow warning by checking for a non-NULL destination.
In function 'memcpy',
inlined from 'test_pre_setup_lt_address' at tools/hci-tester.c:67:2:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' writing 6 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^
To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-16 12:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-16 12:19 [bluez/bluez] fd0161: hci-tester: Work-around possible string overflow hadess
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox