CVSROOT:        /cvs
Module name:    src
Changes by:     an...@cvs.openbsd.org   2019/04/25 12:24:39

Modified files:
        sys/net        : bpf.c 

Log message:
Lower the accepted upper bound for bd_rtout to INT_MAX in order to
prevent passing negative values to timeout_add().

While here, protect against unsigned wrap around during addition of
bd_rdStart and bd_rtout since it could also cause passing negative
values to timeout_add().

ok bluhm@

Reported-by: syzbot+6771e3d6d9567b398...@syzkaller.appspotmail.com

Reply via email to