[Snort-devel] core dump in Version 1.8.4-beta4 (Build 96)

Phil Wood cpw at ...86...
Wed Mar 6 06:46:25 EST 2002


In PruneSessionCache:

2514            do
2515            {
2516                if(idx == save_me)
2517                    idx = (Session *) ubi_btNext((ubi_btNodePtr)idx);
         *** idx is now 0
2518                    
2519                if((idx->last_session_time+s4data.timeout) < thetime)
         *** core dump at 2519
2520                {
2521                    Session *savidx = idx;
2522
2523                    if(ubi_trCount(RootPtr) > 1)

print save_me
$1 = (Session *) 0x815fc08

print *save_me
$2 = {Node = {Link = {0x0, 0x0, 0x0}, gender = 1 '\001', balance = 1 '\001'}, 
  server = {ip = 239561664, port = 15412, state = 4 '\004', isn = 1097008324, 
    current_seq = 0, base_seq = 1097008325, last_ack = 1097008778, 
    win_size = 8576, pkts_sent = 0, bytes_sent = 0, data = {root = 0x0, 
      cmp = 0x807f3a8 <DataCompareFunc>, count = 0, flags = 0 '\000'}, 
    dataPtr = 0x815fc3c}, client = {ip = 856062412, port = 80, 
    state = 4 '\004', isn = 4212319341, current_seq = 4220020527, 
    base_seq = 4212319342, last_ack = 4212319342, win_size = 0, 
    pkts_sent = 5370, bytes_sent = 7764897, data = {root = 0x8d81768, 
      cmp = 0x807f3a8 <DataCompareFunc>, count = 5321, flags = 0 '\000'}, 
    dataPtr = 0x815fc74}, start_time = 1015422948, 
  last_session_time = 1015423042, session_flags = 1}






More information about the Snort-devel mailing list