summaryrefslogtreecommitdiffstats
path: root/usr.bin/file/patchlevel.h
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2003-03-11 17:54:06 +0000
committermillert <millert@openbsd.org>2003-03-11 17:54:06 +0000
commit8ad601a81f276e5d822aeb638530d21b265d54f6 (patch)
treeeae9ee1349fd0b5ef9d77525abd022fc6e6c98d7 /usr.bin/file/patchlevel.h
parentforward 8021Q packets with vlan header if the destination interface has (diff)
downloadwireguard-openbsd-8ad601a81f276e5d822aeb638530d21b265d54f6.tar.xz
wireguard-openbsd-8ad601a81f276e5d822aeb638530d21b265d54f6.zip
Catch more syntax errors that were previously ignored. I've rewritten
get_number() to be more careful about what it accepts and to take a string of terminating characters so it knows what is valid. Also added a range check so that ranges like "60-50" where the first number is greater than the second are now flagged. Thanks to mpech@ for testing finding ways to abuse the parser :-)
Diffstat (limited to 'usr.bin/file/patchlevel.h')
0 files changed, 0 insertions, 0 deletions