diff options
author | Steve Langasek <vorlon@debian.org> | 2008-07-22 16:43:20 -0700 |
---|---|---|
committer | Steve Langasek <steve.langasek@ubuntu.com> | 2019-01-03 16:11:21 -0800 |
commit | 843084447fc16d07d6a36660187d19d1392c6abb (patch) | |
tree | b5de3c9ff768666a520547a92cc5741dced1c630 /debian/patches-applied | |
parent | 4041e6fb4780473b1374e3bbf3f3d312a8017374 (diff) |
* Patch 022_pam_unix_group_time_miscfixes: partially merged upstream;
now is really just "pam_group_miscfixes".
Diffstat (limited to 'debian/patches-applied')
-rw-r--r-- | debian/patches-applied/022_pam_unix_group_time_miscfixes | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/debian/patches-applied/022_pam_unix_group_time_miscfixes b/debian/patches-applied/022_pam_unix_group_time_miscfixes index e96dd680..44ee8783 100644 --- a/debian/patches-applied/022_pam_unix_group_time_miscfixes +++ b/debian/patches-applied/022_pam_unix_group_time_miscfixes @@ -1,24 +1,5 @@ * Add support for credential reinitialization in pam_group, closes: #108697 - * By default do complete matches not substring matches for pam_time. - You can include explicit wildcard for substring, closes: #66152 -Index: Linux-PAM/modules/pam_time/pam_time.c -=================================================================== ---- Linux-PAM/modules/pam_time/pam_time.c.orig -+++ Linux-PAM/modules/pam_time/pam_time.c -@@ -324,7 +324,11 @@ - return FALSE; - } - } -- return ( !len ); -+ /* By this point we know that we didn't treat a * in b as a wildcard. -+ the only way we got done with the loop is if we consumed every -+ character in b. Thus the strings are equal if their -+ lengths are the same otherwise not equal. */ -+ return (strlen (a) == strlen (b)); - } - - typedef struct { Index: Linux-PAM/modules/pam_group/pam_group.c =================================================================== --- Linux-PAM/modules/pam_group/pam_group.c.orig |