Skip to content
Snippets Groups Projects
Commit ff57cd58 authored by Jan Kara's avatar Jan Kara
Browse files

fsnotify: Allocate overflow events with proper type


Commit 7053aee2 "fsnotify: do not share events between notification
groups" used overflow event statically allocated in a group with the
size of the generic notification event. This causes problems because
some code looks at type specific parts of event structure and gets
confused by a random data it sees there and causes crashes.

Fix the problem by allocating overflow event with type corresponding to
the group type so code cannot get confused.

Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent 482ef06c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment