2021-05-14 18:50:26

by Steve Grubb

[permalink] [raw]
Subject: [Bluez PATCH 0/6] Fix various memory leaks

Hello,

I was checking the code via static analysis and found a number of
leaks throughout the code. This patch should address most of what
was discovered.

Steve Grubb (6):
Fix leak in mesh
Fix leaks in obex
Fix leaks in plugin
Fix leaks in profiles
Fix leaks in src
Fix leaks in tools

mesh/rpl.c | 4 +++-
obexd/plugins/filesystem.c | 2 +-
obexd/plugins/ftp.c | 8 ++++++--
obexd/plugins/messages-dummy.c | 1 +
plugins/hostname.c | 3 +--
profiles/audio/avrcp.c | 4 +++-
src/main.c | 1 +
src/shared/shell.c | 1 +
tools/mesh-cfgclient.c | 2 +-
tools/mesh-gatt/gatt.c | 1 +
tools/mesh-gatt/node.c | 12 +++++++++---
11 files changed, 28 insertions(+), 11 deletions(-)

--
2.31.1



2021-05-15 03:18:33

by Luiz Augusto von Dentz

[permalink] [raw]
Subject: Re: [Bluez PATCH 0/6] Fix various memory leaks

Hi Steve,

On Fri, May 14, 2021 at 11:50 AM Steve Grubb <[email protected]> wrote:
>
> Hello,
>
> I was checking the code via static analysis and found a number of
> leaks throughout the code. This patch should address most of what
> was discovered.
>
> Steve Grubb (6):
> Fix leak in mesh
> Fix leaks in obex
> Fix leaks in plugin
> Fix leaks in profiles
> Fix leaks in src
> Fix leaks in tools
>
> mesh/rpl.c | 4 +++-
> obexd/plugins/filesystem.c | 2 +-
> obexd/plugins/ftp.c | 8 ++++++--
> obexd/plugins/messages-dummy.c | 1 +
> plugins/hostname.c | 3 +--
> profiles/audio/avrcp.c | 4 +++-
> src/main.c | 1 +
> src/shared/shell.c | 1 +
> tools/mesh-cfgclient.c | 2 +-
> tools/mesh-gatt/gatt.c | 1 +
> tools/mesh-gatt/node.c | 12 +++++++++---
> 11 files changed, 28 insertions(+), 11 deletions(-)
>
> --
> 2.31.1

Applied (excluding 2/6), thanks.


--
Luiz Augusto von Dentz