K 10 svn:author V 2 kp K 8 svn:date V 27 2020-04-24T15:27:56.968314Z K 7 svn:log V 292 MFC r360042: pf: Do not allow negative ps_len in DIOCGETSTATES Userspace may pass a negative ps_len value to us, which causes an assertion failure in malloc(). Treat negative values as zero, i.e. return the required size. Reported-by: syzbot+53370d9d0358ee2a059a@syzkaller.appspotmail.com END