You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by mj...@apache.org on 2017/09/27 17:30:04 UTC

[1/3] incubator-guacamole-server git commit: GUACAMOLE-398: Fix memory leak identified by Coverity in common ssh code.

Repository: incubator-guacamole-server
Updated Branches:
  refs/heads/master afb554a01 -> 1d0e63b25


GUACAMOLE-398: Fix memory leak identified by Coverity in common ssh code.


Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/commit/e4dd8de4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/tree/e4dd8de4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/diff/e4dd8de4

Branch: refs/heads/master
Commit: e4dd8de4f1383bf6235822acb933175172942693
Parents: afb554a
Author: Nick Couchman <ni...@yahoo.com>
Authored: Wed Sep 27 13:02:41 2017 -0400
Committer: Nick Couchman <ni...@yahoo.com>
Committed: Wed Sep 27 13:02:41 2017 -0400

----------------------------------------------------------------------
 src/common-ssh/ssh.c | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/blob/e4dd8de4/src/common-ssh/ssh.c
----------------------------------------------------------------------
diff --git a/src/common-ssh/ssh.c b/src/common-ssh/ssh.c
index d3e1e42..212b21f 100644
--- a/src/common-ssh/ssh.c
+++ b/src/common-ssh/ssh.c
@@ -457,6 +457,7 @@ guac_common_ssh_session* guac_common_ssh_create_session(guac_client* client,
         if (fd < 0) {
             guac_client_abort(client, GUAC_PROTOCOL_STATUS_SERVER_ERROR,
                     "Unable to create socket: %s", strerror(errno));
+            free(addresses);
             return NULL;
         }
 


[2/3] incubator-guacamole-server git commit: GUACAMOLE-398: Use freeaddrinfo() instead of free() on the linked list.

Posted by mj...@apache.org.
GUACAMOLE-398: Use freeaddrinfo() instead of free() on the linked list.


Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/commit/9200bc78
Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/tree/9200bc78
Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/diff/9200bc78

Branch: refs/heads/master
Commit: 9200bc789fbd9da1a35402a71b2f783a25b8064a
Parents: e4dd8de
Author: Nick Couchman <ni...@yahoo.com>
Authored: Wed Sep 27 13:24:58 2017 -0400
Committer: Nick Couchman <ni...@yahoo.com>
Committed: Wed Sep 27 13:24:58 2017 -0400

----------------------------------------------------------------------
 src/common-ssh/ssh.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/blob/9200bc78/src/common-ssh/ssh.c
----------------------------------------------------------------------
diff --git a/src/common-ssh/ssh.c b/src/common-ssh/ssh.c
index 212b21f..5ea6fea 100644
--- a/src/common-ssh/ssh.c
+++ b/src/common-ssh/ssh.c
@@ -457,7 +457,7 @@ guac_common_ssh_session* guac_common_ssh_create_session(guac_client* client,
         if (fd < 0) {
             guac_client_abort(client, GUAC_PROTOCOL_STATUS_SERVER_ERROR,
                     "Unable to create socket: %s", strerror(errno));
-            free(addresses);
+            freeaddrinfo(addresses);
             return NULL;
         }
 


[3/3] incubator-guacamole-server git commit: GUACAMOLE-398: Merge fix for address info memory leak.

Posted by mj...@apache.org.
GUACAMOLE-398: Merge fix for address info memory leak.


Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/commit/1d0e63b2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/tree/1d0e63b2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/diff/1d0e63b2

Branch: refs/heads/master
Commit: 1d0e63b251c548a7b8ddea95e7502ab81283b427
Parents: afb554a 9200bc7
Author: Michael Jumper <mj...@apache.org>
Authored: Wed Sep 27 10:27:22 2017 -0700
Committer: Michael Jumper <mj...@apache.org>
Committed: Wed Sep 27 10:27:22 2017 -0700

----------------------------------------------------------------------
 src/common-ssh/ssh.c | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------