Wireshark-bugs: [Wireshark-bugs] [Bug 3421] New: Initialize iph->ip_ttl to correct value

Date: Thu, 16 Apr 2009 10:03:51 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3421

           Summary: Initialize iph->ip_ttl to correct value
           Product: Wireshark
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: darkjames@xxxxxxxxxxxxxxxx



Jakub Zawadzki <darkjames@xxxxxxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #2945|                            |review_for_checkin?
               Flag|                            |


Created an attachment (id=2945)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=2945)
Initialize iph->ip_ttl and use ep_alloc() instead of static buffers

Build Information:
wireshark 1.1.4

Copyright 1998-2009 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 GTK+ 2.14.7, with GLib 2.18.4, with libpcap 1.0.0, with libz
1.2.3, without POSIX capabilities, with libpcre 7.8, without SMI, with c-ares
1.4.0, without Lua, with GnuTLS 2.6.3, with Gcrypt 1.4.4, without Kerberos,
without GeoIP, with PortAudio <= V18, without AirPcap.

Running on Linux 2.6.28-dark64, with libpcap version 1.0.0, GnuTLS 2.6.3,
Gcrypt
1.4.4.

Built using gcc 4.1.2 (Gentoo 4.1.2).

--
e_ip->ip_ttl is currently always set to 0, in attachment fix. 

I also (in same patch, sorry)
submit cleanup to use ep_alloc() instead of static e_ip buffers,
I didn't test it, but I hope it's ok.

There's note about static buffers in doc/README.tapping, which should also be
updated, but I don't feel so good with my English :)


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