Skip to content
Tcl Source Code History Of Ticket 1566382
Login

History Of Ticket 1566382

Artifacts Associated With Ticket 1566382

  1. Ticket change [a492a57856] (rid 110227) by msofer on 2006-09-27 14:36:21:

    1. assignee initialized to: "andreas_kupries"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Coverity bug report #33 claims that bufPtr could be
      NULL at line 3999 of tclIO.c (right after gotEOL:).
      
      I've looked at it, and could not disprove it
      immediately.  Due to the call to FilterInputBytes at
      line 3825, either this line is not reached, or bufPtr
      was not NULL to begin with, or bufPtr is set to
      statePtr->inQueueTail.
      
      I gave up right there, no use studying that whole logic
      when others can do it much more efficiently: hence this
      request for a look by a wiser maintainer.
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "msofer"
    10. subsystem initialized to: "24. Channel Commands"
    11. title initialized to: "NULL deref in Tcl_GetsObj?"
    12. type initialized to: "Bug"
  2. Ticket change [4517ffc41a] (rid 116826) by andreas_kupries on 2006-09-27 22:21:12:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      Does coverity provide information about the chain of events
      which can lead to NULL ? I.e. why it is convinced that
      bufPtr can be NULL at that location ? If yes this
      infomration should be added to this report. The IO system is
      complex enough that I do not wish to crawl through it given
      that the coverity tools should have the info about I need to
      reconstruct the problem. I.e. why should I/you search for
      the code path to (dis)prove its conclusions if it can tell
      us the code path in question.
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  3. Ticket change [caaae1f3d8] (rid 95397) by msofer on 2006-09-27 22:52:11:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      Coverity has annotated and cross-ref'ed source. In their
      parlance, this is FORWARD_NULL error. The relevant entries are:
      
      * at line 3788
        <Event var_compare_op: Added "bufPtr" due to comparison
      "bufPtr != 0">
      (meaning: as you are comparing it to NULL, I assume it can
      be NULL)
      
      * at line 3809
      <Event alias_transfer: Variable "(gs).bufPtr" tracked as
      NULL because of assignment to "bufPtr">
      
      * at line 3997
      <Event alias_transfer: Variable "bufPtr" tracked as NULL
      because of assignment to "(gs).bufPtr">
      
      * at line 3999
      <Event var_deref_op: Variable "bufPtr" tracked as NULL was
      dereferenced.>
      
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  4. Ticket change [bb116569a7] (rid 129413) by andreas_kupries on 2006-09-27 22:56:44:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      Thanks. That should help.
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  5. Ticket change [19e69c03c7] (rid 122879) by hobbs on 2006-09-28 06:37:47:

    1. foundin changed to: "obsolete: 8.5a5"
    2. priority changed to: "8"
  6. Ticket change [4115dd621b] (rid 116120) by msofer on 2006-09-29 02:25:43:

    1. closedate changed to: "2006-09-28T19:25:43"
    2. closer changed to: "msofer"
    3. icomment:
      Logged In: YES 
      user_id=148712
      
      added two test'n'panic guards for possible NULL derefs
      
      
    4. login: "msofer"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "msofer"