From ebd95f60fff81f39733895583d02d683087346ba Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Tue, 27 Sep 2005 23:30:39 +0000 Subject: [PATCH] * svr_iters.c (glob_to_regexp): Increment pointer, not character, 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 | 5 +++++ src/lib/kadm5/srv/svr_iters.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/lib/kadm5/srv/ChangeLog b/src/lib/kadm5/srv/ChangeLog index 3161a7fbb..d732231b6 100644 --- a/src/lib/kadm5/srv/ChangeLog +++ b/src/lib/kadm5/srv/ChangeLog @@ -1,3 +1,8 @@ +2005-09-27 Tom Yu + + * svr_iters.c (glob_to_regexp): Increment pointer, not character, + when handling backslash quoting. Patch from K.G. Gokulavasan. + 2005-06-20 Ken Raeburn Novell merge. diff --git a/src/lib/kadm5/srv/svr_iters.c b/src/lib/kadm5/srv/svr_iters.c index ea1ee27cc..949388380 100644 --- a/src/lib/kadm5/srv/svr_iters.c +++ b/src/lib/kadm5/srv/svr_iters.c @@ -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; -- 2.26.2