[SCM] Samba Shared Repository - branch master updated -
release-4-0-0alpha7-2163-g4c39297
Günther Deschner
gd at samba.org
Mon Jun 8 21:33:07 GMT 2009
The branch, master has been updated
via 4c39297d1df1a8143fb95353cd0af8b3d91c1380 (commit)
from 46b5cce1e9eb932147ad4b346841df8c2d70c0d2 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 4c39297d1df1a8143fb95353cd0af8b3d91c1380
Author: Günther Deschner <gd at samba.org>
Date: Mon Jun 8 23:31:25 2009 +0200
nsswitch: try to fix segfault in nss_winbind on NetBSD found by torture test.
Guenther
-----------------------------------------------------------------------
Summary of changes:
nsswitch/winbind_nss_netbsd.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/nsswitch/winbind_nss_netbsd.c b/nsswitch/winbind_nss_netbsd.c
index 9b8e0a2..63c068e 100644
--- a/nsswitch/winbind_nss_netbsd.c
+++ b/nsswitch/winbind_nss_netbsd.c
@@ -124,7 +124,7 @@ netbsdwinbind_getgrent_r(void *nsrv, void *nscb, va_list ap)
*result = NULL;
rerrno = 0;
- rv = _nss_winbind_getgrent_r(grp, buffer, buflen, rerrno);
+ rv = _nss_winbind_getgrent_r(grp, buffer, buflen, &rerrno);
if (rv == NS_SUCCESS)
*result = grp;
else
@@ -312,7 +312,7 @@ netbsdwinbind_getpwent_r(void *nsrv, void *nscb, va_list ap)
*result = NULL;
rerrno = 0;
- rv = _nss_winbind_getpwent_r(pw, buffer, buflen, rerrno);
+ rv = _nss_winbind_getpwent_r(pw, buffer, buflen, &rerrno);
if (rv == NS_SUCCESS)
*result = pw;
else
--
Samba Shared Repository
More information about the samba-cvs
mailing list