https://gitlab.synchro.net/main/sbbs/-/commit/9c0884f3447d6e6149e71817
Modified Files:
src/sbbs3/scfglib2.c
Log Message:
Insure that the max (uploaded) filename limit is in the range 8-65535 characters
Upgrading fromm v3.19 can result in a setting of filename_maxlen=0 in file.ini, so let's
put a special check in place to insure this can't happen (thus preventing any file
uploads). I chose '8' as a kind of arbitrary minimum maximum value (MS-DOS filenames
maxed out at 12 characters), but at least 0 won't be possibly any longer.
As reported on DOVE-Net by Codefenix and confirmed by xbit.