mattgodbolt / xania

Xania MUD source
Other
58 stars 13 forks source link

infinite loop when reporting a `bug()` #284

Closed snellers closed 2 years ago

snellers commented 2 years ago

In Logging.cpp, the call to while (getc(area_file) != '\n') can infite loop, e.g. where you try to load an invalid area file. We just need to check for EOF I think.