Commit: 06c25421af1fddb3e978d309c7df86019f293fba
Parent: 74116be7b84cbd422fcc765c9ef5d1f65287a0db
Author: Bart Westgeest <bart@elbrys.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-11-20 14:52:34
Tree: 9eccb405fd256026a4a297fec6fa4990e2ebe4b5

sdp: Limit side effects of sdp_get_data_type and sdp_get_data_size Remove modification of buf->buf_size in 'get' functions. Data is still indirectly modified due to recursive nature of code. Renamed sdp_get_data_type to sdp_get_data_type_size.

Diffstat

M lib/sdp.c | 26 +++++++++- - - - - - - - - - - - - - - - -

1 files changed, 9 insertions(+), 17 deletions(-)

View Full Diff | Patch