Magellan Linux

Contents of /trunk/pam/patches/pam-0.80-gcc4-1.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 153 - (show annotations) (download)
Tue May 8 20:52:56 2007 UTC (17 years ago) by niro
File size: 769 byte(s)
-import

1 Submitted By: DJ Lucas (dj_AT_linuxfromscratch_DOT_org)
2 Date: 2005-08-28
3 Initial Package Version: 0.80
4 Origin: RedHat/Fedora pam-0.80-7 SRPM (pam-0.80-cleanup.patch)
5 Upstream Status: Unknown
6 Description: Fixes segfault in _unix_verify_password().
7
8 $LastChangedBy: randy $
9 $Date: 2007-05-08 20:28:15 $
10
11
12 diff -Naur Linux-PAM-0.80-orig/modules/pam_unix/support.c Linux-PAM-0.80/modules/pam_unix/support.c
13 --- Linux-PAM-0.80-orig/modules/pam_unix/support.c 2005-07-08 04:20:07.000000000 -0500
14 +++ Linux-PAM-0.80/modules/pam_unix/support.c 2005-08-28 00:01:05.000000000 -0500
15 @@ -801,7 +801,7 @@
16 if (new != NULL) {
17
18 const char *login_name;
19 - const void *void_old;
20 + const void *void_old = NULL;
21
22
23 login_name = _pammodutil_getlogin(pamh);