Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e1724074645fd791b1a56b33f47a608f73a2035f
Ticket: 4d5ae7d88afc99c9039b66c4e942d45ecdb6f986
crash in [socket]
User & Date: dkf on 2016-10-04 19:06:18
Changes

  1. assignee changed to: "dkf"
  2. icomment:
    That looks like a good change to me; the logic to handle what happens when the list of addresses is empty seems weird, and when mixed with asynchronous connection... well, I'm not surprised that things get to the end in a wrong state.
    
    I suspect that we ought to consider rewriting the logic of <tt>TcpConnect</tt> to not have a weird jump into the middle of a loop, but instead use an entirely different path. It would at least make my hackles rise less as the basic block graph would become conventional! But that's not to say that we shouldn't apply this patch; it's clearly an improvement as it doesn't initialise a key variable from an unknown source.
    
    The problematic pattern appears to also exist in 8.6. I'll sort it out.
    
  3. login: "dkf"
  4. mimetype: "text/x-fossil-wiki"
  5. priority changed to: "9 Immediate"
  6. resolution changed to: "Accepted"
  7. username: "dkf"