mirror of
https://github.com/darlinghq/darling-libkqueue.git
synced 2024-11-26 21:20:38 +00:00
Crash fix
This commit is contained in:
parent
24c025368b
commit
cf2248b1ed
@ -201,6 +201,7 @@ linux_kevent_copyout(struct kqueue *kq, int nready,
|
||||
if (kn->kev.filter == 0) {
|
||||
dbg_puts("kevent copyout for zero filter, discarding!");
|
||||
nret--;
|
||||
continue;
|
||||
}
|
||||
filt = &kq->kq_filt[~(kn->kev.filter)];
|
||||
rv = filt->kf_copyout(eventlist, kn, ev);
|
||||
|
Loading…
Reference in New Issue
Block a user