Artifacts Associated With Ticket 1566382fffffffff
Ticket change [a492a57856] (rid 110227) by msofer on 2006-09-27 14:36:21:
- assignee initialized to: "andreas_kupries"
- cmimetype initialized to: "text/plain"
- 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.
- foundin initialized to: "None"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "msofer"
- subsystem initialized to: "24. Channel Commands"
- title initialized to: "NULL deref in Tcl_GetsObj?"
- type initialized to: "Bug"
Ticket change [4517ffc41a] (rid 116826) by andreas_kupries on 2006-09-27 22:21:12:
- 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.
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
- icomment:
Ticket change [caaae1f3d8] (rid 95397) by msofer on 2006-09-27 22:52:11:
- 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.>
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [bb116569a7] (rid 129413) by andreas_kupries on 2006-09-27 22:56:44:
- icomment:
Logged In: YES user_id=75003 Thanks. That should help.
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
- icomment:
Ticket change [19e69c03c7] (rid 122879) by hobbs on 2006-09-28 06:37:47:
- foundin changed to: "obsolete: 8.5a5"
- priority changed to: "8"
Ticket change [4115dd621b] (rid 116120) by msofer on 2006-09-29 02:25:43:
- closedate changed to: "2006-09-28T19:25:43"
- closer changed to: "msofer"
- icomment:
Logged In: YES user_id=148712 added two test'n'panic guards for possible NULL derefs
- login: "msofer"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "msofer"