ports/net/libpfctl
Kristof Provost abeb8cdf5d net/libpfctl: fix pfctl_do_ioctl()
pfctl_do_ioctl() copies the packed request data into the request buffer
and then frees it. However, it's possible for the buffer to be too small
for the reply, causing us to allocate a new buffer. We then copied from
the freed request, and freed it again.

Do not free the request buffer until we're all the way done.

While updating also include a few other minor bugfixes
 - handle allocation failure
 - handle pfctl_do_ioctl() failures better

Sponsored by:	Rubicon Communications, LLC ("Netgate")
2023-11-17 18:50:54 +01:00
..
files
distinfo net/libpfctl: fix pfctl_do_ioctl() 2023-11-17 18:50:54 +01:00
Makefile net/libpfctl: fix pfctl_do_ioctl() 2023-11-17 18:50:54 +01:00
pkg-descr