Wireshark-bugs: [Wireshark-bugs] [Bug 12368] Returning 0 for "this isn't my packet" doesn't work

Date: Mon, 25 Apr 2016 20:14:06 +0000

Comment # 2 on bug 12368 from
(In reply to Michael Mann from comment #1)
> Would (tvb_captured_length(tvb) | 1) work or will the internals not like
> that the dissector claimed more than tvb had?

It depends on the dissector.  Some dissectors might care.  (Presumably the
intent is to OR a low-order bit in *only* if the captured length is 0,
otherwise some dissectors would *definitely* be bothered.)


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