Bug 562 - bug in TagBuffer.cc - TagBuffer::WriteU64
bug in TagBuffer.cc - TagBuffer::WriteU64
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: core
ns-3-dev
All All
: P5 major
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-09 09:31 UTC by Tommaso Pecorella
Modified: 2009-06-19 03:07 UTC (History)
1 user (show)

See Also:


Attachments
patch for the tagbuffer bug (366 bytes, patch)
2009-06-10 11:42 UTC, Tommaso Pecorella
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tommaso Pecorella 2009-05-09 09:31:55 UTC
Terrible suspect after seeing the change in buffer.cc. Suspect confirmed.

TagBuffer.cc, line 102 should be: 
  WriteU8 ((data >> 56) & 0xff);
instead of
  WriteU8 ((data >> 54) & 0xff);


Cheers
Comment 1 Mathieu Lacage 2009-05-19 09:25:03 UTC
already fixed in ns-3-dev. see changeset 9491c5faaec6
Comment 2 Tommaso Pecorella 2009-06-10 10:50:13 UTC
It seems that the bug is still there.

Maybe a wrong commit.

Cheers
Comment 3 Mathieu Lacage 2009-06-10 10:52:55 UTC
ah, ok. well, patch + test, please ?
Comment 4 Tommaso Pecorella 2009-06-10 11:42:37 UTC
Created attachment 464 [details]
patch for the tagbuffer bug
Comment 5 Mathieu Lacage 2009-06-19 03:07:04 UTC
changeset 7473ca619bc7