diff options
author | Seyed Pouria Mousavizadeh Tehrani <p.mousavizadeh@protonmail.com> | 2025-08-21 17:40:29 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2025-09-04 18:15:15 +0000 |
commit | bb5b0c1624fb6a7032367d3d0c460d407756cba3 (patch) | |
tree | 861ca53e61ad5b71bd258f348175d09f7f6be42b /share/doc/psd/20.ipctut | |
parent | 2e25db21976b04a6c62ba927ed0a8bea583bc07f (diff) |
ipfw: Fix segfault in NPTv6 rule parserstable/13
If the user specified a prefix length with either the internal or
external prefix, we'd jump to check_prefix where we'd dereference p
which was most likely uninitialized.
Instead, store the various prefix lengths separately and check them
all after the loop.
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D50597
(cherry picked from commit 64bc9ac8cd9a42259aeb1715d4e14902aa83fcac)
Diffstat (limited to 'share/doc/psd/20.ipctut')
0 files changed, 0 insertions, 0 deletions