mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-28 02:50:41 +03:00
Fix "Unaligned access" when using clvm
bz#194626
This commit is contained in:
parent
9f100d6028
commit
8228b50882
@ -13,6 +13,7 @@ Version 2.02.07 -
|
||||
Add 'Completed' debug message.
|
||||
Don't attempt library exit after reloading config files.
|
||||
Always compile with libdevmapper, even if device-mapper is disabled.
|
||||
Fixed unaligned access when using clvm.
|
||||
|
||||
Version 2.02.06 - 12th May 2006
|
||||
===============================
|
||||
|
@ -256,7 +256,7 @@ static int _cluster_request(char cmd, const char *node, void *data, int len,
|
||||
strcpy(rarray[i].node, inptr);
|
||||
inptr += strlen(inptr) + 1;
|
||||
|
||||
rarray[i].status = *(int *) inptr;
|
||||
memcpy(&rarray[i].status, inptr, sizeof(int));
|
||||
inptr += sizeof(int);
|
||||
|
||||
rarray[i].response = dm_malloc(strlen(inptr) + 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user