OSDN Git Service

lib: Add range check for SDP_SVC_ATTR_RSP/SDP_SVC_SEARCH_ATTR_RSP
authorAnderson Lizardo <anderson.lizardo@openbossa.org>
Mon, 4 Feb 2013 01:20:44 +0000 (21:20 -0400)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 15 Feb 2013 10:37:03 +0000 (12:37 +0200)
commit1796f00e846561af80679efba4d7c36c78710fb6
treeaedba5738188b0985c77a3ff6b4d0edae16894a1
parent870fe03a79fa990c40f37f037e9236dba11811e2
lib: Add range check for SDP_SVC_ATTR_RSP/SDP_SVC_SEARCH_ATTR_RSP

According to SDP spec, the byte count fields for these PDUs have a valid
range of 0x0002-0xFFFF.
lib/sdp.c