.
D 2018-04-06T14:05:10.301
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment The\s'file\sdelete'\scommand\scan\sfail\swith\s"no\ssuch\sfile\sor\sdirectory",\sbut\sit\sis\r\nsupposed\sto\sreturn\ssuccessfully\sin\sthis\scase.\r\n\r\nThis\scan\shappen\swhen\sanother\sprocess\sremoves\sthe\sfile\sexactly\sbetween\sthe\r\nsystem\scalls\sto\sstat(2)\sand\sunlink(2)\sin\sTclFileDeleteCmd(),\swhich\sis\sa\sclassic\r\nTOCTTOU\srace\scondition.\r\n\r\nI\swill\sattach\sa\spatch\sthat\sadds\san\sadditional\scheck\sfor\sthe\sresult\sof\r\nTcl_FSDeleteFile()\sand\sif\sit\swas\sENOENT,\sthe\scommand\sis\sconsidered\ssuccessful.
J foundin 8.5
J is_private 0
J login raimue
J priority 5\sMedium
J private_contact 6a91daf82c63c43a25145a0cf9805b11645e1aa7
J resolution None
J severity Minor
J status Open
J submitter raimue
J subsystem 37.\sFile\sSystem
J title file\sdelete\scan\sreturn\san\serror\sif\sfile\swas\salready\sdeleted
J type Patch
K 27b682284974d0cdf4686f31adcb9ee39a0befa6
U raimue
Z c4b5ce7508ee261d3e1280598fbcf4a5