Wireshark-commits: [Wireshark-commits] rev 29957: /trunk/epan/dissectors/ /trunk/epan/dissectors/:

Date: Thu, 17 Sep 2009 02:37:58 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=29957

User: morriss
Date: 2009/09/16 07:37 PM

Log:
 From zeemon via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3848 :
 
 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().

Directory: /trunk/epan/dissectors/
  Changes    Path                Action
  +10 -10    packet-edonkey.c    Modified