Wireshark-bugs: [Wireshark-bugs] [Bug 1214] New: multiple uninitialised variables at startup
Date: Thu, 9 Nov 2006 17:45:50 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1214

           Summary: multiple uninitialised variables at startup
           Product: Wireshark
           Version: 0.99.3
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: TShark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: frederic.heem@xxxxxxxxx


Build Information:
TShark 0.99.3a

Copyright 1998-2006 Gerald Combs <gerald@xxxxxxxxxxxxx> 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 with GLib 2.4.7, with libpcap 0.8.3, with libz 1.2.1.2,
without libpcre, with Net-SNMP 5.1.2, without ADNS, without Lua.
NOTE: this build doesn't support the "matches" operator for Wireshark filter
syntax.

Running with libpcap version 0.8.3 on Linux 2.6.9-42.0.3.plus.c4.

--
Here is the valgrind output:
[root@localhost ~]# valgrind tshark -w OpalTesterSip20061109.eth
==16262== Memcheck, a memory error detector.
==16262== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
==16262== Using LibVEX rev 1575, a library for dynamic binary translation.
==16262== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
==16262== Using valgrind-3.1.1, a dynamic binary instrumentation framework.
==16262== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
==16262== For more details, rerun with: -v
==16262==
No log handling enabled - turning on stderr logging
Cannot find module (SNMPv2-TC): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (DLGC-GLOBAL-REG): At line 0 in (none)
Cannot find module (DLGDS1-MIB): At line 0 in (none)
Cannot find module (DLGISDN-MIB): At line 0 in (none)
Cannot find module (DLGSRPRF-MIB): At line 0 in (none)
Cannot find module (DLGHWINF-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
==16262== Syscall param socketcall.setsockopt(optval) points to uninitialised
byte(s)
==16262==    at 0x489047: setsockopt (in /lib/tls/libc-2.3.4.so)
==16262==    by 0xA985A6: pcap_setfilter (in /usr/lib/libpcap.so.0.8.3)
==16262==    by 0x805D463: capture_loop_init_filter (in /usr/sbin/tshark)
==16262==    by 0x80602ED: (within /usr/sbin/tshark)
==16262==    by 0x8062075: main (in /usr/sbin/tshark)
==16262==  Address 0xBEE24F92 is on thread 1's stack
==16262==
==16262== Syscall param socketcall.sendto(msg) points to uninitialised byte(s)
==16262==    at 0x488FD1: sendto (in /lib/tls/libc-2.3.4.so)
==16262==    by 0x4A582F: getifaddrs (in /lib/tls/libc-2.3.4.so)
==16262==    by 0xA97C57: pcap_findalldevs (in /usr/lib/libpcap.so.0.8.3)
==16262==    by 0x804EBBA: get_interface_list_findalldevs (in /usr/sbin/tshark)
==16262==    by 0x804F1E1: get_interface_descriptive_name (in /usr/sbin/tshark)
==16262==    by 0x80603E4: (within /usr/sbin/tshark)
==16262==    by 0x8062075: main (in /usr/sbin/tshark)
==16262==  Address 0xBEE24E15 is on thread 1's stack
==16262==
==16262== Syscall param socketcall.sendto(msg) points to uninitialised byte(s)
==16262==    at 0x488FD1: sendto (in /lib/tls/libc-2.3.4.so)
==16262==    by 0x4A5851: getifaddrs (in /lib/tls/libc-2.3.4.so)
==16262==    by 0xA97C57: pcap_findalldevs (in /usr/lib/libpcap.so.0.8.3)
==16262==    by 0x804EBBA: get_interface_list_findalldevs (in /usr/sbin/tshark)
==16262==    by 0x804F1E1: get_interface_descriptive_name (in /usr/sbin/tshark)
==16262==    by 0x80603E4: (within /usr/sbin/tshark)
==16262==    by 0x8062075: main (in /usr/sbin/tshark)
==16262==  Address 0xBEE24E15 is on thread 1's stack
Capturing on eth0


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.