nih_watch_reader() doesn't handle inotify queue overflow
Bug #777093 reported by
James Hunt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libnih |
New
|
Undecided
|
Unassigned |
Bug Description
In situations where the kernel is generating events faster than can be consumed by simply ignoring them, nih_watch_
This bug is caused by nih_watch_reader() failing to take account of inotify queue overflow, (ironically) resulting in the kernel flooding the application with IN_Q_OVERFLOW events, which crucially specify a watch descriptor of -1.
Related branches
lp:~jamesodhunt/libnih/inotify-overflow-fix
Ready for review
for merging
into
lp:libnih/1.0
- Scott James Remnant (Canonical): Pending requested
-
Diff: 41 lines (+16/-0)2 files modifiedChangeLog (+8/-0)
nih/watch.c (+8/-0)
To post a comment you must log in.