Wireshark-bugs: [Wireshark-bugs] [Bug 1120] New: packet-text-media doesn't setup a heur_dissecto

Date: Thu, 21 Sep 2006 19:06:02 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1120

           Summary: packet-text-media doesn't setup a heur_dissector_list or
                    call dissector_try_heuristic
           Product: Wireshark
           Version: 0.99.4
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Blocker
          Priority: Medium
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: phantal@xxxxxxxxx


I've been trying to find a way to add a heuristic dissector to http, but I've
been balked in all my attempts by the dissector in packet-text-media.c.

  I did the following in my code:

heur_dissector_add ("data-text-lines", dissect_test, proto_test);

  ... where dissect_test & proto_test were both defined appropriately; I get an
assertion failed in packet.c inside heur_dissector_add on line 1463:

heur_dissector_list_t *sub_dissectors = find_heur_dissector_list(name);
...
g_assert (sub_dissectors != null);


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.