Re: [PATCH] vfs: fix uninitialised iattr in do_truncate

From: richard -rw- weinberger
Date: Sat Mar 24 2012 - 06:21:41 EST


On Sat, Mar 24, 2012 at 11:10 AM, Ajeet Yadav <ajeet.yadav.77@xxxxxxxxx> wrote:
> [PATCH] vfs: fix uninitialised iattr in do_truncate
>
> struct newattrs is uninitialised.
>
> Signed-off-by: Ajeet Yadav <ajeet.yadav.77@xxxxxxxxx>

Does this fix a real bug?
AFAIK notify_change() makes only use of newattrs's initialized members.

--
Thanks,
//richard
--
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/