Re: Overflows --again...

From: George (greerga@circlemud.org)
Date: 11/24/98


On Tue, 24 Nov 1998, "CircadiaŠ Adminstrator" wrote:

>Nov 24 06:46:33 :: SYSERR: *** Buffer overflow! ***
>buf2: $n leaves east.
>length: 15
[...]
>
>Any idea what's causing these errors? *Sigh*

Means either 'buf' 'buf1' 'buf2' or 'arg' do not have a terminating
MAGIC_NUMBER or '\0' as the last digit of the array.  That would mean
you've written past the end of the array and wiped out the special marker
put there. The value printed out isn't necessarily what caused it.

--
George Greer, greerga@circlemud.org | Genius may have its limitations, but
http://mouse.van.ml.org/   (mostly) | stupidity is not thus handicapped.
http://www.van.ml.org/CircleMUD/    |                  -- Elbert Hubbard


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