[Ns-bugs] [Bug 35] The Packet::AddTrailer function tries to write past the end of the buffer

bugzilla-daemon@nsnam-www.ece.gatech.edu bugzilla-daemon at nsnam-www.ece.gatech.edu
Mon Jun 11 23:38:00 PDT 2007


http://www.nsnam.org/bugzilla/show_bug.cgi?id=35


mathieu.lacage at sophia.inria.fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |INVALID




------- Comment #2 from mathieu.lacage at sophia.inria.fr  2007-06-12 02:38 -------
This is not a bug: it is the expected behavior. The iterator fed to SerializeTo
is expected to be the "end" of the buffer for a Trailer to mirror the behavior
of SerializeTo for a Header and I believe that the API doc in trailer.h and
packet.h correctly document this behavior. This was aactually a bug in an
earlier version of the code, see changeset 37bb15dd01b1: "hg log -p -r
37bb15dd01b1"


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Ns-bugs mailing list