diff for duplicates of <20160713101119.GF29468@mwanda> diff --git a/a/1.txt b/N1/1.txt index cb4a2d4..0a74ed4 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -12,7 +12,7 @@ index 8bf70e8..50aa9ba 100644 if(get_user(bin, &binary->bin) < 0) return -EFAULT; -- if (len = 0) { +- if (len == 0) { + if (len <= 0) { return -EINVAL; /* nothing to upload?!? */ } diff --git a/a/content_digest b/N1/content_digest index 0703de6..26f3ac6 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[patch] dsp56k: prevent a harmless underflow\0" - "Date\0Wed, 13 Jul 2016 10:11:19 +0000\0" + "Date\0Wed, 13 Jul 2016 13:11:19 +0300\0" "To\0Arnd Bergmann <arnd@arndb.de>\0" "Cc\0Greg Kroah-Hartman <gregkh@linuxfoundation.org>" linux-kernel@vger.kernel.org @@ -21,10 +21,10 @@ " \t\t\tif(get_user(bin, &binary->bin) < 0)\n" " \t\t\t\treturn -EFAULT;\n" " \t\t\n" - "-\t\t\tif (len = 0) {\n" + "-\t\t\tif (len == 0) {\n" "+\t\t\tif (len <= 0) {\n" " \t\t\t\treturn -EINVAL; /* nothing to upload?!? */\n" " \t\t\t}\n" " \t\t\tif (len > DSP56K_MAX_BINARY_LENGTH) {" -a82b350b4bacc5ec494f314a51bee1042fb5cc2291a4374a457c67e9f3185e2f +6371fff86a8abcf19057e90e5acf8e23433164cf374531f6ba75e241b601c1d6
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.