summaryrefslogtreecommitdiff
path: root/debian/patches-applied/057_pam_unix_passwd_OOM_check
diff options
context:
space:
mode:
authorSteve Langasek <vorlon@debian.org>2008-07-27 01:04:19 -0700
committerSteve Langasek <steve.langasek@ubuntu.com>2019-01-03 17:28:17 -0800
commit39291ae866a06109cc31e69583c5bfe76c31074e (patch)
tree9fcfe5df1bbf20a62a15e24ce088bbf75d56f76e /debian/patches-applied/057_pam_unix_passwd_OOM_check
parent8597b10fa4bb1e9f69db0b2db5fd799062624555 (diff)
Drop another patch that's integrated upstream
Diffstat (limited to 'debian/patches-applied/057_pam_unix_passwd_OOM_check')
-rw-r--r--debian/patches-applied/057_pam_unix_passwd_OOM_check21
1 files changed, 0 insertions, 21 deletions
diff --git a/debian/patches-applied/057_pam_unix_passwd_OOM_check b/debian/patches-applied/057_pam_unix_passwd_OOM_check
deleted file mode 100644
index afae12e1..00000000
--- a/debian/patches-applied/057_pam_unix_passwd_OOM_check
+++ /dev/null
@@ -1,21 +0,0 @@
-Index: Linux-PAM/modules/pam_unix/pam_unix_passwd.c
-===================================================================
---- Linux-PAM/modules/pam_unix/pam_unix_passwd.c.orig
-+++ Linux-PAM/modules/pam_unix/pam_unix_passwd.c
-@@ -1323,6 +1323,16 @@
- }
- }
-
-+ /* A null pointer here indicates a memory failure
-+ somewhere along the way; don't set the password to
-+ NULL! */
-+ if (tpass == NULL) {
-+ pam_syslog(pamh, LOG_CRIT,
-+ "out of memory for password");
-+ pass_new = pass_old = NULL; /* tidy up */
-+ return PAM_BUF_ERR;
-+ }
-+
- D(("password processed"));
-
- /* update the password database(s) -- race conditions..? */