-
- Downloads
Insure active_clients is initialized before cleanup() can be called.
Fix reported and observed crash in cleanup() (in ftp, mail, websrvr) when failing to create the temp directory. This was due to cleanup() being called before the protected integer "active_clients" was initialized. Also, md() needs to return the errno value (not a BOOL) since the caller may be in another DLL with a different errno (which likely has a value of 0/no error).
Showing
- src/sbbs3/ftpsrvr.c 3 additions, 3 deletionssrc/sbbs3/ftpsrvr.c
- src/sbbs3/load_cfg.c 4 additions, 4 deletionssrc/sbbs3/load_cfg.c
- src/sbbs3/mailsrvr.c 3 additions, 5 deletionssrc/sbbs3/mailsrvr.c
- src/sbbs3/main.cpp 7 additions, 6 deletionssrc/sbbs3/main.cpp
- src/sbbs3/sbbs.h 1 addition, 2 deletionssrc/sbbs3/sbbs.h
- src/sbbs3/services.c 2 additions, 2 deletionssrc/sbbs3/services.c
- src/sbbs3/websrvr.c 5 additions, 4 deletionssrc/sbbs3/websrvr.c
Loading
Please register or sign in to comment