https://gitlab.synchro.net/main/sbbs/-/commit/bb1ee45982174c3a0a73ce1e
Modified Files:
src/sbbs3/ftpsrvr.c
Log Message:
Fix segfault reported with ftpalias.cfg support in some casesftpalias() can return true even when the directory is not set to a validdirectory index (i.e. set to -1), so using as an array index would definitelysegfault. Part of commit 8ad30b6c by Deuce 3 years ago.I didn't test this as I'm not sure exactly the combination of ftpalias.cfgcontent and FTP command received that would trigger this, but it's mostdefinitely a bug.So should fix the segfault reported in issue #288.
--- SBBSecho 3.14-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)