1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3/locking
Jeremy Allison 5bc82e443b 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.
(This used to be commit 22c5915bb4)
2001-09-18 06:41:29 +00:00
..
brlock.c move to SAFE_FREE() 2001-09-17 04:16:35 +00:00
locking.c Correct fix for unaligned memcpy - malloc'ed memory incremented by sizeof(struct locking_data) 2001-09-18 06:41:29 +00:00
posix.c move to SAFE_FREE() 2001-09-17 04:16:35 +00:00