OSDN Git Service

lib: Validate DTDs when parsing BluetoothProfileDescriptorList
authorAnderson Lizardo <anderson.lizardo@openbossa.org>
Fri, 15 Feb 2013 15:07:52 +0000 (11:07 -0400)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 18 Feb 2013 08:01:06 +0000 (10:01 +0200)
commitbbabc6792ceec9894f9f67f2fa72c61f91b2f5e0
treeb317a950dd38c9ea3a4ceb2f013c7fdff4d3bfb8
parent1e75de470e439aaebce3f5c6370f64545026d7ac
lib: Validate DTDs when parsing BluetoothProfileDescriptorList

The "seq->val.dataseq != NULL" check is also removed from the for()
statement because it should be done after verifying that the data
element is a sequence (inside the "if (SDP_IS_SEQ(...))" block.)
lib/sdp.c