Wireshark-bugs: [Wireshark-bugs] [Bug 12236] Comparing a boolean field against 1 always succeeds
Date: Wed, 16 Mar 2016 06:57:13 +0000

changed bug 12236


What Removed Added
CC   alexis.lagoutte@gmail.com

Comment # 11 on bug 12236 from
(In reply to Guy Harris from comment #5)
> The representation of a Boolean value was changed from 32 bits to 64 bits in
> 2.0, *but* not all the code was changed to reflect that.  The code for
> equality comparison is looking in the wrong field of a union; that *happens*
> to work on a little-endian machine, as the lower 32 bits of the 64-bit value
> are overplayed with the 32-bit value, but does *not* happen to work on a
> big-endian machine.

May be add a note on README.dev / dissector ? about this change ? and also it
it possible to use bitmask now for UINT64 ? (i'm not sure)


You are receiving this mail because:
  • You are watching all bug changes.