Parent: 5316ed07d5640fa7d32a09b1739006c8b029f043
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2013-05-24 00:57:09
Tree: 00585e52be897618e6d3a23134102305fb50e69e
lib: Fix sdp_seq_alloc_with_length accessing invalid index/memory The sequence itself is not an index of dtds, values, lengths, thats why SDP_SEQ8 is used directly as dtd, so accessing length[i] is always off by one. Furthermore the length is not really used by sdp_data_alloc_with_length when the dtd is SDP_SEQ8 which is probably why it doesn't crash.
Diffstat
| M | lib/sdp.c | | | 2 | +- |
1 files changed, 1 insertions(+), 1 deletions(-)