BBS: TELESC.NET.BR Assunto: src/sbbs3/smbutil.c De: Rob Swindell (on Debian Linux) Data: Wed, 6 May 2026 22:36:56 -0700 ----------------------------------------------------------- https://gitlab.synchro.net/main/sbbs/-/commit/1fbe29cb3c13f8878731477d Modified Files: src/sbbs3/smbutil.c Log Message: smbutil: free idxbuf and unlock smbhdr on terminated abort in maint() (CID 644892) Five 'if (terminated) return;' sites in maint() leaked idxbuf (heap) and left the SMB header lock held. The deletion-execution loop also left the SMB-allocation file handles open. Mirror the existing "nothing to delete" cleanup before each early return. Co-Authored-By: Claude Opus 4.7n --- mSynchronetn hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net ----------------------------------------------------------- [Voltar]