Wireshark-bugs: [Wireshark-bugs] [Bug 3848] New: Error on Dissectting the eMule sourceOBFU messa

Date: Mon, 10 Aug 2009 07:16:01 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3848

           Summary: Error on Dissectting the eMule sourceOBFU message
           Product: Wireshark
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Medium
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: zeemon@xxxxxxxx


Build Information:
Version 1.3.0

Compiled with GTK+ 2.16.2, with GLib 2.20.3, with WinPcap (version unknown),
with libz 1.2.3, without POSIX capabilities, with libpcre 7.0, with SMI 0.4.8,
with c-ares 1.6.0, with Lua 5.1, without Python, with GnuTLS 2.8.1, with Gcrypt
1.4.4, with MIT Kerberos, with GeoIP, with PortAudio V19-devel (built Aug 10
2009), with AirPcap.

Running on Windows Vista Service Pack 2, build 6002, with WinPcap version 4.1
beta5 (packet.dll version 4.1.0.1452), based on libpcap version 1.0.0, GnuTLS
2.8.1, Gcrypt 1.4.4, without AirPcap.

Built using Microsoft Visual C++ 9.0 build 30729
--
epan\dissectors\packet-edonkey.c
In the fuction dissect_emule_sourceOBFU():
the line "ti = proto_tree_add_item(tree, hf_emule_sourceOBFU, tvb, offset, 7 +
((settings & 0x08) ? 16 : 0), FALSE); " should be "ti =
proto_tree_add_item(tree, hf_emule_sourceOBFU, tvb, offset, 7 + ((settings &
0x80) ? 16 : 0), FALSE);"
and, the line "if (settings & 0x08)" should be "if (settings & 0x80)", that is,
0x08 should be revised to 0x80.

reference: the eMule0.49c source code, file PartFile.cpp, line 2730, in the
function CPartFile::AddSources().


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