Re: [CODE][NEWBIE][HELP]

From: Acido (acido@dvmud.net)
Date: 02/18/99


At 05:16 PM 2/18/99 +0100, you wrote:
>At 09:56 AM 2/18/99 -0500, you wrote:
>
><SNIP>
>>void write_aliases(struct char_data *ch)
>>{
>>  FILE *file;
>>  char fn[127],*buf;
>The above line is bad :) it causes your mud to crash if the alias is longer
>than 127 chars.

Ack sorry bout this.. Seeing the alias code just brought back memories
about the time where large aliases caused buffer overflow which is not the
case here since it's the pathname that has a 127bytes buffer :)


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