CVSROOT: /cvs Module name: src Changes by: [email protected] 2021/09/18 13:44:46
Modified files:
usr.sbin/relayd: check_tcp.c
Log message:
check_send_expect() does some nasty ibuf magic to allow fn_match()
to work with a buffer that is not a real string.
The wpos is decremented in the wrong spot and would affect both
binary and non binary checks.
Simplify this code by using strndup.
OK rob@ benno@
