The following patches have been applied, submitted to CVS as noted:
- Frequent crashes after client disconnects
 After a client disconnected, the server would frequently generateSIGPIPE, and wouldn't be trapped.  Further analysis
showed that the functionSockList_ReadPacket()in the
file lowlevel.c did not check forECONNRESETas a
possible result fromReadPacket()on non-Windows
platforms.  Adding code that checks for this condition and then closes
the socket fixed this problem. Applied to CVS 2006-09-02
 
- Random crashes when entering a randomly generated map
 The functionsurround_flag3()in wall.c generatedSIGSEGVas a result of out-of-bounds on thespaces[]array of the map struct.  To resolve this,
boundry checking is now performed within the function.  Out-of-bounds
parameters now cause0to be returned.  Additionally, theiandjparameters were changed from typesint16to typeint.  This matches the types
passed to the parent functionfind_enclosed_spot()in
treasure.c.  Applied to CVS 2006-09-04
 
The server runs inDEBUG mode so that good traces are (usually) generated.