Tcl UDP

Artifact [f1c5289d8f]
Login

Artifact [f1c5289d8f]

Artifact f1c5289d8ff48b39ad966fe50d0a893114b6ea042cd2b4ce511dfc77c75f451d:

Ticket change [f1c5289d8f] - New ticket [6599c152fd732301|6599c152fd] <i>udp_open and udp_conf error reporting</i>. by anonymous 2019-04-24 23:42:11.
D 2019-04-24T23:42:11.142
J foundin 1.0.11
J icomment The\sudpOpen\sfunction\shas\stwo\sproblems\swhen\sreporting\serrors.\sThe\sfirst\sis\sa\ssimple\stypo:\r\n\r\n\s\s\s\schar\serrmsg[]\s=\s"upd_open\s[remoteport]\s[ipv6]\s[reuse]";\r\n\r\nIt\sshould\sread\s"udp_open".\r\n\r\nThe\ssecond\sproblem\sis\smore\sserious.\sThe\scall\sto\sTcl_SetResult\sis:\r\n\r\n\s\s\s\sTcl_SetResult\s(interp,\serrmsg,\sNULL);\r\n\r\nThe\slast\sargument\sshould\sread\sTCL_VOLATILE,\ssince\sthe\serror\sstring\sis\sallocated\son\sthe\sstack.\sThe\svalue\sof\sNULL\sis\sequivalent\sto\sTCL_STATIC.\sThis\scould\scause\sa\ssegmentation\sfault.\r\n\r\nThe\sudpConf\sfunction\salso\scontains\sa\scall\sto\sTcl_SetResult\swith\sa\sNULL\sargument.
J login anonymous
J mimetype text/x-fossil-plain
J private_contact 1c57e67924247fd7926e89348f266c081ec57db2
J severity Severe
J status Open
J title udp_open\sand\sudp_conf\serror\sreporting
J type Code_Defect
K 6599c152fd732301e31ace28e4f7a01bccad93d2
U anonymous
Z 4f68dd44a2a72a32edfad9943b678cec