Replace qstrlen with qstrnlen.
When we get an inotify event, we use qstrlen on event->name to get the event name. If event->name is not null terminated, bad things will happen. Use qstrnlen to avoid them.
parent
904f3ec7
Please register or sign in to comment