Guy Harris
changed
bug 12236
What |
Removed |
Added |
Summary |
TCP.RST color rule always true on sparc
|
Comparing a boolean field against 1 always succeeds on big-endian machines
|
Comment # 5
on bug 12236
from Guy Harris
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.
You are receiving this mail because:
- You are watching all bug changes.