From 9fa8f2fa826b2ce20d93652b68d0bd470ddfb999 Mon Sep 17 00:00:00 2001 From: Kaian Date: Tue, 20 Apr 2021 18:03:45 +0200 Subject: [PATCH] sip: fix match array size during packet validation #354 --- src/sip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sip.c b/src/sip.c index d159da4..5d00454 100644 --- a/src/sip.c +++ b/src/sip.c @@ -262,7 +262,7 @@ sip_validate_packet(packet_t *packet) { uint32_t plen = packet_payloadlen(packet); u_char payload[MAX_SIP_PAYLOAD]; - regmatch_t pmatch[3]; + regmatch_t pmatch[4]; char cl_header[10]; int content_len; int bodylen;