Re: Dup Bug Revisited

From: Cris Jacobin (jacobin@BELLATLANTIC.NET)
Date: 01/22/98


#0  0x8061fee in Valid_Name (newname=0xbffff618 "Messenger") at ban.c:253
253         if (GET_NAME(dt->character) && !str_cmp(GET_NAME(dt->character),newn
ame))
(gdb) bt
#0  0x8061fee in Valid_Name (newname=0xbffff618 "Messenger") at ban.c:253
#1  0x8072cbc in nanny (d=0x8375d68, arg=0xbffff818 "Messenger")
    at interpreter.c:1486
#2  0x804a102 in game_loop (mother_desc=3) at comm.c:638
#3  0x8049783 in init_game (port=4000) at comm.c:257
#4  0x8049714 in main (argc=3, argv=0xbffffd94) at comm.c:227
(gdb) print *dt
$1 = {descriptor = 30, host = "206.173.140.123", '\000' <repeats 15 times>,
  bad_pws = 0 '\000', idle_tics = 0 '\000', connected = 17, wait = -2088,
  desc_num = 39, login_time = 885527258, showstr_head = 0x0,
  showstr_vector = 0x0, showstr_count = 0, showstr_page = 0, str = 0x0,
  backstr = 0x0, max_str = 0, mail_to = 0, prompt_mode = 0,
  inbuf = '\000' <repeats 511 times>, last_input = '\000' <repeats 255 times>,
  small_outbuf = "\000o you support the ANSI color standard (Yn)? ", '\000' <rep
eats 978 times>, output = 0x836cb8c "", bufptr = 0, bufspace = 1023,
  large_outbuf = 0x0, input = {head = 0x0, tail = 0x0}, character = 0x0,
  original = 0x0, snooping = 0x0, snoop_by = 0x0, next = 0x836a930, olc = 0x0}
(gdb) print *descriptor_list
$2 = {descriptor = 31, host = "203.055.230.147", '\000' <repeats 15 times>,
  bad_pws = 0 '\000', idle_tics = 1 '\001', connected = 2, wait = 1,
  desc_num = 40, login_time = 885527449, showstr_head = 0x0,
  showstr_vector = 0x0, showstr_count = 0, showstr_page = 0, str = 0x0,
  backstr = 0x0, max_str = 0, mail_to = 0, prompt_mode = 1,
  inbuf = "\000essenger\r\n", '\000' <repeats 500 times>,
  last_input = "Messenger", '\000' <repeats 246 times>,
  small_outbuf = "\000olor is on.\r\n\r\n\r\n", ' ' <repeats 29 times>, "-=-  Bu
tterMud 2.0 -=-\r\n", ' ' <repeats 27 times>, "telnet://betterbox.net 4000\r\n",
 ' ' <repeats 28 times>, "Based on CircleMUD 3.0,\r\n", ' ' <repeats 28 times>,
"Created by Jeremy Elson\r\n\r\n", ' ' <repeats 22 times>, "A derivative of Diku
MUD (GA"..., output = 0x83760c4 "", bufptr = 0, bufspace = 1023,
  large_outbuf = 0x0, input = {head = 0x0, tail = 0x82edab0},
  character = 0x829efe8, original = 0x0, snooping = 0x0, snoop_by = 0x0,
  next = 0x836c830, olc = 0x0}
(gdb)

-Jac


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