[Ns-bugs] [Bug 572] Tag offsets not updated in Packet::PeekData ()

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Mon Jun 1 05:01:29 PDT 2009


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





--- Comment #3 from Pavel Boyko <boyko at iitp.ru>  2009-06-01 08:01:29 EDT ---

> Anyway, I've seen that the tag (a time tag in my case) disappear between some
> header and trailer removals. Ofc it's not a consistent behaviour, 90% of the
> times all goes fine, 10% of the packets have corrupted tags. The kind of bugs I
> love.

  This is a symptom of broken buffer offsets stored in the tags, this happens
when buffer changes its origin offset. M.b. you have faced with the case, when
new buffer start offset is _larger_ than an old one -- I'm afraid that in this
case my patch with AddAtStart() doesn't help and you can try AddAtEnd().

> I'll go search for something similar to the problem you spotted in those
> functions, but I'd not consider this bug as fixed yet.

  Good luck!


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


More information about the Ns-bugs mailing list