K 10 svn:author V 7 git2svn K 8 svn:date V 27 2021-02-03T14:21:33.866315Z K 7 svn:log V 497 pf: Improve pf_rule input validation Move the validation checks to pf_rule_to_krule() to reduce duplication. This also makes the checks consistent across different ioctls. Reported-by: syzbot+e9632d7ad17398f0bd8f@syzkaller.appspotmail.com Reviewed by: tuexen@, donner@ MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D28362 (cherry picked from commit 7a808c5ee3296fdb72d8e8bc6c7ad6f316a520ab) Git Hash: 71abbe15d01f73a4e55a732f21180d339eab631d Git Author: kp@FreeBSD.org END