diff for duplicates of <20100712001022.GA6832@hallyn.com> diff --git a/a/1.txt b/N1/1.txt index f76ddcf..c31371e 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -18,7 +18,8 @@ Acked-by: Serge E. Hallyn <serge@hallyn.com> > @@ -1102,7 +1102,7 @@ static int parse_cgroupfs_options(char *data, struct cgroup_sb_opts *opts) > if (opts->release_agent) > return -EINVAL; -> opts->release_agent > - kstrndup(token + 14, PATH_MAX, GFP_KERNEL); +> opts->release_agent = +> - kstrndup(token + 14, PATH_MAX, GFP_KERNEL); > + kstrndup(token + 14, PATH_MAX - 1, GFP_KERNEL); > if (!opts->release_agent) > return -ENOMEM; diff --git a/a/content_digest b/N1/content_digest index 2e0e8ae..e8eb9bb 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020100710105429.GW19184@bicker\0" "From\0Serge E. Hallyn <serge@hallyn.com>\0" "Subject\0Re: [patch] cgroups: save space for the terminator\0" - "Date\0Mon, 12 Jul 2010 00:10:22 +0000\0" + "Date\0Sun, 11 Jul 2010 19:10:22 -0500\0" "To\0Dan Carpenter <error27@gmail.com>" Paul Menage <menage@google.com> Li Zefan <lizf@cn.fujitsu.com> @@ -33,7 +33,8 @@ "> @@ -1102,7 +1102,7 @@ static int parse_cgroupfs_options(char *data, struct cgroup_sb_opts *opts)\n" "> \t\t\tif (opts->release_agent)\n" "> \t\t\t\treturn -EINVAL;\n" - "> \t\t\topts->release_agent > -\t\t\t\tkstrndup(token + 14, PATH_MAX, GFP_KERNEL);\n" + "> \t\t\topts->release_agent =\n" + "> -\t\t\t\tkstrndup(token + 14, PATH_MAX, GFP_KERNEL);\n" "> +\t\t\t\tkstrndup(token + 14, PATH_MAX - 1, GFP_KERNEL);\n" "> \t\t\tif (!opts->release_agent)\n" "> \t\t\t\treturn -ENOMEM;\n" @@ -52,4 +53,4 @@ "> Containers@lists.linux-foundation.org\n" > https://lists.linux-foundation.org/mailman/listinfo/containers -8e8144c08a83bd0d20c797e3c8982a854c41edc73387a16ef759810fb64de03e +99cad309f06894ec3f037b4d3b26ac83ec3d00013d49536c4638fbc6a8a72ae7
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.