CVSROOT:        /cvs
Module name:    src
Changes by:     an...@cvs.openbsd.org   2019/02/20 00:00:31

Modified files:
        sys/dev/isa    : pcppi.c spkr.c 

Log message:
Reject negative input from userland in spkrioctl(). One of the arguments
are later passed to timeout_add() which panics if the given ticks are
negative. While here, clamp arguments in pcppi_bell() in order to
prevent overflow.

ok visa@

Reported-by: syzbot+23089c40a85aa70be...@syzkaller.appspotmail.com

Reply via email to