Wireshark-bugs: [Wireshark-bugs] [Bug 3353] New: error: variable 'payload_len' might be clobbere
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3353
Summary: error: variable 'payload_len' might be clobbered by
'longjmp' or 'vfork'
Product: Wireshark
Version: 1.1.x (Experimental)
Platform: Other
OS/Version: All
Status: NEW
Severity: Normal
Priority: Medium
Component: Wireshark
AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
ReportedBy: pva@xxxxxxxxxx
Peter <pva@xxxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #2879| |review_for_checkin?
Flag| |
Created an attachment (id=2879)
--> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=2879)
wireshark-1.1.3-misc-warnings.patch
Build Information:
This is build problem.
--
Build fails with the following message.
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..
-I./../.. -I./.. -I/usr/include -I/usr/local/include -I/usr/include/pcap
-DPLUGIN_DIR=\"/usr/lib64/wireshark/plugins/1.1.3\" -Werror -DINET6
"-D_U_=__attribute__((unused))" -O2 -pipe -march=athlon64 -mtune=athlon64
-msse3 -fomit-frame-pointer -ftracer -Wall -W -Wdeclaration-after-statement
-Wendif-labels -Wpointer-arith -Wno-pointer-sign -Warray-bounds -Wcast-align
-Wformat-security -I/usr/include -I/usr/local/include -pthread
-I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/pcap -MT libdissectors_la-packet-mp2t.lo
-MD -MP -MF .deps/libdissectors_la-packet-mp2t.Tpo -c packet-mp2t.c -fPIC
-DPIC -o .libs/libdissectors_la-packet-mp2t.o
cc1: warnings being treated as errors
packet-mp2t.c: In function 'dissect_tsp':
packet-mp2t.c:451: error: variable 'payload_len' might be clobbered by
'longjmp' or 'vfork'
make[1]: *** [libdissectors_la-packet-mp2t.lo] Error 1
make[1]: Leaving directory
`/var/tmp/portage/net-analyzer/wireshark-1.1.3/work/wireshark-1.1.3/epan/dissectors'
make: *** [all] Error 2
Patch in attachment fixes this issue.
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.