forked from Lainports/freebsd-ports
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")
|
||
|---|---|---|
| .. | ||
| files | ||
| distinfo | ||
| Makefile | ||
| pkg-descr | ||