View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000018 | Tasks | - none - | public | 2011-09-28 14:45 | 2011-10-26 00:51 |
Reporter | cobines | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | new | Resolution | open | ||
Projection | none | ETA | none | ||
Target Version | 0.5.5 | ||||
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 | |||||
Operating system | |||||
Widgetset | |||||
Architecture | |||||
Workload | Unspecified | ||||