Following up, I found the following solution to address the same
problem:
https://github.com/NetBSD/src/commit/36b8cfb2e28f691beae12da0c207086e1df0c8c4#diff-38b7213f9c6c21245fbeb4fad9520a27239d712a6dd0fea20dd6b77203b5737c
This solves the infloop, but it seems it is mostly masquerading the
real
Hi! I am helping maintaining GNU InetUtils which include 'telnet' and
we found a problem that appears to exist in OpenBSD telnet too.
Instead of us fixing something and causing further code differences,
I'd like to collaborate so we understand the problem and the fix in th
same way between these