Diff between e01141697ab2ec6027eaec67360f411194d7e4e9 and 504a0cf46ad89cab8005ce9cffb22e41048f6a30
Changed Files
| File | Additions | Deletions | Status |
| lib/sdp.c | +1 | -1 | modified |
Full Patch
diff --git a/lib/sdp.c b/lib/sdp.c
index ca474cd..b87f392 100644
--- a/lib/sdp.c
+++ b/lib/sdp.c
@@ -1176,7 +1176,7 @@ static sdp_data_t *extract_str(const void *p, int bufsize, int *len)
}
n = bt_get_be16(p);
p += sizeof(uint16_t);
- *len += sizeof(uint16_t) + n;
+ *len += sizeof(uint16_t);
bufsize -= sizeof(uint16_t);
break;
default: