|View Issue Details [ Jump to Notes ] ||[ Issue History ] [ Print ] |
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000018||Tasks||- none -||public||2011-09-28 10:45||2011-10-25 20:51|
|Assigned To|| |
|Product Version||Product Build|| |
|Target Version||0.5.5||Fixed in Version|| |
|Summary||0000018: FileSystemWatcher access to FOSWatchers is not protected properly|
|Description||On Linux in ExecuteWatcher access to FOSWatchers is not protected with a lock.|
On BSD in ExecuteWatcher the TOSWatch instance is taken from the kevent user data parameter but it could have been destroyed by the main thread before reading TOSWatch(ke.uData).WatchPath. If that is indeed possible implement a similar reference counting as in Windows part or some other mechanism.
On Windows I think it is OK due to completion routines always executed from main thread but it should be reviewed and confirmed anyway.
|Tags||No tags attached.|
|Fixed in Revision|