It was possible to circumvent telnet's security ``-E'' (no escape at all)
option by running it with ``-8 -E'' and passing it 0xff character. PR: 6317 Reviewed by: des, David Borman <dab@bsdi.com> (the author)
This commit is contained in:
parent
b8f659fe68
commit
1c51699372
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=47911
@ -1987,7 +1987,7 @@ telsnd()
|
||||
}
|
||||
if ((sc == '\n') || (sc == '\r'))
|
||||
bol = 1;
|
||||
} else if (sc == escape) {
|
||||
} else if (escape != _POSIX_VDISABLE && sc == escape) {
|
||||
/*
|
||||
* Double escape is a pass through of a single escape character.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user