https://gitlab.synchro.net/main/sbbs/-/commit/4e1ca83aac044659d9f87409
Modified Files:
src/sbbs3/pack_qwk.cpp un_rep.cpp
Log Message:
Fix possible crash when no extractable file types are configured in SCFGIf libarchive couldn't extract a QWK or REP packet, we'd fallback to searchingfor a match among the configured extractable file types and if no extension/typematch was found, default to the first configured extractable file type(even if there wasn't one) which would result in a NULL pointer dereferenceand most likely a crash. Instead, if no matching configured extractablefile type is found, just log a warning message and don't continue with theextraction attempt. With SBBS v3.19+, it's totally valid/legit to have noextractable file types configured in SCFG and things "just work" (usinglibarchive).
--- SBBSecho 3.20-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)