Jessica Clarke 2986638550 pfctl: fix out-of-bounds access
If pfctl is called with "pfctl -a ''" we read outside of the anchoropt
buffer. Check that the buffer is sufficiently long to avoid that.

Maintain the existing (and desired, because it's used as such in
/etc/periodic/security/520.pfdenied) behaviour of treating "-a ''" as a
request for the root anchor (or no anchor specified).

PR:		264128
Reviewed by:	kp
2022-05-22 10:31:42 +02:00
..
2022-04-30 11:00:11 -07:00
2022-05-07 09:55:40 -06:00
2022-01-12 13:52:23 +08:00
2022-05-10 16:06:15 -07:00
2022-04-20 17:57:42 -06:00
2021-02-11 06:03:53 +01:00
2021-12-07 11:40:22 +01:00
2022-01-08 12:45:46 +02:00
2022-02-05 08:19:56 +00:00
2021-09-11 20:04:52 +08:00
2022-04-09 15:59:43 +00:00
2020-10-09 14:03:45 +00:00
2022-05-22 10:31:42 +02:00
2020-11-26 04:29:30 +00:00
2022-03-20 11:30:43 -07:00