gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 116/173: http2: reset push header counter fixes cra


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 116/173: http2: reset push header counter fixes crash
Date: Fri, 24 Feb 2017 14:02:18 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.53.1
in repository gnurl.

commit d83612376c976e19ccce4cfe34f6f4eb254c958c
Author: Daniel Stenberg <address@hidden>
AuthorDate: Tue Feb 7 09:17:55 2017 +0100

    http2: reset push header counter fixes crash
    
    When removing an easy handler from a multi before it completed its
    transfer, and it had pushed streams, it would segfault due to the pushed
    counted not being cleared.
    
    Fixed-by: address@hidden
    Fixes #1249
---
 lib/http2.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/http2.c b/lib/http2.c
index 4d108da44..dc7bd32e1 100644
--- a/lib/http2.c
+++ b/lib/http2.c
@@ -415,6 +415,7 @@ static int push_promise(struct Curl_easy *data,
       free(stream->push_headers[i]);
     free(stream->push_headers);
     stream->push_headers = NULL;
+    stream->push_headers_used = 0;
 
     if(rv) {
       /* denied, kill off the new handle again */

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]