https://gitlab.synchro.net/main/sbbs/-/commit/e78f01685b5886283df63c12
Modified Files:
docs/v322_new.md src/sbbs3/answer.cpp
Log Message:
SSH: range-check the client's terminal width and height
The width and height from an SSH client's pty-req were accepted as long
as they were greater than zero, so an SSH client could set dimensions
(e.g. 1 column, or billions) that the Telnet window-size, ANSI
auto-detection, JavaScript console and user-setting paths all reject.
Apply the same TERM_COLS_MIN/MAX and TERM_ROWS_MIN/MAX limits and log
and ignore an out-of-range value, leaving the default or auto-detected dimension in effect, as for Telnet.
Also log the width as "width" rather than "height".
Fixes #1368
Co-Authored-By: Claude Opus 5.5 <
noreply@anthropic.com>
--- SBBSecho 3.38-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)