two segfaults in ruby inotify extension library
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libinotify-ruby (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: libinotify-ruby
Segfault #1 - Poor input type checking in rb_inotify_
Segfault #2 - Closing the inotify file descriptor in a separate thread may lead to fd reuse and segfault in rb_inotify_
Supplied patch provides tests to trigger these bugs and
a) adds a type check in rb_inotify_
b) sets the file descriptor to -1 in rb_inotify_close()
c) exits rb_inotify_
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: libinotify-ruby 0.0.2-4
ProcVersionSign
Uname: Linux 2.6.35-27-generic x86_64
Architecture: amd64
Date: Wed Mar 16 15:59:26 2011
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: libinotify-ruby
tags: | added: patch |
Hi Jeremy, thanks for your patch.
Can I ask, did you author this patch, and have you made any progress trying to report this issue+patch upstream?
Thanks.