.
D 2011-08-03T17:36:31
J assignee dgp
J cmimetype text/plain
J comment At\ssome\spoints\sin\sthe\sTCL\sC\ssource,\sas\swell\sas\sin\sinit.tcl,\sauto.tcl,\sand\sautoload.tcl,\sthere\sare\sare\sfile\sopen(read)\soperations\sthat\sdo\snot\scheck\sfirst\sto\ssee\sif\sthe\sfile\sexists.\s\sInstead,\sthey\srely\son\sa\scatch,\sor\sreacting\sto\sthe\sopen\scalls'\sreturn\scode.\s\n\nGranted,\sthis\sis\sa\sfairly\scommon\sprogramming\spractice,\sbut\sit\spresents\sa\shassle\sin\senvironments\swhere\sthe\ssystem\sis\ssubject\sto\shigh-level\sauditing\s(e.g.\sgovernment\ssystems).\sIn\sthose\scases,\severy\ssingle\sfailed\sfile\sopen\scall\sresults\sin\san\saudit\srecord\sbeing\sgenerated.\sOn\sa\ssystem\swith\shundreds\sof\susers,\sthis\scontributes\sto\sa\smanagement\sburden\sfor\sthe\sS/A.\n\nI\srecommend\sthat\seach\ssuch\sopen\sattempt\sbe\swrapped\swith\sa\s[file\sexists]\sor\sa\sstat()\scall\sin\sthe\sC.\s\n
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter sampsonr
J subsystem 38.\sInit\s-\sLibrary\s-\sAutoload
J title File\sopen\sfailures\saudited
J type Bug
K 3385749fffffffffffffffffffffffffffffffff
U sampsonr
Z fc37afa3af1f47bd9b084dc5c73b6a9e