]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf tests: Try to provoke the panic with invalid DIOCRSETTFLAGS
authorkp <kp@FreeBSD.org>
Wed, 17 Apr 2019 16:45:35 +0000 (16:45 +0000)
committerkp <kp@FreeBSD.org>
Wed, 17 Apr 2019 16:45:35 +0000 (16:45 +0000)
commitecd736d94d9510d6781500167b05e2d87dc32f89
treeb8cfcf62d0c160606808afc2655c2dfecd8234de
parent9fe8ed111f18d413ebda396bfd9ade8d03fd41b3
pf tests: Try to provoke the panic with invalid DIOCRSETTFLAGS

There was an issue with copyin() on DIOCRSETTFLAGS, which would panic if
pfrio_buffer was NULL.
Test for the issue fixed in r346319.

MFC after: 1 week
Event: Aberdeen hackathon 2019
tests/sys/netpfil/pf/ioctl/validation.c