diff options
Diffstat (limited to 'security/ssh2/files/patch-apps::ssh::lib::sshproto::sshconn.c')
-rw-r--r-- | security/ssh2/files/patch-apps::ssh::lib::sshproto::sshconn.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/security/ssh2/files/patch-apps::ssh::lib::sshproto::sshconn.c b/security/ssh2/files/patch-apps::ssh::lib::sshproto::sshconn.c new file mode 100644 index 000000000000..cd744448a77f --- /dev/null +++ b/security/ssh2/files/patch-apps::ssh::lib::sshproto::sshconn.c @@ -0,0 +1,22 @@ +--- apps/ssh/lib/sshproto/sshconn.c.orig 2003-12-03 15:17:34.000000000 +0200 ++++ apps/ssh/lib/sshproto/sshconn.c +@@ -452,7 +452,8 @@ Boolean ssh_conn_send_channel_data_type( + (unsigned int) SSH_MSG_CHANNEL_DATA, + SSH_FORMAT_UINT32, (SshUInt32) + channel->remote_id, +- SSH_FORMAT_UINT32_STR, buf, len, ++ SSH_FORMAT_UINT32_STR, buf, ++ (size_t) len, + SSH_FORMAT_END); + } + else +@@ -465,7 +466,8 @@ Boolean ssh_conn_send_channel_data_type( + SSH_FORMAT_UINT32, (SshUInt32) + channel->remote_id, + SSH_FORMAT_UINT32, (SshUInt32) i, +- SSH_FORMAT_UINT32_STR, buf, len, ++ SSH_FORMAT_UINT32_STR, buf, ++ (size_t) len, + SSH_FORMAT_END); + } + |