diff for duplicates of <1575984010.3459.4.camel@HansenPartnership.com> diff --git a/a/1.txt b/N1/1.txt index a52119a..bfb1487 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -30,14 +30,14 @@ On Tue, 2019-12-10 at 08:18 +0000, David Woodhouse wrote: > > + len =- 2; > > + > > + data[0] = _tag(UNIV, PRIM, INT); -> > + if (integer = 0) { +> > + if (integer == 0) { > > + *d++ = 0; > > + goto out; > > + } > > + for (i = sizeof(integer); i > 0 ; i--) { > > + int byte = integer >> (8*(i-1)); > > + -> > + if (!found && byte = 0) +> > + if (!found && byte == 0) > > + continue; > > + found = true; > > + if (byte & 0x80) { @@ -48,7 +48,7 @@ On Tue, 2019-12-10 at 08:18 +0000, David Woodhouse wrote: > > + *d++ = 0; > > + len--; > > + } -> > + if (WARN(len = 0, +> > + if (WARN(len == 0, > > + "BUG buffer too short in > > asn1_encode_integer")) > > + return; diff --git a/a/content_digest b/N1/content_digest index 3aec975..2000ddc 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -3,7 +3,7 @@ "ref\0932257121039494734d97e290abb9159b1f5ca28.camel@infradead.org\0" "From\0James Bottomley <James.Bottomley@hansenpartnership.com>\0" "Subject\0Re: [PATCH v2 2/8] lib: add asn.1 encoder\0" - "Date\0Tue, 10 Dec 2019 13:20:10 +0000\0" + "Date\0Tue, 10 Dec 2019 05:20:10 -0800\0" "To\0David Woodhouse <dwmw2@infradead.org>" " linux-integrity@vger.kernel.org\0" "Cc\0Mimi Zohar <zohar@linux.ibm.com>" @@ -43,14 +43,14 @@ "> > + len =- 2;\n" "> > +\n" "> > + data[0] = _tag(UNIV, PRIM, INT);\n" - "> > + if (integer = 0) {\n" + "> > + if (integer == 0) {\n" "> > + *d++ = 0;\n" "> > + goto out;\n" "> > + }\n" "> > + for (i = sizeof(integer); i > 0 ; i--) {\n" "> > + int byte = integer >> (8*(i-1));\n" "> > +\n" - "> > + if (!found && byte = 0)\n" + "> > + if (!found && byte == 0)\n" "> > + continue;\n" "> > + found = true;\n" "> > + if (byte & 0x80) {\n" @@ -61,7 +61,7 @@ "> > + *d++ = 0;\n" "> > + len--;\n" "> > + }\n" - "> > + if (WARN(len = 0,\n" + "> > + if (WARN(len == 0,\n" "> > + \"BUG buffer too short in\n" "> > asn1_encode_integer\"))\n" "> > + return;\n" @@ -92,4 +92,4 @@ "> buffer length field to, and they'll want to be able to return -ENOSPC\n" > too. -c4f3221ad8d16ff9842696260e89e7b18e8ff5224083cec39004520cbf82fcc4 +dca48e7ddba99bd793d6f86ca95ebc6d5db3c28251b76b8050ce23e3e8c77520
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.