Re: [CODE] Overflow Problems.....

From: George Greer (greerga@circlemud.org)
Date: 04/22/99


On Thu, 22 Apr 1999, Maximum Carnage wrote:

>Recently this problem has surfaced on my MUD esp. when I use the file
>command I got from the snippet tar found on the circlemud ftp site.  Anyhow
>heres what happens eventually.:

Means you've written x (x>8192) characters into an 8192 buffer.

>this could help, but either way I still have the same problemz...  Well
>thanx for listening and I look forward to a hopefully flameless reply from
>someone:>  LAterz.

Use snprintf() or make the offending function make sure not to overrun its
area to write.

--
George Greer
greerga@circlemud.org


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



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