diff options
author | 2007-01-08 20:46:18 +0000 | |
---|---|---|
committer | 2007-01-08 20:46:18 +0000 | |
commit | e300b621f8ddeadf9f0bf52336263d70e3f490a4 (patch) | |
tree | 929205d3fbd0d1e28f5484be8743ef9808252e3a /usr.sbin/hoststatectl/parser.c | |
parent | No need to re-init on every media change. (diff) | |
download | wireguard-openbsd-e300b621f8ddeadf9f0bf52336263d70e3f490a4.tar.xz wireguard-openbsd-e300b621f8ddeadf9f0bf52336263d70e3f490a4.zip |
do NOT use the regexp interface. it is way to complicated, error-prone
and we don't know about all the possible security problems.
change the check send/expect code to use the fnmatch(3) interface
using shell globbing rules instead. this allows simple patterns like
"220 * ESMTP*" or "SSH-[12].??-*".
suggested by deraadt@ and otto@
ok Pierre-Yves Ritschard (pyr at spootnik dot org)
Diffstat (limited to 'usr.sbin/hoststatectl/parser.c')
0 files changed, 0 insertions, 0 deletions