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

diff --git a/a/1.txt b/N1/1.txt
index 83682c4..8803498 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -17,10 +17,10 @@ On Wed, Nov 28, 2018 at 03:20:20PM -0800, Eric Biggers wrote:
 > > --- a/security/keys/keyctl_pkey.c
 > > +++ b/security/keys/keyctl_pkey.c
 > > @@ -50,6 +50,8 @@ static int keyctl_pkey_params_parse(struct kernel_pkey_params *params)
-> >  		if (*p = '\0' || *p = ' ' || *p = '\t')
+> >  		if (*p == '\0' || *p == ' ' || *p == '\t')
 > >  			continue;
 > >  		token = match_token(p, param_keys, args);
-> > +		if (token = Opt_err)
+> > +		if (token == Opt_err)
 > > +			return -EINVAL;
 > >  		if (__test_and_set_bit(token, &token_mask))
 > >  			return -EINVAL;
diff --git a/a/content_digest b/N1/content_digest
index 5a9e8f0..cb3b908 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -3,7 +3,7 @@
  "ref\020181128232019.GC131170@gmail.com\0"
  "From\0Eric Biggers <ebiggers@kernel.org>\0"
  "Subject\0Re: [PATCH] KEYS: fix parsing invalid pkey info string\0"
- "Date\0Thu, 06 Dec 2018 18:26:26 +0000\0"
+ "Date\0Thu, 6 Dec 2018 10:26:26 -0800\0"
  "To\0keyrings@vger.kernel.org"
  " dhowells@redhat.com\0"
  "Cc\0linux-security-module@vger.kernel.org"
@@ -30,10 +30,10 @@
  "> > --- a/security/keys/keyctl_pkey.c\n"
  "> > +++ b/security/keys/keyctl_pkey.c\n"
  "> > @@ -50,6 +50,8 @@ static int keyctl_pkey_params_parse(struct kernel_pkey_params *params)\n"
- "> >  \t\tif (*p = '\\0' || *p = ' ' || *p = '\\t')\n"
+ "> >  \t\tif (*p == '\\0' || *p == ' ' || *p == '\\t')\n"
  "> >  \t\t\tcontinue;\n"
  "> >  \t\ttoken = match_token(p, param_keys, args);\n"
- "> > +\t\tif (token = Opt_err)\n"
+ "> > +\t\tif (token == Opt_err)\n"
  "> > +\t\t\treturn -EINVAL;\n"
  "> >  \t\tif (__test_and_set_bit(token, &token_mask))\n"
  "> >  \t\t\treturn -EINVAL;\n"
@@ -48,4 +48,4 @@
  "\n"
  Ping.
 
-97664314f1962e5c114ac609d0a454890548bfa7792b4d2a46cf070bf2c5571c
+c2668b6aaa564d72e43334e4c2f1c223ed0e3a691ae812f3a8b30e48689b4e46

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.