aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--patches-applied/007_modules_pam_unix2
1 files changed, 1 insertions, 1 deletions
diff --git a/patches-applied/007_modules_pam_unix b/patches-applied/007_modules_pam_unix
index 87e5aa6f..3420f64c 100644
--- a/patches-applied/007_modules_pam_unix
+++ b/patches-applied/007_modules_pam_unix
@@ -550,7 +550,7 @@ Index: Linux-PAM/modules/pam_unix/obscure.c
+ return NULL;
+
+ new1 = strndup(new,8);
-+ old1 = strdup(old,8);
++ old1 = strndup(old,8);
+
+ msg = password_check(old1, new1, pwdp);
+