Skip to content
Tcl Source Code History Of Ticket b4af93cd9f
Login

History Of Ticket b4af93cd9f

Artifacts Associated With Ticket b4af93cd9f

  1. Ticket change [e19649bad1] (rid 209767) by dgp on 2023-03-06 17:30:50:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-plain"
    4. comment initialized to:
      valgrind run reports uninitialized bytes usage in http11-1.13.0:
      
      ==26164== Syscall param socketcall.getsockopt(optlen) points to uninitialised byte(s)
      ==26164==    at 0x586E8EA: getsockopt (in /usr/lib64/libc-2.17.so)
      ==26164==    by 0x5D4D28: TcpGetOptionProc (tclUnixSock.c:1045)
      ==26164==    by 0x5468A6: Tcl_GetChannelOption (tclIO.c:8144)
      ==26164==    by 0x54D074: Tcl_FconfigureObjCmd (tclIOCmd.c:785)
      ==26164==    by 0x434E1F: Dispatch (tclBasic.c:4997)
      ==26164==    by 0x434EA7: TclNRRunCallbacks (tclBasic.c:5037)
      ==26164==    by 0x434773: Tcl_EvalObjv (tclBasic.c:4756)
      ==26164==    by 0x436DD5: TclEvalEx (tclBasic.c:5913)
      ==26164==    by 0x559F7D: Tcl_FSEvalFileEx (tclIOUtil.c:1782)
      ==26164==    by 0x5669A6: Tcl_MainEx (tclMain.c:405)
      ==26164==    by 0x410188: main (tclAppInit.c:94)
      ==26164==  Address 0x1ffeffe6bc is on thread 1's stack
      ==26164==  in frame #1, created by TcpGetOptionProc (tclUnixSock.c:900)
      
    5. foundin initialized to: "core-8-branch"
    6. is_private initialized to: "0"
    7. login: "dgp"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "8e2300e85be5dd1445b9666eb9429055951e33be"
    10. resolution initialized to: "None"
    11. severity initialized to: "Important"
    12. status initialized to: "Open"
    13. submitter initialized to: "dgp"
    14. subsystem initialized to: "29. http Package"
    15. title initialized to: "uninitialized bytes in http11-1.13.0"
    16. type initialized to: "Bug"
  2. Ticket change [ca568fa4d8] (rid 209768) by dgp on 2023-03-06 17:34:18:

    1. icomment:
      
      Very likely same issue exposed by test socket_inet-7.3:
      
      ==26857== Syscall param socketcall.getsockopt(optlen) points to uninitialised byte(s)
      ==26857==    at 0x586E8EA: getsockopt (in /usr/lib64/libc-2.17.so)
      ==26857==    by 0x5D4D28: TcpGetOptionProc (tclUnixSock.c:1045)
      ==26857==    by 0x5468A6: Tcl_GetChannelOption (tclIO.c:8144)
      ==26857==    by 0x54D074: Tcl_FconfigureObjCmd (tclIOCmd.c:785)
      ==26857==    by 0x434E1F: Dispatch (tclBasic.c:4997)
      ==26857==    by 0x434EA7: TclNRRunCallbacks (tclBasic.c:5037)
      ==26857==    by 0x434773: Tcl_EvalObjv (tclBasic.c:4756)
      ==26857==    by 0x436DD5: TclEvalEx (tclBasic.c:5913)
      ==26857==    by 0x559F7D: Tcl_FSEvalFileEx (tclIOUtil.c:1782)
      ==26857==    by 0x5669A6: Tcl_MainEx (tclMain.c:405)
      ==26857==    by 0x410188: main (tclAppInit.c:94)
      ==26857==  Address 0x1ffeffe70c is on thread 1's stack
      ==26857==  in frame #1, created by TcpGetOptionProc (tclUnixSock.c:900)
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  3. Ticket change [4100e9208f] (rid 209770) by apnadkarni on 2023-03-06 17:57:50:

    1. icomment:
      Most likely because size needs to be initialized to sizeof(opt) before the call to getsockopt on line 1045.
      
    2. login: "apnadkarni"
    3. mimetype: "text/x-markdown"
  4. Ticket change [17a4aaef16] (rid 209774) by dgp on 2023-03-06 18:18:31:

    1. icomment:
      
      Thanks.  That does seem to fix it.  Fix committed to a branch.  If it looks
      ok to you, either merge it, or tell me I should merge it.
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  5. Ticket change [b6bdf075f8] (rid 209788) by apnadkarni on 2023-03-07 01:41:05:

    1. icomment: "Please go ahead and merge it. Thanks"
    2. login: "apnadkarni"
    3. mimetype: "text/plain"
  6. Ticket change [e0506be233] (rid 209852) by jan.nijtmans on 2023-03-07 20:11:09:

    1. assignee changed to: "apnadkarni"
    2. closedate changed to: "2460011.34108222"
    3. closer changed to: "jan.nijtmans"
    4. icomment: "Fixed [2dff4cb44b79138e|here]"
    5. login: "jan.nijtmans"
    6. mimetype: "text/x-fossil-wiki"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
  7. Ticket change [73960fa184] (rid 209897) by dgp on 2023-03-08 13:42:04:

    1. closedate changed to: "2460012.07089106"
    2. closer changed to: "dgp"
    3. icomment: "Thanks!"
    4. login: "dgp"
    5. mimetype: "text/plain"