diff options
author | Dan Carpenter <error27@gmail.com> | 2010-08-11 03:02:54 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-11 17:59:18 +0200 |
commit | e400c28524af2d344b1663b27bf28984fa959a0e (patch) | |
tree | 00be68cbb87be859edd67da60dfd12506879fe01 /kernel/mutex-debug.h | |
parent | Documentation/padata.txt: fix typos etc. (diff) | |
download | linux-e400c28524af2d344b1663b27bf28984fa959a0e.tar.xz linux-e400c28524af2d344b1663b27bf28984fa959a0e.zip |
cgroups: save space for the terminator
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@gmail.com>
Acked-by: Serge E. Hallyn <serge@hallyn.com>
Reviewd-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Paul Menage <menage@google.com>
Cc: Li Zefan <lizf@cn.fujitsu.com>
Cc: Ben Blum <bblum@andrew.cmu.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/mutex-debug.h')
0 files changed, 0 insertions, 0 deletions