Re: modify.c bug

From: George (greerga@CIRCLEMUD.ORG)
Date: 06/19/98


On Fri, 19 Jun 1998, James Turner wrote:

>  } else
>    strcat(*d->str, "\r\n");
>}
>
>The code will continually add two bytes every time the current line
>would be too long.  Repeat this enough and bam, corruption and crash.
>It's simple to patch (I use a too_long flag myself, but a strlen + 2
>would work just fine).

Oh good, I thought it was improved_editor specific.

Well, actually, not good.  You can find this bug in the 'critical' folder.
:)

--
George Greer, greerga@circlemud.org | Genius may have its limitations, but
http://patches.van.ml.org/          | 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