[lvm-devel] Re: [dm-devel] Segment fault in datastruct/hash.c

Alasdair G Kergon agk at redhat.com
Tue Nov 3 00:48:50 UTC 2009


On Wed, Oct 28, 2009 at 11:52:52AM +0800, Xinwei Hu wrote:
>   I generate a patch against the latest git tree. Please consider it
> for inclusion.
 
Applied.

> --- a/libdm/datastruct/hash.c
> +++ b/libdm/datastruct/hash.c
> @@ -143,9 +143,13 @@ static struct dm_hash_node **_find(struct dm_hash_table *t, const char *key,

> +		if ((*c)->keylen != len)
> +			continue
                                ^
(Did you try the patch?)

Alasdair




More information about the lvm-devel mailing list