qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kgiu...@apache.org
Subject [qpid-dispatch] branch dev-protocol-adaptors-2 updated: DISPATCH-1875: fix pn_data leak in HTTP1 and reference adaptors
Date Tue, 08 Dec 2020 19:41:40 GMT
This is an automated email from the ASF dual-hosted git repository.

kgiusti pushed a commit to branch dev-protocol-adaptors-2
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git


The following commit(s) were added to refs/heads/dev-protocol-adaptors-2 by this push:
     new a759d69  DISPATCH-1875: fix pn_data leak in HTTP1 and reference adaptors
a759d69 is described below

commit a759d695f9b2b2bf288b4ecb2cbef638dfdbe2cf
Author: Kenneth Giusti <kgiusti@apache.org>
AuthorDate: Tue Dec 8 14:41:04 2020 -0500

    DISPATCH-1875: fix pn_data leak in HTTP1 and reference adaptors
---
 src/adaptors/http1/http1_client.c | 2 +-
 src/adaptors/http1/http1_server.c | 2 +-
 src/adaptors/reference_adaptor.c  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/adaptors/http1/http1_client.c b/src/adaptors/http1/http1_client.c
index d42cdce..031135b 100644
--- a/src/adaptors/http1/http1_client.c
+++ b/src/adaptors/http1/http1_client.c
@@ -279,7 +279,7 @@ static void _setup_client_connection(qdr_http1_connection_t *hconn)
                                                       "",    //const char      *ssl_cipher,
                                                       "",    //const char      *user,
                                                       "HTTP/1.x Adaptor",    //const char
     *container,
-                                                      pn_data(0),     //pn_data_t       *connection_properties,
+                                                      0,     //pn_data_t       *connection_properties,
                                                       0,     //int              ssl_ssf,
                                                       false, //bool             ssl,
                                                       "",                  // peer router
version,
diff --git a/src/adaptors/http1/http1_server.c b/src/adaptors/http1/http1_server.c
index d21af3a..282b5d9 100644
--- a/src/adaptors/http1/http1_server.c
+++ b/src/adaptors/http1/http1_server.c
@@ -169,7 +169,7 @@ static qdr_http1_connection_t *_create_server_connection(qd_http_connector_t
*ct
                                                       "",    //const char      *ssl_cipher,
                                                       "",    //const char      *user,
                                                       "HTTP/1.x Adaptor",    //const char
     *container,
-                                                      pn_data(0),     //pn_data_t       *connection_properties,
+                                                      0,     //pn_data_t       *connection_properties,
                                                       0,     //int              ssl_ssf,
                                                       false, //bool             ssl,
                                                       "",                  // peer router
version,
diff --git a/src/adaptors/reference_adaptor.c b/src/adaptors/reference_adaptor.c
index 077b141..08e7433 100644
--- a/src/adaptors/reference_adaptor.c
+++ b/src/adaptors/reference_adaptor.c
@@ -411,7 +411,7 @@ static void on_startup(void *context)
                                                       "",                  //const char 
   *ssl_cipher,
                                                       "",                  //const char 
   *user,
                                                       "reference-adaptor", //const char 
   *container,
-                                                      pn_data(0),          //pn_data_t  
   *connection_properties,
+                                                      0,                   //pn_data_t  
   *connection_properties,
                                                       0,                   //int        
    ssl_ssf,
                                                       false,               //bool       
    ssl,
                                                       "",                  // peer router
version,


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message