Re: [CODE] Crashing

From: Ron Cole (rcole@SHELL.EZY.NET)
Date: 03/31/98


> lines that crash it, but I do know when someone calls do_players, then it
> will crash.  If anyone has ideas, please let me know.  (Even gdb hints and
> tips would be helpful).

>   sprintf(buf, "Player Name             Player Level\r\n");

>       sprintf(buf, "%s%-20s %-2i\r\n", buf, player.name, player.level);

How big is buf?  How many players do you have?

Ron


     +------------------------------------------------------------+
     | 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