All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20171011093439.GA3062@codeblueprint.co.uk>

diff --git a/a/1.txt b/N1/1.txt
index 8a0fed7..758a13f 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -17,7 +17,7 @@ On Wed, 11 Oct, at 02:26:57PM, Ivan Hu wrote:
 > >>@@ -593,6 +593,9 @@ static long efi_runtime_query_capsulecaps(unsigned long arg)
 > >>  	if (copy_from_user(&qcaps, qcaps_user, sizeof(qcaps)))
 > >>  		return -EFAULT;
-> >>+	if (qcaps.capsule_count = ULONG_MAX)
+> >>+	if (qcaps.capsule_count == ULONG_MAX)
 > >>+		return -EINVAL;
 > >>+
 > >>  	capsules = kcalloc(qcaps.capsule_count + 1,
diff --git a/a/content_digest b/N1/content_digest
index 33d7686..a2bf84a 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -3,7 +3,7 @@
  "ref\0449b17c1-2c97-fd7c-3073-5cb20e1c3672@canonical.com\0"
  "From\0Matt Fleming <matt@codeblueprint.co.uk>\0"
  "Subject\0Re: ACK: [PATCH] efi/efi_test: Prevent an Oops in efi_runtime_query_capsulecaps()\0"
- "Date\0Wed, 11 Oct 2017 09:34:39 +0000\0"
+ "Date\0Wed, 11 Oct 2017 10:34:39 +0100\0"
  "To\0ivanhu <ivan.hu@canonical.com>\0"
  "Cc\0Dan Carpenter <dan.carpenter@oracle.com>"
   Ard Biesheuvel <ard.biesheuvel@linaro.org>
@@ -30,7 +30,7 @@
  "> >>@@ -593,6 +593,9 @@ static long efi_runtime_query_capsulecaps(unsigned long arg)\n"
  "> >>  \tif (copy_from_user(&qcaps, qcaps_user, sizeof(qcaps)))\n"
  "> >>  \t\treturn -EFAULT;\n"
- "> >>+\tif (qcaps.capsule_count = ULONG_MAX)\n"
+ "> >>+\tif (qcaps.capsule_count == ULONG_MAX)\n"
  "> >>+\t\treturn -EINVAL;\n"
  "> >>+\n"
  "> >>  \tcapsules = kcalloc(qcaps.capsule_count + 1,\n"
@@ -45,4 +45,4 @@
  "\n"
  Thanks, applied.
 
-179226751b78c8f8a91eebe5c5dd16133776894fbeab5dda5c2e59de3e9d8f1a
+d091fa0369b157aaf5537e5e9e17832ef0e2b5dcdb2fdc11060d8a078c54e287

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.