[lvm-devel] [PATCH 1/4] Reading of unitialized memory

Milan Broz mbroz at redhat.com
Thu Mar 24 12:30:51 UTC 2011


On 03/24/2011 12:16 PM, Zdenek Kabelac wrote:

>  		if (!(lvm->map = dm_pool_zalloc(mem, sizeof(*lvm->map)
> -					     * ll->lv->le_count)))
> +					     * (ll->lv->le_count + 1))))

I do not like such fixes, but because this code is really not going
to be used in future (and I know how complicated it is), let's
"fix" it this way.

turn a blind eye to ... ACK :-)

Milan




More information about the lvm-devel mailing list