ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

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   [email protected]

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.