OSDN Git Service

sdp: Fix memory issues to avoid potential crash
authorVikrampal Yadav <vikram.pal@samsung.com>
Mon, 16 Jun 2014 10:46:47 +0000 (16:16 +0530)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 16 Jun 2014 13:09:12 +0000 (16:09 +0300)
commit20e74fef8785156cc8ac8b2415f218c1905fe4fa
tree7143a43de2dfeb2e468c65ba1700927cd10ee92d
parent5f7c9ffd76887b0473d66443ac6b3a2454ba2887
sdp: Fix memory issues to avoid potential crash

NULL pointer check added to handle memory allocation
failure scenarios.
src/sdp-xml.c
src/sdpd-database.c