Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ce0f1f52fce69412467b4101c6a82e337aa4f7d9
Ticket: 0f94f855cafed92d0e174b7d835453a02831b4dd
Infinite loop on writing to TLS channel on negotiation failure
User & Date: apnadkarni on 2015-04-03 05:56:43
Changes

  1. icomment:
    I am inclined to disagree with aku for a couple of reasons. The specific bug being reported is an infinite loop when negotiation fails, NOT that the negotiation fails. It appears from dgp's test that the negotiation does NOT fail on linux for whatever reason (including the defaults that openssl was compiled with) so it is difficult to tell what would happen on that platform if negotiation were indeed to fail.
    
    Secondly, the trace I summarized in a previous comments is completely in platform independent code. TLS detects EOF and returns 0, FlushChannel decrements remaining byte count by 0, and keeps looping. Of course it is possible that detection of EOF differs between platforms but nevertheless there is a disconnect (pun unintended) between how TLS thinks EOF should be indicated and how the FlushChannel expects it.
    
  2. login: "apnadkarni"
  3. mimetype: "text/plain"