Ethereal-dev: Re: [Ethereal-dev] ethereal -v shows libz-1.0.8 but its 1.1.4

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

From: Gilbert Ramirez <gram@xxxxxxxxxxxxxxx>
Date: 13 Mar 2002 15:15:15 -0600
On Wed, 2002-03-13 at 15:07, Donal Graeme wrote:
> If this is the wrong forum, please let me know.
> I compiled ethereal with libz-1.1.4, but ethereal -v shows 1.0.8. My question is, is this a harmless bug, or is it somehow really using 1.0.8?
> 
> This also happened with 1.1.3, but I didn't get worked up about it. Now with the zlib/libz vulnerability, I thought I would recompile with 1.1.4.
> 
> Well, the compile went fine, and ethereal works, but it shows the wrong version number.
> 
> Any help appreciated.
> 

Ethereal gets the version number directly from the zlib.h header file,
via the ZLIB_VERSION macro. If Ethereal eports verson 1.0.8, then
somewhere a macro called ZLIB_VERSION is being defined as "1.0.8".
It's highly likely that you are picking up an incorrect zlib version.

Other possiblities are that you are using a correct zlib version, but
for some reason it has the wrong zlib.h file, or that some other
non-zlib-related file is defining ZLIB_VERSION.

--gilbert