svn commit: r316023 - head/usr.sbin/jail

Jamie Gritton jamie at FreeBSD.org
Mon Mar 27 13:37:42 UTC 2017


Author: jamie
Date: Mon Mar 27 13:37:40 2017
New Revision: 316023
URL: https://svnweb.freebsd.org/changeset/base/316023

Log:
  Same as r316022 (Fix hexadecimal escape codes in jail.conf(5)),
  but do it right this time.
  
  Reported by:	Kyle Evans <Kyle Evans>
  MFC after:	3 days

Modified:
  head/usr.sbin/jail/jaillex.l

Modified: head/usr.sbin/jail/jaillex.l
==============================================================================
--- head/usr.sbin/jail/jaillex.l	Mon Mar 27 13:27:39 2017	(r316022)
+++ head/usr.sbin/jail/jaillex.l	Mon Mar 27 13:37:40 2017	(r316023)
@@ -216,7 +216,7 @@ text2lval(size_t triml, size_t trimr, in
 				*d = *++s - '0';
 			else if (s[1] >= 'A' && s[1] <= 'F')
 				*d = *++s + (0xA - 'A');
-			else if (s[1] >= 'a' && s[1] <= 'F')
+			else if (s[1] >= 'a' && s[1] <= 'f')
 				*d = *++s + (0xa - 'a');
 			else
 				break;


More information about the svn-src-head mailing list