diff options
| author | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2017-05-22 00:29:59 +0300 |
|---|---|---|
| committer | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2017-05-22 00:29:59 +0300 |
| commit | f63d2754e38e718638bb4262df187109cfa2a204 (patch) | |
| tree | f87fe9050100a9b5d5f22fdd4a6c0082d0ca0430 /NEWS | |
| parent | channel-type.c (print_channel): Bugfix: Handle freed channels (diff) | |
| download | guile-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-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |
