Re: [perf PATCH] Fix possible unterminated readlink() result buffer

From: Arnaldo Carvalho de Melo
Date: Fri Oct 14 2011 - 13:27:08 EST


Em Fri, Oct 14, 2011 at 07:00:47PM +0200, Thomas Jarosch escreveu:
> No need to do "buf[len] = '\0';" since the buffer
> is allocated with zalloc().
>
> Signed-off-by: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>

Thanks, applied.

- Arnaldo
--
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/