[BPL11] [Bugfix] Bug in show rent

From: Rob Baumstark (shirak@CONNECT.AB.CA)
Date: 02/25/98


If you do a show rent on a player with too many objects, you will overrun
the MAX_STRING_LENGTH buffer and crash the MUD.  I just put in a:

if(strlen(buf) > MAX_STRING_LENGTH-80)
  break;

In the loop that goes through all of the players objects.  I don't know if
it is fixed in bpl12 or not.
-------------------------------------------------------------
     Rob Baumstark:   shirak@connect.ab.ca
                      cst0656@nait.ab.ca

   Forsaken Realms:   telnet://wolfpack-hlhs.v-wave.com:4000
-------------------------------------------------------------


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST