Re: [Buffers] Problems with improvededit and buffers?

From: Chris Jacobson (fear@ATHENET.NET)
Date: 09/15/97

On 9/15/97 3:10 PM, George (greerga@DRAGON.HAM.MUOHIO.EDU) stated:

>You just said that the buffer will be overrun and now you're saying a
>static 32k buffer would be better? Perhaps you should fix the overrun
>because those are particularly nasty.  My code attempts to detect them but
>of course, with memory being FUBAR'd after an overrun, sometimes it will
>crash and sometimes it'll be detected.
>If you don't think memory problems are nasty, a small oversight in the
>castle code assigning to mob_index[-1] caused OasisOLC to crash on Solaris
>but nowhere else.  Took about 6 hours to find.

Actually I believe hte problem was that in adding the buffers, I removed
the buf = '\0' commands, since the buffer allocations automatically do
that... however I also (accidentally) removed a couple of extra ones
which were necessary so that it didn't keep appending to the buffer
(because it was supposed to be reset at that point anyways)

- Chris Jacobson

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

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