Skip to content

mesh: Fix various valgrind identified problems

Brian Gix linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 1 replyIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mesh: Fix to send close indication on timeoutmesh/pb-adv.c mesh/prov-acceptor.c+1 -20 replies
2/3mesh: Rearrange PB-ACK for possible session closemesh/net.c mesh/pb-adv.c+4 -50 replies
3/3mesh: Fix memory leak in Join() API callmesh/mesh.c+5 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH BlueZ v2 0/3] mesh: Fix various valgrind identified problems

This patchset addresses a few valgrind identified errors, including some instances where memory was used after freeing. All three patches relate to the memory allocated for Provisioning purposes.

This includes the patch from Prathyusha that fixes close indication.

Brian Gix (2):
mesh: Rearrange PB-ACK for possible session close
mesh: Fix memory leak in Join() API call

Prathyusha N (1):
mesh: Fix to send close indication on timeout

 mesh/mesh.c          |  7 +++++--
 mesh/net.c           |  1 -
 mesh/pb-adv.c        | 10 ++++------
 mesh/prov-acceptor.c |  1 +
 4 files changed, 10 insertions(+), 9 deletions(-)
Signature · 1 line
2.21.0