Hi Anderson, > sdp_extract_attr() uses the "size" parameter to return the number of > bytes consumed when parsing SDP Data Elements. This size is used to > advance a buffer pointer to parse next element. > > This size was being incorrectly calculated for SDP_{TEXT,URL}_STR16 in > extract_str(), where the string length was added twice. The string > length is already added later in the function for {TEXT,URL}_STR{8,16} > by this statement: > > *len += n; > --- > lib/sdp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) patch has been applied. Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html