Parent: 9e2d91bc75ce093f3a8ff40288c3da0f19fae38d
Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2013-02-18 09:59:35
Tree: 57ff8f7fd00d15f4e99835649e16af320477a3dd
lib: Fix missing DTD validation while accessing SDP data elements It is necessary to validate the sdp_data_t "dtd" field before accessing the "val" union members, specially when handling SDP_SEQ*, SDP_ALT* and SDP_STR* elements, otherwise remote devices can trigger memory corruption by passing invalid data elements where others are expected.
Diffstat
| M | lib/sdp.c | | | 26 | ++++++++++++++++++++++++- - |
1 files changed, 24 insertions(+), 2 deletions(-)