Parent: 602e4c0ff962a5b72523d9bd00332b7f5be5c48c
Author: Brian Gix <brian.gix@intel.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2020-08-14 22:18:59
Tree: caf95b9738a4517f66659b9b68454df2f990a03d
mesh: fix double-free of outbound tx data Due to the asyncronous multi-step process to send a packet on an HCI socket, an outbound packet could be superseded before send procedure is completed. This change ensures that at any stage in the process, that the pointer to the packet has been fully disposed.
Diffstat
| M | mesh/mesh-io-generic.c | | | 52 | +++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - |
1 files changed, 31 insertions(+), 21 deletions(-)