Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-bugs: [Wireshark-bugs] [Bug 1956] Wireshark crashes on certain display filters (ftype ipv4)

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: bugzilla-daemon@xxxxxxxxxxxxx
Date: Tue, 6 Nov 2007 18:39:43 +0000 (GMT)

http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1956





------- Comment #8 from guy@xxxxxxxxxxxx  2007-11-06 18:39 GMT -------
Yes, I changed the semantics of the operation from incorrect semantics to
correct semantics - *and* also fixed the semantics for bitwise AND for
byte-array fields in a separate checkin.

Bitwise AND is supposed to be true if *any* bit in the result of the bitwise
AND is set, and false only if *all* bits in the result of the bitwise AND are
clear.  (That's how it's always worked for integral types, for example.)

The old code was buggy - it would return false if it found any byte in the
bitwise AND that didn't happen to have any bits set, even if other bytes did. 
Byte boundaries are not special, so that's wrong.


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

  • Prev by Date: [Wireshark-bugs] [Bug 1711] Some Toshiba format files with LAPD cannot be open
  • Next by Date: [Wireshark-bugs] [Bug 1711] Some Toshiba format files with LAPD cannot be open
  • Previous by thread: [Wireshark-bugs] [Bug 1956] Wireshark crashes on certain display filters (ftype ipv4)
  • Next by thread: [Wireshark-bugs] [Bug 1876] ethereal: Resizing columns changes the currently-selected packet
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation