BBS: TELESC.NET.BR Assunto: src/sftp/sftp_client.c De: Deuc¨ Data: Fri, 1 May 2026 09:47:56 -0700 ----------------------------------------------------------- https://gitlab.synchro.net/main/sbbs/-/commit/977697e41fc2c88f6417d4b0 Modified Files: src/sftp/sftp_client.c Log Message: sftp client: eager-bail per parse step in parse_readdir Restructure the readdir entry-parse loop so each of the three calls (filename getstring, longname getstring, fattr getfattr) is followed immediately by its NULL check, rather than running all three before checking any of them. On corrupt input this skips one or two doomed parses on the wreckage of the failing one, and the PENDING_RECORD error string now identifies which of the three steps failed and which entry of N much easier to triage than the old "getstring/getfattr failed at entry N" generic. No on-the-wire change. Co-Authored-By: Claude Opus 4.7 (1M context)n --- mSynchronetn hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net ----------------------------------------------------------- [Voltar]