[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

pam_group patch



Hi,

thanks to Emmanuel Galanos for finding this.. Here is a patch for
modules/pam_group/pam_group.c

Index: pam_group.c
===================================================================
RCS file: /var/proj/cvsroot/pam/Linux-PAM/modules/pam_group/pam_group.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 pam_group.c
--- pam_group.c 1998/07/12 05:17:16     1.1.1.1
+++ pam_group.c 1998/07/22 04:11:23
@@ -734,6 +734,10 @@
 
     } while (buffer);
 
+    if (fd != -1) {
+       close(fd);
+    }
+
     /* now set the groups for the user */
 
     if (no_grps > 0) {

Please try it and tell me if it solves your problems..

Cheers

Andrew

PS.  There is an identical problem with pam_time.c  my patch is
the same.

Cheers

Andrew



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []