diff for duplicates of <20170416080202.784111731@linuxfoundation.org> diff --git a/a/1.txt b/N1/1.txt index e3dc7b8..8e42be0 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -63,7 +63,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 93f7591..e0196e5 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020170416080200.205458595@linuxfoundation.org\0" "From\0Greg Kroah-Hartman <gregkh@linuxfoundation.org>\0" "Subject\0[PATCH 3.18 043/145] [PATCH 093/760] net: sctp, forbid negative length\0" - "Date\0Sun, 16 Apr 2017 10:48:56 +0000\0" + "Date\0Sun, 16 Apr 2017 12:48:56 +0200\0" "To\0linux-kernel@vger.kernel.org\0" "Cc\0Greg Kroah-Hartman <gregkh@linuxfoundation.org>" stable@vger.kernel.org @@ -78,7 +78,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" @@ -93,4 +93,4 @@ " \n" " \tswitch (optname) {" -1b5fce8a2fffc430df1207f2f0e2418c382f82fe27cabf2f22f651c954b5d212 +a4b3a3a1e812c4fbf353228eaf6bbce4175780b9f7abfb7cef22c238cdfe32b5
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.