K 10 svn:author V 3 cjc K 8 svn:date V 27 2001-06-21T19:17:15.000000Z K 7 svn:log V 693 Fixing a bug reported on freebsd-security. It is possible for non-printable characters to sneak into /var/log/messages (e.g. someone aims a Solaris/Linux RCP exploit at your FreeBSD box and you end up with his shellcode as part of a log entry). You might get something like, host.mydom.org login failures: Binary file (standard input) matches In the daily security script as a result. Allowing attackers to mess with your security script's ability to accurately report is a Bad Thing. Tell grep(1) to treat /var/log/messages like a text file even if it has non-printable characters. Submitted by: Tim Zingelman on freebsd-security Approved by: ru MFC after: 1 week END