-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(#2211358) Fix memory corruption #396
(#2211358) Fix memory corruption #396
Conversation
Tracker - 2211358 The following commits meet all requirements
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This backport needs to be reworked. Concretely, introduction of new header file event-source.h
is fine but it needs to be paired with appropriate removals of type definitions from sd-event.c
. Now we have everything declared twice which is wrong.
CID #1393250. (cherry picked from commit 8c75fe1) Related: #2211358
Oops, that's a mistake. Apparently I've forgotten to remove it after I'd copied the needed stuff to |
…ndler This fixes a bad memory access when we destroy an inotify source handler from the handler itself, and thus destroy the associated inotify_data structures. Fixes: #20177 (cherry picked from commit 53baf2e) Resolves: #2211358
sd_event_add_inotify_fd() is like sd_event_add_inotify(), but takes an fd to an inode instead of a path, and is hence a ton nicer. (cherry picked from commit e67d738) Related: #2211358
(cherry picked from commit 035daf7) Related: #2211358
93b3463
to
486d3e0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Resolves: #2211358