sip: fix match array size during packet validation #354

This commit is contained in:
Kaian 2021-04-20 18:03:45 +02:00
parent 32aa76de0b
commit 9fa8f2fa82
1 changed files with 1 additions and 1 deletions

View File

@ -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;