Wireshark-bugs: [Wireshark-bugs] [Bug 8762] New: dead code in packet-c1222-template.c

Date: Tue, 04 Jun 2013 00:43:20 +0000
Bug ID 8762
Summary dead code in packet-c1222-template.c
Classification Unclassified
Product Wireshark
Version SVN
Hardware All
OS All
Status UNCONFIRMED
Severity Trivial
Priority Low
Component Dissection engine (libwireshark)
Assignee [email protected]
Reporter [email protected]

Created attachment 10918 [details]
patch to eliminate dead code in packet-c1222-template.c

Build Information:
TShark 1.11.0 (SVN Rev 49552 from /trunk)

Copyright 1998-2013 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 GLib 2.34.2, with libpcap, with libz 1.2.7, without
POSIX
capabilities, without libnl, without SMI, without c-ares, without ADNS, with
Lua
5.1, without Python, without GnuTLS, with Gcrypt 1.5.0, without Kerberos,
without GeoIP.

Running on Linux 3.9.4-200.fc18.x86_64, with locale en_US.UTF-8, with libpcap
version 1.3.0, with libz 1.2.7.
AMD Athlon(tm) 64 X2 Dual Core Processor 4400+

Built using gcc 4.7.2 20121109 (Red Hat 4.7.2-8).

--
The condition (*length >= *length) will never be false, so the else condition
can never be executed.


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