diff options
author | kn <kn@cvs.openbsd.org> | 2019-03-30 02:45:15 +0000 |
---|---|---|
committer | kn <kn@cvs.openbsd.org> | 2019-03-30 02:45:15 +0000 |
commit | 74691204aab14709482b9197635fb357a868dcdb (patch) | |
tree | c8660d714c4f8283f3b22c648d00dace8c389f35 /regress/sbin | |
parent | a3c5ad74033591a98c9389265d084aa003b0ae2b (diff) |
Fail on invalid netmasks when filling tables
Fix a regression of revision 1.326 "Zap v4mask and v6mask in host()" which
allowed CIDR networks with more than one "/" to be loaded into tables.
I took care of this code path with regard to rules coming the ruleset
parser, which aborts earlier on such invalid specifications, but missed
`-T add 1/2/3' and the like.
Analyzed and fixed by Petr Hoffmann <petr dot hoffmann at oracle dot com>,
thanks!
OK deraadt
Diffstat (limited to 'regress/sbin')
0 files changed, 0 insertions, 0 deletions