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

--- Comment #18 from fehmi noyan isi <fnoyan...@yahoo.com> ---
(In reply to Kristof Provost from comment #17)
Sounds a better approach than I suggested, thanks!

As the allocation size can be set by the user, don't you think mallocarray(9)
would be a better choice than malloc(9) in this case?

I see that you mentioned using mallocarray(9) could be a separate commit, but
once the code is updated to fix a memory allocation issue, it may pay to use
the new system call we have. What do you think?

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

Reply via email to