summarylogtreecommitdiffstats
path: root/0002-Disable-endpwent.patch
diff options
context:
space:
mode:
Diffstat (limited to '0002-Disable-endpwent.patch')
-rw-r--r--0002-Disable-endpwent.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/0002-Disable-endpwent.patch b/0002-Disable-endpwent.patch
new file mode 100644
index 000000000000..53c42665c1c8
--- /dev/null
+++ b/0002-Disable-endpwent.patch
@@ -0,0 +1,10 @@
+--- a/saslauthd/auth_getpwent.c
++++ b/saslauthd/auth_getpwent.c
+@@ -81,7 +81,6 @@
+ errno = 0;
+ pw = getpwnam(login);
+ errnum = errno;
+- endpwent();
+
+ if (pw == NULL) {
+ if (errnum != 0) {