fixed stack smashing around reinterpreted inotify_event struct from byte buf