Parent: 4afbef7790ce0b1b30afaade19af17903e05a801
Author: Ildar Kamaletdinov <i.kamaletdinov@omp.ru>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2022-04-04 19:42:00
Tree: 8815e483ee4ccf0229dd8456a9a9ce015106102a
gatt: Fix double free and freed memory dereference If device is no longer exists or not paired when notifications send it is possible to get double free and dereference of already freed memory. To avoid this we need to recheck the state of device after sending notification. Found by Linux Verification Center (linuxtesting.org) with the SVACE static analysis tool.
Diffstat
| M | src/gatt-database.c | | | 4 | ++++ |
1 files changed, 4 insertions(+), 0 deletions(-)