aMule Forum
English => en_Bugs => Topic started by: Gnucco on October 04, 2007, 09:27:00 AM
-
I read a tag list from a binary packet stored in a CMemFile object.
Writing the same taglist to another MemFile, the binary output is different from the original binary input.
To reproduce the bug, simply put the attached cpp file in src dir, and add
#include "amule_taglist_selftest.cpp"
somewhere at the bottom of amule.cpp.
The attached source file contains two taglist dump captured directly from a live kad session.
IMHO, some sort of self-test could be added to amule startup.
-
I forgot to say that I used the CVS snapshot of 20070924.
I filed the bug report here: http://bugs.amule.org/view.php?id=1188