[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [lvm-devel] [PATCH 20/29] Add test for lv_name not NULL



On Thu, Nov 25, 2010 at 11:55:24AM +0100, Zdenek Kabelac wrote:
> -			} else if (!strncmp(vg_name, vgname, strlen(vgname)) &&
> +			} else if (!strncmp(vg_name, vgname, strlen(vgname)) && lv_name &&
>  				   strlen(vgname) == (size_t) (lv_name - vg_name)) {

Ack

Alasdair


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]