diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2022-02-16 04:25:35 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2022-02-16 04:25:35 +0000 |
commit | 1cea3101da903c78d6e8888c4319699662a142ee (patch) | |
tree | f712fe772128329dbe5999f856a2abaaf3905cf0 /sys/netinet | |
parent | f73f53e7cbcf11e8ec5b5c0aed59489cefc6fc97 (diff) |
check pf rule "set prio" values consistently.
consistently means we do the check in pf_rule_copyin() so both
DIOCADDRULE and DIOCCHANGERULE have the prio values checked. this in
turn prevents invalid prio values getting set on a rule via
DIOCCHANGERULE.
this was caught by a kassert in the ifq priq code firing.
Reported-by: syzbot+a8f8e24a44b441e71d93@syzkaller.appspotmail.com
ok sashan@
Diffstat (limited to 'sys/netinet')
0 files changed, 0 insertions, 0 deletions