summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorArtyom V. Poptsov <poptsov.artyom@gmail.com>2017-05-22 00:29:59 +0300
committerArtyom V. Poptsov <poptsov.artyom@gmail.com>2017-05-22 00:29:59 +0300
commitf63d2754e38e718638bb4262df187109cfa2a204 (patch)
treef87fe9050100a9b5d5f22fdd4a6c0082d0ca0430 /NEWS
parentchannel-type.c (print_channel): Bugfix: Handle freed channels (diff)
downloadguile-ssh-f63d2754e38e718638bb4262df187109cfa2a204.tar.gz
channel-func.c (guile_ssh_channel_get_exit_status): Handle freed channels
* libguile-ssh/channel-func.c (guile_ssh_channel_get_exit_status): Throw 'wrong-type-arg' if a freed channel is passed as an argument. * libguile-ssh/channel-type.h (GSSH_VALIDATE_OPEN_CHANNEL): Check if a channel is freed. * tests/client-server.scm ("channel-get-exit-status, freed channel"): New test case. * tests/common.scm (test-error-with-log/=): Check error key and message properly. (test-error-with-log): Check an error key. (test-error-with-log/handler): Remove extra rules. * NEWS: Update.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 397c653..27be873 100644
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,9 @@ Copyright (C) Artyom V. Poptsov <poptsov.artyom@gmail.com>
* Unreleased
** Bugfixes
+*** In (ssh channel)
+ 'channel-get-exit-status' now handles freed channels properly by throwing
+ 'wrong-type-arg' error.
*** In (ssh dist node)
**** 'node-guile-version' now does not fail
The procedure would always fail to get Guile version. Now that should be