https://gitlab.synchro.net/main/sbbs/-/commit/5a9cf58f77d0d7d1a1240f13
Modified Files:
src/sbbs3/scfglib1.c scfglib2.c
Log Message:
Don't conditionally allocate scfg_t dynamic arrays
malloc(0) returns a usable/freeable pointer on all supported platforms.
This change insures that the scfg_t dynamically allocated arrays are all valid non-NULL pointers, even if/when the array length is 0. This should resolve
a lot of new(ish) CIDs. Or not. We'll see. :-/
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net