Commit 2962e4a5 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Fix segfault when printing Bad-echo name after failing to load cfg

This is a weird one: sbbsecho ran right as I was saving msgs.cnf via
SCFG and it seems like it loaded 0-byte msgs.cnf into memory and this
segfault was a result of trying to print sub[INVALID_SUB]->code.

The use of [f]nopen() with proper share perms should have prevented this
(truncated msgs.cnf read) from happening, so there's something else afoot here.
parent dc4b1bd9
Pipeline #3001 passed with stage
in 9 minutes and 33 seconds