Bugzilla – Attachment #821491: CVE-2016-9798-hcidump-Fixed-malformed-segment-frame-length.patch for bug #1013712
scid, btohs(h->flags), result, clen);
if (clen > 0) {
if (clen != (btohs(frm->len) - L2CAP_CONF_RSP_SIZE)) {
fprintf(stderr, "Not match the actual frame length\n");
clen = btohs(frm->len) - L2CAP_CONF_RSP_SIZE;
}
if (result) {
p_indent(level + 1, frm);
printf("%s\n", confresult2str(result));
-