Return to msg.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.18, 2020/01/22 04:49:16 | version 1.19, 2020/06/24 15:08:53 | ||
---|---|---|---|
|
|
||
return (-1); | return (-1); | ||
} | } | ||
msg_len = get_u32(buf); | msg_len = get_u32(buf); | ||
if (msg_len > 256 * 1024) { | if (msg_len > sshbuf_max_size(m)) { | ||
error("%s: read: bad msg_len %u", __func__, msg_len); | error("%s: read: bad msg_len %u", __func__, msg_len); | ||
return (-1); | return (-1); | ||
} | } |