OpenBSD/src 5ZNvUMDsys/net bpf.c

   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+6771e3d6d9567b3983aa at syzkaller.appspotmail.com
VersionDeltaFile
1.174+7-5sys/net/bpf.c
+7-51 files

UnifiedSplitRaw