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

Date: Wed, 5 Dec 2007 18:24:48 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2062





------- Comment #3 from gerald@xxxxxxxxxxxxx  2007-12-05 18:24 GMT -------
Lines 647 & 648 in oids.c say:

    if ((key = oid_data->key)) {
        for(; key; key = key->next) {

Was that supposed to be

    for(key = oid_data->key; key; key = key->next) {

or

    if ((key == oid_data->key)) {
        for(; key; key = key->next) {

?

There are other assignments within "if" statements at lines 596, 610, 970+972,
and 1004.


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