mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 02:46:58 +00:00
* svr-tcpfwd.c: should be MAX_NAME_LEN not MAXNAMLEN
--HG-- extra : convert_revision : f3f6f865b6d723add601feabf155a1fcc084b0aa
This commit is contained in:
parent
bf045a0564
commit
d8e61e51de
@ -80,7 +80,7 @@ void recv_msg_global_request_remotetcp() {
|
||||
reqname = buf_getstring(ses.payload, &namelen);
|
||||
wantreply = buf_getbool(ses.payload);
|
||||
|
||||
if (namelen > MAXNAMLEN) {
|
||||
if (namelen > MAX_NAME_LEN) {
|
||||
TRACE(("name len is wrong: %d", namelen))
|
||||
goto out;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user