Wireshark-bugs: [Wireshark-bugs] [Bug 11501] New: Coverity CID 1167971-1167974: constant express
Date: Thu, 03 Sep 2015 20:19:33 +0000
Bug ID 11501
Summary Coverity CID 1167971-1167974: constant expressions in wslua_int64.c
Product Wireshark
Version 1.99.x (Experimental)
Hardware All
OS All
Status UNCONFIRMED
Severity Trivial
Priority Low
Component Dissection engine (libwireshark)
Assignee bugzilla-admin@wireshark.org
Reporter hadrielk@yahoo.com

Build Information:
Paste the COMPLETE build information from "Help->About Wireshark", "wireshark
-v", or "tshark -v".
--
Coverity is complaining about a constant _expression_ (i.e., an if-statement
which is always true). It's actually a false-positive hit by Coverity - the
if-check is checking the host endianness, and thus is always true on a
little-endian machine, but always false on a big-endian one.

But we can get rid of it by doing the check in a macro, so that's what I'm
going to do.


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