Re: [Code]Medit crashing mud

From: Patrick J. Dughi (dughi@IMAXX.NET)
Date: 09/06/97


> > just comment out the "free ()" in the medit.c that will fix the
> > problem,
> > from what I've seen its a common bug.
> But doing so will cause a nice memory leak. Anyone know of another fix?

Actually, if you go back through recent posts, you'll see that the reason
it crashes is because of an improper allocation in the mob_index or
whatever array of mob structs.  I believe that the actual fix was to
increment the mob_index by 2 as opposed to 1.  I think some one actually
re-wrote the entire thing to actually work correctly too - drop in code,
though I can't remember for sure.

        I'm still 200 messages behind on the list, so give me a while to
dig it up.
                                                                PjD


     +------------------------------------------------------------+
     | 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/08/00 PST