9ad30c5bed
Copy from Base:System/openssh based on submit request 40041 from user anicka OBS-URL: https://build.opensuse.org/request/show/40041 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openssh?expand=0&rev=42
13 lines
459 B
Diff
13 lines
459 B
Diff
Index: openssh-5.4p1/sftp-client.c
|
|
===================================================================
|
|
--- openssh-5.4p1.orig/sftp-client.c
|
|
+++ openssh-5.4p1/sftp-client.c
|
|
@@ -713,6 +713,7 @@ do_realpath(struct sftp_conn *conn, char
|
|
u_int status = buffer_get_int(&msg);
|
|
|
|
error("Couldn't canonicalise: %s", fx2txt(status));
|
|
+ buffer_free(&msg);
|
|
return(NULL);
|
|
} else if (type != SSH2_FXP_NAME)
|
|
fatal("Expected SSH2_FXP_NAME(%u) packet, got %u",
|