1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

lib: Update pam_wrapper to 1.0.4

* Fix build on OpenBSD
* Fix a resource leak

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Andreas Schneider 2017-05-15 17:25:27 +02:00 committed by Jeremy Allison
parent 2dbaade13a
commit ebc049777a
2 changed files with 5 additions and 2 deletions

View File

@ -513,12 +513,14 @@ static void libpam_pam_vsyslog(const pam_handle_t *pamh,
const char *fmt,
va_list args)
{
#ifdef HAVE_PAM_VSYSLOG
pwrap_bind_symbol_libpam(pam_vsyslog);
pwrap.libpam.symbols._libpam_pam_vsyslog.f(pamh,
priority,
fmt,
args);
#endif
}
/*********************************************************
@ -551,7 +553,8 @@ static int p_copy(const char *src, const char *dst, const char *pdir, mode_t mod
if (mode == 0) {
rc = fstat(srcfd, &sb);
if (rc != 0) {
return -1;
rc = -1;
goto out;
}
mode = sb.st_mode;
}

View File

@ -2,7 +2,7 @@
import os
VERSION="1.0.3"
VERSION="1.0.4"
def find_library(library_names, lookup_paths):
for directory in lookup_paths: