In s3_pkt.c, there is a function called ssl3_write_bytes(). In that function, there is a statement :
 
s->handshake_func(s)
 
If the server is suddenly shutdown when the client is writing bytes to the server, this statement causes a segment fault error since s->handshake_func is NULL. I think it should be fixed as
 
If( s->handshake_func != NULL)
    s->handshake_func(s)
 
After this change, there is no segment fault anymore if the server is suddenly shutdown.
 
Gang

Reply via email to