CVS update: samba/source/locking

Jeremy Allison jra at samba.org
Tue Sep 18 16:41:29 EST 2001


Date:	Mon Sep 17 23:41:29 2001
Author:	jra

Update of /data/cvs/samba/source/locking
In directory va:/tmp/cvs-serv14616/locking

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




More information about the samba-cvs mailing list