* svr_iters.c (glob_to_regexp): Increment pointer, not character,
authorTom Yu <tlyu@mit.edu>
Tue, 27 Sep 2005 23:30:39 +0000 (23:30 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 27 Sep 2005 23:30:39 +0000 (23:30 +0000)
when handling backslash quoting.  Patch from K.G. Gokulavasan.

ticket: 3190
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17399 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/kadm5/srv/ChangeLog
src/lib/kadm5/srv/svr_iters.c

index 3161a7fbba0a7d46cab7c325214faaa1764d6465..d732231b6abf3014c0295f3e1f0517171c96908b 100644 (file)
@@ -1,3 +1,8 @@
+2005-09-27  Tom Yu  <tlyu@mit.edu>
+
+       * svr_iters.c (glob_to_regexp): Increment pointer, not character,
+       when handling backslash quoting.  Patch from K.G. Gokulavasan.
+
 2005-06-20  Ken Raeburn  <raeburn@mit.edu>
 
        Novell merge.
index ea1ee27cc473d3bb84e4ea82b4646fc5e252f13f..9493883807392a4fec3e423c935c8d76ce774e44 100644 (file)
@@ -108,7 +108,7 @@ static kadm5_ret_t glob_to_regexp(char *glob, char *realm, char **regexp)
               break;
          case '\\':
               *p++ = '\\';
-              *p++ = ++*glob;
+              *p++ = *++glob;
               break;
          default:
               *p++ = *glob;