|Newer page:||version 8||Last edited on Friday, May 5, 2006 5:28:57 pm||by LawrenceDoliveiro|
|Older page:||version 7||Last edited on Thursday, May 4, 2006 9:28:25 am||by IanMcDonald||Revert|
@@ -2,4 +2,7 @@
Many security-related RaceCondition~s have been found where programs would check file properties (such as existence, permissions, and/or ownership) before operating on a file. The obvious implementation of this is a RaceCondition, because these file properties can be changed between the check and operation. File operations should if at all possible be [Atomic].
A DeadLock is perfered to a RaceCondition, because with a DeadLock, something is obviously wrong, whereas a RaceCondition can give no indication of a problem until someone notices corrupt data or a security breach.