[BPL11] OLC

From: Scorn (scorn@RMI.NET)
Date: 08/18/98


ok i found a bug in my olc............
if a player drops link in sedit redit medit zedit oedit the mud crashes and
my debugger pulls this line

int get_from_q(struct txt_q *queue, char *dest, int *aliased)
{

if (!queue->head)
    return 0;

  tmp = queue->head;
  strcpy(dest, queue->head->text); <---------------this line
  *aliased = queue->head->aliased;

if it happens in tedit or hedit here:

ACMD(do_get);

  for (ch = character_list; ch; ch = next_ch) {
    next_ch = ch->next;  <----------------this line

anyone else had this happen?
Scorn


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