When growing the state, remember to grow the seed array, otherwise we'll end
up accessing memory we did not allocate.
Submitted by christos@netbsd.org
Differential D13755
Resolve ipfilter seed array size panic cy on Jan 3 2018, 9:08 PM. Authored by Tags None Referenced Files
Subscribers
Details When growing the state, remember to grow the seed array, otherwise we'll end Submitted by christos@netbsd.org tinderbox. Currently running on my firewall/gateway and laptop.
Diff Detail
Event TimelineComment Actions Please see my comment inline. Other than that random number generation, the change looks fine to me.
Comment Actions On visual inspection this looks good, I do not run pf or stateful so I can not do any real world testing. Please make sure the commit message includes a comment about refactoring common code to a new function ipf_state_seed_alloc. |