Commit: 472095161ee67cbecd930534a99abda31d18d1b4
Parent: 3c4e447bdfde060107ec9ba3af44e97a912625a1
Author: Syam Sidhardhan <syamsidhardh@gmail.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2011-09-18 12:36:43
Tree: 6062f6a9c9e1af69f0d5a1ce34e349facab5179c

Fix crash when update service record with an invalid XML If we pass an invalid xml to sdp_xml_parse_record(), then it returns NULL. Further we are passing the this NULL pointer to the sdp_record_free(), which leads to invalid memory access.

Diffstat

M plugins/service.c | 1 -

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

View Full Diff | Patch