[SCM] Samba Shared Repository - branch v3-3-test updated -
release-3-2-0pre2-4257-g35a86c9
Volker Lendecke
vlendec at samba.org
Mon Oct 13 09:52:49 GMT 2008
The branch, v3-3-test has been updated
via 35a86c9d70a34440a8197c07e9a6427f5347beb5 (commit)
from 59e44daf057d687262adcd1f61f0b973a1c1be58 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test
- Log -----------------------------------------------------------------
commit 35a86c9d70a34440a8197c07e9a6427f5347beb5
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 3b431a1..8163eb3 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