Re: [PATCH] Fix possible segfault on logicalunit update

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

 



On Wed, 28 Aug 2013 19:18:13 +0300
Roi Dayan <roid@xxxxxxxxxxxx> wrote:

> When updating logicalunit with tgtdadm without any params
> tgtd will segfault when calling strncmp on NULL.
> The call to strsep later is ok and will return NULL.
> 
> To reproduce create a target with a lun and run:
> tgtadm -m logicalunit -o update --tid 1 --lun 1
> 
> Signed-off-by: Roi Dayan <roid@xxxxxxxxxxxx>
> ---
>  usr/spc.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux