diff for duplicates of <20161113112421.823737999@linuxfoundation.org> diff --git a/a/1.txt b/N1/1.txt index 0e70992..5d33444 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -62,7 +62,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> int __user *optlen) { - if (len <= 0) -+ if (len = 0) ++ if (len == 0) return -EINVAL; if (len > sizeof(struct sctp_event_subscribe)) len = sizeof(struct sctp_event_subscribe); diff --git a/a/content_digest b/N1/content_digest index 0c00865..8fcef90 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020161113112420.863033770@linuxfoundation.org\0" "From\0Greg Kroah-Hartman <gregkh@linuxfoundation.org>\0" "Subject\0[PATCH 4.8 24/35] net: sctp, forbid negative length\0" - "Date\0Sun, 13 Nov 2016 11:27:38 +0000\0" + "Date\0Sun, 13 Nov 2016 12:27:38 +0100\0" "To\0linux-kernel@vger.kernel.org\0" "Cc\0Greg Kroah-Hartman <gregkh@linuxfoundation.org>" stable@vger.kernel.org @@ -77,7 +77,7 @@ " \t\t\t\t int __user *optlen)\n" " {\n" "-\tif (len <= 0)\n" - "+\tif (len = 0)\n" + "+\tif (len == 0)\n" " \t\treturn -EINVAL;\n" " \tif (len > sizeof(struct sctp_event_subscribe))\n" " \t\tlen = sizeof(struct sctp_event_subscribe);\n" @@ -92,4 +92,4 @@ " \n" " \tswitch (optname) {" -2ca0019fc6542a1650ffc3d0685a6b789c4bca08d0bbe5b4ab40e659c5c629b1 +e8e6ae386ffe62ad906e5fd0d10f591b48bad6bd888798b185990a5b6f1ad3b6
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.