Typo: set i to -1 before goto.
PR#3302 (cherry picked from commit 9717f01951f976f76dd40a38d9fc7307057fa4c4)
This commit is contained in:
parent
de8a5b523f
commit
6468866823
@ -679,8 +679,8 @@ dtls1_reassemble_fragment(SSL *s, struct hm_header_st* msg_hdr, int *ok)
|
|||||||
item = pitem_new(seq64be, frag);
|
item = pitem_new(seq64be, frag);
|
||||||
if (item == NULL)
|
if (item == NULL)
|
||||||
{
|
{
|
||||||
goto err;
|
|
||||||
i = -1;
|
i = -1;
|
||||||
|
goto err;
|
||||||
}
|
}
|
||||||
|
|
||||||
pqueue_insert(s->d1->buffered_messages, item);
|
pqueue_insert(s->d1->buffered_messages, item);
|
||||||
|
Loading…
Reference in New Issue
Block a user