Wireshark-bugs: [Wireshark-bugs] [Bug 9792] New: Lua: setting pinfo.dst_port actually sets src_p

Date: Thu, 20 Feb 2014 14:52:09 +0000
Bug ID 9792
Summary Lua: setting pinfo.dst_port actually sets src_port
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:
TShark 1.11.3 (wireshark-1.11.3-rc1-1680-gdc53a65-dirty from master)

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 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.

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.
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).
--
Setting the Pinfo.dst_port to a value actually changes the src_port's value,
due to a bug in wslua_pinfo.c, where both src_port and dst_port attributes use
the PARAM_PORT_SRC for their setter type enum.
I'll submit a fix to gerrit.


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