[SCM] Samba Shared Repository - branch v3-2-test updated -
release-3-2-0pre2-3086-g0f3f340
Volker Lendecke
vlendec at samba.org
Mon Oct 13 09:52:18 GMT 2008
The branch, v3-2-test has been updated
via 0f3f34033a80e44fa18cae452a164e445392138a (commit)
from 1ab2a5b958a900a078cadf98b83fba7fadbaedf9 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit 0f3f34033a80e44fa18cae452a164e445392138a
Author: Volker Lendecke <vl at samba.org>
Date: Tue Oct 7 21:24:25 2008 +0200
Fix bug 5691: SIGBUS on Solaris
-----------------------------------------------------------------------
Summary of changes:
source/smbd/session.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/smbd/session.c b/source/smbd/session.c
index 000b2f5..d4da340 100644
--- a/source/smbd/session.c
+++ b/source/smbd/session.c
@@ -113,7 +113,10 @@ bool session_claim(user_struct *vuser)
break;
}
- sess_pid = ((struct sessionid *)rec->value.dptr)->pid;
+ memcpy(&sess_pid,
+ ((char *)rec->value.dptr)
+ + offsetof(struct sessionid, pid),
+ sizeof(sess_pid));
if (!process_exists(sess_pid)) {
DEBUG(5, ("%s has died -- re-using session\n",
--
Samba Shared Repository
More information about the samba-cvs
mailing list