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