All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20171106222153.GA37298@gmail.com>

diff --git a/a/1.txt b/N1/1.txt
index b718140..2611684 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -11,7 +11,7 @@ On Mon, Nov 06, 2017 at 10:05:45PM +0000, David Howells wrote:
 > +	 * will fail if datalen is 0 because we check against datalen - 1 with
 > +	 * unsigned arithmetic.
 > +	 */
-> +	if (datalen = 0)
+> +	if (datalen == 0)
 > +		return -EBADMSG;
 > +
 
@@ -106,7 +106,7 @@ index fef5d2e114be..1ef0cec38d78 100644
 +		if (unlikely(datalen - dp < 2))
  			goto data_overrun_error;
  		tag = data[dp++];
- 		if (unlikely((tag & 0x1f) = ASN1_LONG_TAG))
+ 		if (unlikely((tag & 0x1f) == ASN1_LONG_TAG))
 @@ -274,7 +274,7 @@ int asn1_ber_decoder(const struct asn1_decoder *decoder,
  				int n = len - 0x80;
  				if (unlikely(n > 2))
diff --git a/a/content_digest b/N1/content_digest
index 9d6bc64..aa107c1 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -2,7 +2,7 @@
  "ref\015884.1510005945@warthog.procyon.org.uk\0"
  "From\0Eric Biggers <ebiggers3@gmail.com>\0"
  "Subject\0Re: general protection fault in asn1_ber_decoder\0"
- "Date\0Mon, 06 Nov 2017 22:21:53 +0000\0"
+ "Date\0Mon, 6 Nov 2017 14:21:53 -0800\0"
  "To\0David Howells <dhowells@redhat.com>\0"
  "Cc\0syzbot <bot+04b92812698232d15d78c1e4d3bbf6fcc21eeeb1@syzkaller.appspotmail.com>"
   davem@davemloft.net
@@ -26,7 +26,7 @@
  "> +\t * will fail if datalen is 0 because we check against datalen - 1 with\n"
  "> +\t * unsigned arithmetic.\n"
  "> +\t */\n"
- "> +\tif (datalen = 0)\n"
+ "> +\tif (datalen == 0)\n"
  "> +\t\treturn -EBADMSG;\n"
  "> +\n"
  "\n"
@@ -121,7 +121,7 @@
  "+\t\tif (unlikely(datalen - dp < 2))\n"
  " \t\t\tgoto data_overrun_error;\n"
  " \t\ttag = data[dp++];\n"
- " \t\tif (unlikely((tag & 0x1f) = ASN1_LONG_TAG))\n"
+ " \t\tif (unlikely((tag & 0x1f) == ASN1_LONG_TAG))\n"
  "@@ -274,7 +274,7 @@ int asn1_ber_decoder(const struct asn1_decoder *decoder,\n"
  " \t\t\t\tint n = len - 0x80;\n"
  " \t\t\t\tif (unlikely(n > 2))\n"
@@ -132,4 +132,4 @@
  " \t\t\t\thdr += n;\n"
  " \t\t\t\tfor (len = 0; n > 0; n--) {"
 
-31d1ae5a06f5bbd59fa28f1bb7f62403fcc7d20da0c3747e80a30cac03578b59
+199c97db5bea72dda829b67f5c33e7526bd886bf93a0b4ca4259e5a22402bef2

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.