wolfssh/src
Andrew Hutchings 4cb8d1ee99 Fix buffer over-read in wolfSSH_DoModes terminal mode parsing
The while loop condition only checked that the opcode byte was in bounds
(idx < modesSz) but not the 4-byte argument read by ato32(). When
modesSz had a remainder of 1 mod 5 and the trailing byte was a valid
opcode (1-159) rather than TTY_OP_END, ato32() would read 4 bytes past
the buffer. Change the loop guard to require a full TERMINAL_MODE_SZ
bytes remaining before entering the loop body.
2026-02-23 09:56:01 +00:00
..
agent.c Release v1.4.22 2025-12-29 16:53:33 -08:00
certman.c Release v1.4.22 2025-12-29 16:53:33 -08:00
include.am Add tests and fix issues 2025-12-09 09:36:38 -08:00
internal.c Fix buffer over-read in wolfSSH_DoModes terminal mode parsing 2026-02-23 09:56:01 +00:00
io.c Release v1.4.22 2025-12-29 16:53:33 -08:00
keygen.c Release v1.4.22 2025-12-29 16:53:33 -08:00
log.c Release v1.4.22 2025-12-29 16:53:33 -08:00
misc.c Coverity: Untrusted divisor 2026-01-20 11:27:48 -08:00
port.c Release v1.4.22 2025-12-29 16:53:33 -08:00
ssh.c Channel Type Accessor 2026-01-27 10:59:52 -08:00
wolfscp.c improvements to wolfSSH_CleanPath function used with SCP 2026-01-06 16:08:12 -07:00
wolfsftp.c Address items in the review 2026-02-12 06:40:29 +00:00
wolfterm.c Release v1.4.22 2025-12-29 16:53:33 -08:00