Re: [PATCH 30/47] staging/lustre/mdc: fix issue found by Klocwork Insight tool

From: Dan Carpenter
Date: Tue Apr 29 2014 - 06:20:38 EST


On Sun, Apr 27, 2014 at 01:06:54PM -0400, Oleg Drokin wrote:
> From: Dmitry Eremin <dmitry.eremin@xxxxxxxxx>
>
> Pointer 'mod' checked for NULL at line 160 may be dereferenced at line 208.
>

This seems to be a real bug, btw. For example, FSFILT_IOC_SETFLAGS
calls md_setattr() with a NULL mod in ll_iocontrol().

regards,
dan carpenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/