* [bluez/bluez] efa900: tools: Fix memory leak in hciconfig
@ 2022-05-09 20:37 BluezTestBot
0 siblings, 0 replies; only message in thread
From: BluezTestBot @ 2022-05-09 20:37 UTC (permalink / raw)
To: linux-bluetooth
Branch: refs/heads/master
Home: https://github.com/bluez/bluez
Commit: efa90050937c5eabc6c70a466bd886f164388484
https://github.com/bluez/bluez/commit/efa90050937c5eabc6c70a466bd886f164388484
Author: Ildar Kamaletdinov <i.kamaletdinov@omp.ru>
Date: 2022-05-09 (Mon, 09 May 2022)
Changed paths:
M tools/hciconfig.c
Log Message:
-----------
tools: Fix memory leak in hciconfig
printf() was using function that return dynamic allocated memory as
a parameter.
Found by Linux Verification Center (linuxtesting.org) with the SVACE
static analysis tool.
Commit: a4741ef4bf6c6fb262b38a897312e929c2161cf9
https://github.com/bluez/bluez/commit/a4741ef4bf6c6fb262b38a897312e929c2161cf9
Author: Ildar Kamaletdinov <i.kamaletdinov@omp.ru>
Date: 2022-05-09 (Mon, 09 May 2022)
Changed paths:
M tools/btgatt-client.c
M tools/btgatt-server.c
Log Message:
-----------
tools: Fix memory leaks in btgatt-server/client
According to man buffer allocated by getline() should be freed by
the user program even if getline() failed.
Found by Linux Verification Center (linuxtesting.org) with the SVACE
static analysis tool.
Commit: e9ec1cf8715d72195a94d748777a19b8e2ba4db5
https://github.com/bluez/bluez/commit/e9ec1cf8715d72195a94d748777a19b8e2ba4db5
Author: Ildar Kamaletdinov <i.kamaletdinov@omp.ru>
Date: 2022-05-09 (Mon, 09 May 2022)
Changed paths:
M tools/rfcomm.c
Log Message:
-----------
tools: Fix handle leak in rfcomm
Some branches of execution can make handle (socket) leakage.
Found by Linux Verification Center (linuxtesting.org) with the SVACE
static analysis tool.
Commit: 42e9b8db92d5d8725e9a1bfd93a5c6a257186776
https://github.com/bluez/bluez/commit/42e9b8db92d5d8725e9a1bfd93a5c6a257186776
Author: Ildar Kamaletdinov <i.kamaletdinov@omp.ru>
Date: 2022-05-09 (Mon, 09 May 2022)
Changed paths:
M src/device.c
Log Message:
-----------
device: Fix uninitialized value usage
Definitely `dbus_bool_t b;` must be initialized before comparing it
with current value.
Found by Linux Verification Center (linuxtesting.org) with the SVACE
static analysis tool.
Compare: https://github.com/bluez/bluez/compare/f0106d92a1e0...42e9b8db92d5
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-09 20:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-09 20:37 [bluez/bluez] efa900: tools: Fix memory leak in hciconfig BluezTestBot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.