Ethereal-dev: RE: [Ethereal-dev] Fun with zlib double-freeing

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "HOOD, Andy" <ahood@xxxxxxxxxxxxxx>
Date: Tue, 12 Mar 2002 11:32:20 +1100
ldd /usr/local/bin/ethereal 
        libsnmp-0.4.2.3.so =>    /usr/local/lib/libsnmp-0.4.2.3.so
        libkstat.so.1 =>         /usr/lib/libkstat.so.1
        libgtk-1.2.so.0 =>       /usr/local/lib/libgtk-1.2.so.0
        libgdk-1.2.so.0 =>       /usr/local/lib/libgdk-1.2.so.0
        libgmodule-1.2.so.0 =>   /usr/local/lib/libgmodule-1.2.so.0
        libglib-1.2.so.0 =>      /usr/local/lib/libglib-1.2.so.0
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libXext.so.0 =>  /usr/openwin/lib/libXext.so.0
        libX11.so.4 =>   /usr/openwin/lib/libX11.so.4
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libm.so.1 =>     /usr/lib/libm.so.1
        libz.so.1.1.3 =>         /usr/local/lib/libz.so.1.1.3
        libc.so.1 =>     /usr/lib/libc.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        /usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1

Makefile just has -lz
In fact all the -l options do not have a version specified

Solaris linker

Regards,
Andrew Hood
A distributed system is one in which the failure of a computer you didn't
even know existed can render your own computer unusable. -- Leslie Lamport,
as quoted in CACM, June 1992


-----Original Message-----
From:	Guy Harris [mailto:guy@xxxxxxxxxx]
Sent:	Tuesday, 12 March 2002 11:14
To:	HOOD, Andy
Cc:	ethereal-dev@xxxxxxxxxxxx
Subject:	Re: [Ethereal-dev] Fun with zlib double-freeing

On Tue, Mar 12, 2002 at 11:08:59AM +1100, HOOD, Andy wrote:
> I roll my own. The example was on Solaris/SPARC 2.6
> autoconf 2.52
> automake 1.5
> gcc 3.0.1
> ethereal 0.9.1

So what does "ldd ethereal" report?

What does the Makefile used when you build Ethereal link with?  "-lz"?

Are you using the Solaris linker, or the GNU linker?

	-------------------------------------------------------
NOTE:	  The attachment below was deleted because it had a
	  suspicious file name (winmail.dat).

	  It is the policy of this list to drop any message
	  attachments that may be executable.  See
	  http://www.ethereal.com/lists/#lists
	  for more details.
	-------------------------------------------------------
This message has been 'sanitized'.  This means that potentially
dangerous content has been rewritten or removed.  The following
log describes which actions were taken.

Sanitizer (start="1015893279"):
  Part (pos="1756"):
    SanitizeFile (filename="unnamed.txt", mimetype="text/plain"):
      Match (rule="2"):
        Enforced policy: accept

  Part (pos="3611"):
    SanitizeFile (filename="winmail.dat", mimetype="application/ms-tnef"):
      Match (rule="1"):
        Enforced policy: drop

      Replaced mime type with: text/plain
      Replaced file name with: MANGLED_ON_PURPOSE-83.txt

  Total modifications so far: 1


Anomy 0.0.0 : Sanitizer.pm
$Id: Sanitizer.pm,v 1.32 2001/10/11 19:27:15 bre Exp $