https://gitlab.synchro.net/main/sbbs/-/commit/711699d05f3b5acb635ff906
Modified Files:
src/ssh/ssh-trans.c
Log Message:
Fix send_packet buffer overflow with large MAC digest
Move mac_len computation before the packet buffer size check so the
overflow guard accounts for the MAC bytes that will be appended after
the encrypted packet. Without this, a MAC module with a digest larger
than the padding headroom could write past the end of tx_packet.
Co-Authored-By: Claude Opus 4.6 (1M context) <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net