From: Matt Caswell Date: Thu, 24 Jul 2014 22:33:34 +0000 (+0100) Subject: Added comment for the frag->reassembly == NULL case as per feedback from Emilia X-Git-Tag: OpenSSL_1_0_0n~12 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ad007e0aaf07af7a3e6aa6b4436722639a1c2296;p=oweals%2Fopenssl.git Added comment for the frag->reassembly == NULL case as per feedback from Emilia Reviewed-by: Emilia Käsper --- diff --git a/ssl/d1_both.c b/ssl/d1_both.c index f35861de62..48dcfe2901 100644 --- a/ssl/d1_both.c +++ b/ssl/d1_both.c @@ -639,7 +639,8 @@ dtls1_reassemble_fragment(SSL *s, struct hm_header_st* msg_hdr, int *ok) /* If message is already reassembled, this must be a - * retransmit and can be dropped. + * retransmit and can be dropped. In this case item != NULL and so frag + * does not need to be freed. */ if (frag->reassembly == NULL) {