Artifact
a2d814ebea3bf2a71d8da0e394c7919603caf117:
Ticket change
[a2d814ebea]
- New ticket
[104f2885bb302d7b|104f2885bb] <i>channel TAINT flag is wrong tool</i>.
by
dgp on
2016-07-14 16:35:40.
D 2016-07-14T16:35:40.530
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment Here's\sa\stest\sI\sput\stogether\sto\sdemo\sthat\sthe\r\nCHANNEL_TAINT\sflag\sis\simproperly\scleared:\r\n\r\ntest\sio-74.1\s{improper\sclear\sof\sCHANNEL_TAINT}\s-setup\s{\r\n\s\s\s\sset\sfn\s[makeFile\s{}\sio-74.1]\r\n\s\s\s\sset\srfd\s[open\s$fn\sr]\r\n\s\s\s\stestobj\sfreeallvars\r\n\s\s\s\sinterp\screate\sslave\r\n}\s-constraints\stestobj\s-body\s{\r\n\s\s\s\steststringobj\sset\s1\s[string\srange\s$rfd\s0\send]\r\n\s\s\s\sread\s[teststringobj\sget\s1]\t\t\r\n\s\s\s\stestobj\sduplicate\s1\s2\r\n\s\s\s\sinterp\stransfer\s{}\s$rfd\sslave\r\n\s\s\s\scatch\s{read\s[teststringobj\sget\s1]}\r\n\s\s\s\sread\s[teststringobj\sget\s2]\t\t\r\n}\s-cleanup\s{\r\n\s\s\s\sinterp\sdelete\sslave\r\n\s\s\s\stestobj\sfreeallvars\r\n\s\s\s\sremoveFile\sio-74.1\r\n}\s-returnCodes\serror\s-match\sglob\s-result\s{can\snot\sfind\schannel\snamed\s"*"}\r\n\r\nNow\sit\sis\sclear\sto\sme\sthat\sthe\sanswer\sis\snot\sa\smatter\r\nof\sgetting\streatment\sof\sthe\sflag\scorrected.\sA\sflag\sis\ssimply\r\nthe\swrong\stool.\r\n\r\nTo\scache\sthe\sresolution\sof\sa\schannel\sname\sin\sa\sparticular\r\ncontext,\swe\sneed\sto\suse\sthe\ssame\sepoch\sscheme\swe\suse\r\nfor\sother\sthings\sthat\sare\srecords\sof\sresolutions\sin\sa\scontext\r\nthat\smay\svary\sover\stime.
J foundin 8.5+
J is_private 0
J login dgp
J priority 5\sMedium
J resolution None
J severity Minor
J status Open
J submitter dgp
J subsystem 25.\sChannel\sSystem
J title channel\sTAINT\sflag\sis\swrong\stool
J type Bug
K 104f2885bb302d7bf43819e6086f49c3cb59263e
U dgp
Z b78edf4736eeff653d6c859948835154