[openssl-commits] [openssl] master update

Richard Levitte levitte at openssl.org
Tue Jul 19 13:26:46 UTC 2016


The branch master has been updated
       via  d6accd504046e243155082160dd1e650fc13ea76 (commit)
      from  df0aa7770e09677b746843f2ba33e2897f615d93 (commit)


- Log -----------------------------------------------------------------
commit d6accd504046e243155082160dd1e650fc13ea76
Author: Richard Levitte <levitte at openssl.org>
Date:   Tue Jul 19 15:20:00 2016 +0200

    Fix forgotten goto
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>

-----------------------------------------------------------------------

Summary of changes:
 apps/s_client.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/apps/s_client.c b/apps/s_client.c
index 4410f96..bc89c98 100644
--- a/apps/s_client.c
+++ b/apps/s_client.c
@@ -1742,6 +1742,7 @@ int s_client_main(int argc, char **argv)
         if ((peer_info.addr = BIO_ADDR_new()) == NULL) {
             BIO_printf(bio_err, "memory allocation failure\n");
             BIO_closesocket(s);
+            goto end;
         }
         if (!BIO_sock_info(s, BIO_SOCK_INFO_ADDRESS, &peer_info)) {
             BIO_printf(bio_err, "getsockname:errno=%d\n",


More information about the openssl-commits mailing list