CVS update: samba/source/include
Jeremy Allison
jra at samba.org
Tue Sep 18 16:41:39 EST 2001
Date: Mon Sep 17 23:41:39 2001
Author: jra
Update of /data/cvs/samba/source/include
In directory va:/tmp/cvs-serv14619/include
Modified Files:
Tag: SAMBA_2_2
smb.h
Log Message:
Correct fix for unaligned memcpy - malloc'ed memory incremented by sizeof(struct locking_data)
was not forced to be 8 byte aligned. Use union to force it to be correctly aligned
for memcpy and use void *, to tell compiler not to optimize aligned copy (this last fix
suggested by Trond @ RedHat). The first fix should be sufficient, but this provides a
"belt and braces" fix.
Jeremy.
Revisions:
smb.h 1.325.2.36 => 1.325.2.37
http://www.samba.org/cgi-bin/cvsweb/samba/source/include/smb.h?r1=1.325.2.36&r2=1.325.2.37
More information about the samba-cvs
mailing list