Wireshark-bugs: [Wireshark-bugs] [Bug 6689] New: Avoid string.h and strcpy() in packet-mpls.c

Date: Mon, 19 Dec 2011 12:32:59 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6689

           Summary: Avoid string.h and strcpy() in packet-mpls.c
           Product: Wireshark
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Trivial
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: format_c@xxxxxxxxx


Created an attachment (id=7600)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=7600)
Patch that avoids the use of string.h

Build Information:
wireshark 1.7.1 (SVN Rev 40245 from /trunk)

Copyright 1998-2011 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 (64-bit) with GTK+ 2.20.1, with Cairo 1.8.10, with Pango 1.28.3, with
GLib 2.24.2, with libpcap (version unknown), with libz 1.2.3.4, without POSIX
capabilities, without SMI, without c-ares, without ADNS, without Lua, without
Python, without GnuTLS, without Gcrypt, without Kerberos, without GeoIP,
without
PortAudio, without AirPcap.

Running on Linux 2.6.39.3, with locale de_DE.UTF-8, with libpcap version 1.1.1,
with libz 1.2.3.4.

Built using gcc 4.4.5.

--
This is related to BUG 6574. 
My patch avoids the inclusion of string.h in packet-mpls.c and the use of
*str*cpy() functions.

I want to apply this patch because the use why string.h has been introduced,
can be easily achieved w/o.

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