Commit: 8fe1e5e165ad7b4f7c318f507aa85cd747401b81
Parent: 51c34da9d693fe12d7c940f7224e830e41d8f1dd
Author: Tedd Ho-Jeong An <tedd.an@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2022-02-18 23:25:57
Tree: 9ef7fe044b20ea86ef57b42673685f11a76a8155

gobex: Fix read from pointer after free This patch sets the pointer to null after free since the g_free(p) doesn't set the pointer to NULL. This is reported by the Coverity. Fixes: 7e7d826aa1db ("gobex: Print error if data cannot be written")

Diffstat

M gobex/gobex.c | 2 ++

1 files changed, 2 insertions(+), 0 deletions(-)

View Full Diff | Patch