All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20190530151705.GD3713@localhost.localdomain>

diff --git a/a/1.txt b/N1/1.txt
index 596db65..0026426 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -70,7 +70,8 @@ kfree() in the context here.
 >  	 * advertised window).
 > @@ -2607,7 +2599,9 @@ static int sctp_process_param(struct sctp_association *asoc,
 >  	case SCTP_PARAM_STATE_COOKIE:
->  		asoc->peer.cookie_len >  			ntohs(param.p->length) - sizeof(struct sctp_paramhdr);
+>  		asoc->peer.cookie_len =
+>  			ntohs(param.p->length) - sizeof(struct sctp_paramhdr);
 > -		asoc->peer.cookie = param.cookie->body;
 > +		asoc->peer.cookie = kmemdup(param.cookie->body, asoc->peer.cookie_len, gfp);
 > +		if (!asoc->peer.cookie)
diff --git a/a/content_digest b/N1/content_digest
index cfd5bb4..4339890 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -6,7 +6,7 @@
  "ref\020190530142011.GC1966@hmswarspite.think-freely.org\0"
  "From\0Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>\0"
  "Subject\0Re: memory leak in sctp_process_init\0"
- "Date\0Thu, 30 May 2019 15:17:05 +0000\0"
+ "Date\0Thu, 30 May 2019 12:17:05 -0300\0"
  "To\0Neil Horman <nhorman@tuxdriver.com>\0"
  "Cc\0syzbot <syzbot+f7e9153b037eac9b1df8@syzkaller.appspotmail.com>"
   davem@davemloft.net
@@ -89,7 +89,8 @@
  ">  \t * advertised window).\n"
  "> @@ -2607,7 +2599,9 @@ static int sctp_process_param(struct sctp_association *asoc,\n"
  ">  \tcase SCTP_PARAM_STATE_COOKIE:\n"
- ">  \t\tasoc->peer.cookie_len >  \t\t\tntohs(param.p->length) - sizeof(struct sctp_paramhdr);\n"
+ ">  \t\tasoc->peer.cookie_len =\n"
+ ">  \t\t\tntohs(param.p->length) - sizeof(struct sctp_paramhdr);\n"
  "> -\t\tasoc->peer.cookie = param.cookie->body;\n"
  "> +\t\tasoc->peer.cookie = kmemdup(param.cookie->body, asoc->peer.cookie_len, gfp);\n"
  "> +\t\tif (!asoc->peer.cookie)\n"
@@ -119,4 +120,4 @@
  "\n"
    Marcelo
 
-0a7ca5930d173c53f9c1af7a7c4cda22e492d7cde35751cd8b1ccca4f0754225
+ef53f26c143739997eb98c701d7696f8d5cb13f27d375340b74fd842fc5523e2

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.