Author: trasz
Date: Tue Mar 25 11:43:09 2014
New Revision: 263714
URL: http://svnweb.freebsd.org/changeset/base/263714

Log:
  MFC r261766:
  
  Make ctld error out on invalid characters in ctl.conf.
  
  Sponsored by: The FreeBSD Foundation

Modified:
  stable/10/usr.sbin/ctld/token.l
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/usr.sbin/ctld/token.l
==============================================================================
--- stable/10/usr.sbin/ctld/token.l     Tue Mar 25 11:41:10 2014        
(r263713)
+++ stable/10/usr.sbin/ctld/token.l     Tue Mar 25 11:43:09 2014        
(r263714)
@@ -82,4 +82,5 @@ timeout                       { return TIMEOUT; }
 #.*$                   /* ignore comments */;
 \n                     { lineno++; }
 [ \t]+                 /* ignore whitespace */;
+.                      { yylval.str = strdup(yytext); return STR; }
 %%
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to