Code:
(gdb) up
#1 0x00326a89 in free () from /lib/libc.so.6
(gdb) up
#2 0x0809d541 in close_socket (d=0x938cf70) at comm.c:2094
2094 free(d->history[cnt]);
(gdb) print *d
$1 = {descriptor = 154734240, host = "p!A", '\000' <repeats 37 times>,
bad_pws = 0 '\000', idle_tics = 0 '\000', connected = 32, desc_num = 6,
login_time = 1516187435, showstr_head = 0x0, showstr_vector = 0x0,
showstr_count = 0, showstr_page = 0, str = 0x0, backstr = 0x0, max_str = 0,
mail_to = 0, has_prompt = 0,
inbuf = "\000ET http://www.boxun.com/ HTTP/1.1\r\nHost: www.boxun.com\r\nConne ction: keep-alive\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nUser-Agent : Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML,"...,
last_input = "User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537. 36 (KHTML, like Gecko)", '\000' <repeats 425 times>,
small_outbuf = "Attempting to Detect Client, Please Wait...\r\n\377\375\030Col lecting Protocol Information... Please Wait.\r\n", '\000' <repeats 926 times>,
output = 0x93901d0 "Attempting to Detect Client, Please Wait...\r\n\377\375\03 0Collecting Protocol Information... Please Wait.\r\n", history = 0x8bde4b0,
history_pos = 1, bufptr = 97, bufspace = 926, large_outbuf = 0x0, input = {
head = 0x0, tail = 0x9390c88}, character = 0x0, original = 0x0,
snooping = 0x0, snoop_by = 0x0, next = 0x0, olc = 0x0,
pProtocol = 0x9390ea8, events = 0x9390a30}
(gdb) print d->history[0]
$2 = 0x9390b00 ".1"
(gdb) print d->history[1]
$3 = 0x9390b08 "(\v9\t: www.boxun.com"
(gdb) print d->history[2]
$4 = 0x9390b48 "p\v9\tection: keep-alive"
(gdb) print d->history[3]
$5 = 0x9390b98 "\310\v9\tpt-Encoding: gzip, deflate"
(gdb) print d->history[4]
$6 = 0x9390bf8 "\200\f9\tpt: */*"
(gdb) print d->output
$7 = 0x93901d0 "Attempting to Detect Client, Please Wait...\r\n\377\375\030Collecting Protocol Information... Please Wait.\r\n"