https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209475

--- Comment #15 from Kristof Provost <[email protected]> ---
(In reply to fehmi noyan isi from comment #14)
> So, does this come down to supplying a default value and re-attempting 
> malloc() again?

I was thinking in that direction as well, yes. It's either that, or not
activating pf at all. Running it with a smaller state table might not be ideal,
but it's bound to be a lot better than running without firewall at all.

> Yes, that might help to avoid this bug, but I do not think FreeBSD has 
> mallocarray()?

It does now. It was added very recently (in head). man 9 mallocarray. It might
be worth doing that change in a separate commit.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-pf
To unsubscribe, send any mail to "[email protected]"

Reply via email to