Wireshark-bugs: [Wireshark-bugs] [Bug 9736] New: Lua: new Int64/UInt64 functions don't prevent d

Date: Sat, 08 Feb 2014 22:35:02 +0000
Bug ID 9736
Summary Lua: new Int64/UInt64 functions don't prevent division by zero
Classification Unclassified
Product Wireshark
Version 1.11.x (Experimental)
Hardware x86
OS Mac OS X 10.9
Status UNCONFIRMED
Severity Minor
Priority Low
Component Dissection engine (libwireshark)
Assignee [email protected]
Reporter [email protected]

Build Information:
wireshark 1.11.3 (wireshark-1.11.3-rc1-1589-gf966980-dirty from unknown)

Copyright 1998-2014 Gerald Combs <[email protected]> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (64-bit) with GTK+ 2.24.22, with Cairo 1.12.16, with Pango 1.36.1,
with
GLib 2.38.2, with libpcap, with libz 1.2.8, without POSIX capabilities, without
SMI, without c-ares, without ADNS, with Lua 5.2, without Python, with GnuTLS
3.1.10, with Gcrypt 1.5.3, with MIT Kerberos, without GeoIP, without PortAudio,
with AirPcap.

Running on Mac OS X 10.9.1, build 13B42 (Darwin 13.0.0), with locale
en_US.UTF-8, with libpcap version 1.5.3, with libz 1.2.8, GnuTLS 3.1.10, Gcrypt
1.5.3, without AirPcap.
Intel(R) Core(TM) i7 CPU       M 620  @ 2.67GHz

Built using clang 4.2.1 Compatible Apple LLVM 5.0 (clang-500.2.79).
--
As noted in the comments in bug 9162 from Alexis, the new Int64/UInt64 math
operations don't check+prevent division by zero.  This was caught by clang:

http://www.wireshark.org/download/automated/analysis/scan-build-2014-02-06-1/

I'll upload a fix in the next few days. Just submitting this bug as a
placeholder/reminder to myself.


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