diff for duplicates of <20170105224249.GA50925@beast> diff --git a/a/1.txt b/N1/1.txt index 356790b..545e49b 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -36,7 +36,7 @@ index f89245b8ba8e..68a113594808 100644 + return -EINVAL; + + size = min_t(size_t, to->len - tooff, from->len - fromoff); -+ if (size = 0) ++ if (size == 0) return -EINVAL; size *= sizeof(u16); @@ -61,7 +61,7 @@ index f89245b8ba8e..68a113594808 100644 + return -EINVAL; + + size = min_t(size_t, to->len - tooff, from->len - fromoff); -+ if (size = 0) ++ if (size == 0) return -EINVAL; size *= sizeof(u16); diff --git a/a/content_digest b/N1/content_digest index be7dded..7cdacba 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Kees Cook <keescook@chromium.org>\0" "Subject\0[PATCH] fbdev: color map copying bounds checking\0" - "Date\0Thu, 05 Jan 2017 22:42:49 +0000\0" + "Date\0Thu, 5 Jan 2017 14:42:49 -0800\0" "To\0Tomi Valkeinen <tomi.valkeinen@ti.com>\0" "Cc\0linux-kernel@vger.kernel.org" linux-fbdev@vger.kernel.org @@ -46,7 +46,7 @@ "+\t\treturn -EINVAL;\n" "+\n" "+\tsize = min_t(size_t, to->len - tooff, from->len - fromoff);\n" - "+\tif (size = 0)\n" + "+\tif (size == 0)\n" " \t\treturn -EINVAL;\n" " \tsize *= sizeof(u16);\n" " \n" @@ -71,7 +71,7 @@ "+\t\treturn -EINVAL;\n" "+\n" "+\tsize = min_t(size_t, to->len - tooff, from->len - fromoff);\n" - "+\tif (size = 0)\n" + "+\tif (size == 0)\n" " \t\treturn -EINVAL;\n" " \tsize *= sizeof(u16);\n" " \n" @@ -83,4 +83,4 @@ "Kees Cook\n" Nexus Security -d88279b185209ff569d3039aaabbd90de3510dd9c8002b535cd8b19f197263b2 +17388e0eb02b4ae77b72f061e9055391bca463f66ec85be9e5ba49d7907fa406
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.