CVS update: samba/source/locking

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/locking
In directory va:/tmp/cvs-serv14619/locking

Modified Files:
      Tag: SAMBA_2_2
	locking.c 
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:
locking.c		1.93.2.21 => 1.93.2.22
	http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c?r1=1.93.2.21&r2=1.93.2.22




More information about the samba-cvs mailing list