Re: Should DTLS causing program abort when getting an incorrectly formatted fragment?

2011-10-19 Thread Robin Seggelmann
Hi, You're right, an OPENSSL_assert() is not an appropriate error handling here. The connection should just be terminated with an alert. I have submitted patch #2625 to change this. Thanks for the report! Best regards Robin On Oct 13, 2011, at 1:42 AM, zhu qun-ying wrote: Hi, While

Should DTLS causing program abort when getting an incorrectly formatted fragment?

2011-10-12 Thread zhu qun-ying
Hi, While working on DTLS, in d1_both.c:dtls1_get_message_fragment():787~866 There are calls to OPENSSL_assert (line 787): /* read handshake message header */ i=s-method-ssl_read_bytes(s,SSL3_RT_HANDSHAKE,wire, DTLS1_HM_HEADER_LENGTH, 0); if (i = 0)