I found these cases where we can use mallocarray and since we are using
M_NOWAIT, the code is ready for the possibility of a NULL value returned.
Details
Details
- Reviewers
kp glebius pfg ae - Commits
- rS327829: netpfil/ipfw: Make some use of mallocarray(9).
Passed buildworld.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
ae@ is probably the best person to talk to about ipfw, so you may want to cc him too.
That said, this is pretty straightforward and it looks right to me.