Re: [patch] cgroups: save space for the terminator

From: KAMEZAWA Hiroyuki
Date: Sun Jul 11 2010 - 20:28:21 EST


On Sat, 10 Jul 2010 12:54:29 +0200
Dan Carpenter <error27@xxxxxxxxx> wrote:

> The original code didn't leave enough space for a NULL terminator.
> These strings are copied with strcpy() into fixed length buffers in
> cgroup_root_from_opts().
>
> Signed-off-by: Dan Carpenter <error27@xxxxxxxxx>
>

Nice!,
Reviewd-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>

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