Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-bugs: [Wireshark-bugs] [Bug 2062] SNMP (libsmi) register_mibs() related crash

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: bugzilla-daemon@xxxxxxxxxxxxx
Date: Sun, 2 Dec 2007 16:41:21 +0000 (GMT)

http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2062





------- Comment #1 from nikns@xxxxxxxxx  2007-12-02 16:41 GMT -------
This seems to fix crash:

--- epan/oids.c.orig    Sun Dec  2 17:26:20 2007
+++ epan/oids.c Sun Dec  2 17:28:56 2007
@@ -591,7 +591,7 @@ void register_mibs(void) {
                        if ( typedata && oid_data->value_hfid == -2 ) {
                                SmiNamedNumber* smiEnum; 
                                hf_register_info hf = {
&(oid_data->value_hfid), { 
-                                       oid_data->name,
+                                       g_strdup(oid_data->name),
                                        alnumerize(oid_data->name),
                                        typedata->ft_type,
                                        typedata->display,


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

  • References:
    • [Wireshark-bugs] [Bug 2062] New: SNMP (libsmi) register_mibs() related crash
      • From: bugzilla-daemon
  • Prev by Date: [Wireshark-bugs] [Bug 2065] New: configure warnings_as_errors_default fix
  • Next by Date: [Wireshark-bugs] [Bug 2064] packet-gsm_map.c
  • Previous by thread: [Wireshark-bugs] [Bug 2062] New: SNMP (libsmi) register_mibs() related crash
  • Next by thread: [Wireshark-bugs] [Bug 2062] SNMP (libsmi) register_mibs() related crash
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation