diff options
Diffstat (limited to 'lib/libsdp')
-rw-r--r-- | lib/libsdp/search.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libsdp/search.c b/lib/libsdp/search.c index 42f162d..20fc7e3 100644 --- a/lib/libsdp/search.c +++ b/lib/libsdp/search.c @@ -167,6 +167,7 @@ sdp_search(void *xss, if (xpdu.pdu.pid == SDP_PDU_ERROR_RESPONSE || xpdu.pdu.tid != ss->tid || + xpdu.pdu.len > len || xpdu.len > xpdu.pdu.len) { ss->error = EIO; return (-1); |