diff options
author | Jeremy Allison <jra@samba.org> | 2001-09-18 06:41:29 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-09-18 06:41:29 +0000 |
commit | 5bc82e443b2da885aa0a504906789c006b3cf17a (patch) | |
tree | 6440822892634cb6e10c373eeea833066ab37a96 /source3/tdb | |
parent | 36a6611da2820da3635a8158dd26f41732b5b4fd (diff) | |
download | samba-5bc82e443b2da885aa0a504906789c006b3cf17a.tar.gz samba-5bc82e443b2da885aa0a504906789c006b3cf17a.tar.bz2 samba-5bc82e443b2da885aa0a504906789c006b3cf17a.zip |
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 22c5915bb466529ac1bcb5c2574888b360a9775b)
Diffstat (limited to 'source3/tdb')
0 files changed, 0 insertions, 0 deletions