Fix bounds error.

svn path=/trunk/; revision=17412
This commit is contained in:
Jaap Keuter 2006-02-25 13:54:00 +00:00
parent 27e2c87833
commit 32dfb9b404
1 changed files with 1 additions and 1 deletions

View File

@ -2097,7 +2097,7 @@ guint sip_is_packet_resend(packet_info *pinfo,
p_val->cseq = cseq_number;
strncpy(&p_val->method, cseq_method, MAX_CSEQ_METHOD_SIZE-1);
p_val->method[MAX_CSEQ_METHOD_SIZE] = '\0';
p_val->method[MAX_CSEQ_METHOD_SIZE-1] = '\0';
p_val->transaction_state = nothing_seen;
p_val->frame_number = 0;