[Pkg-openssl-devel] Bug#742553: Bug#742553: Need a bugfix

Niko Tyni ntyni at debian.org
Wed Jun 10 20:39:10 UTC 2015


On Sat, Jun 06, 2015 at 08:24:20PM +0200, Kurt Roeckx wrote:
> On Sat, Jun 06, 2015 at 07:40:42PM +0200, Frank Eiche wrote:

> > Undefined subroutine &WWW::Curl::Easy::global_cleanup called at
> > /usr/lib/ssl/misc/tsget line 196
> 
> For some reason it seems in wheezy both global_cleanup() and
> curl_global_cleanup(), but in jessie only curl_global_cleanup()
> works.

I don't see any reference to global_cleanup() in the documentation.

It looks to me like global_cleanup() "works" (as in doesn't croak)
in squeeze (libwww-curl-perl 4.12-1) but not in wheezy (4.15-1)
or later.

It's probably this change:

4.13 Wed Sep 01 2010: - Balint Szilakszi <szbalint at cpan.org>
    [...]
    - Modernized *.pm and AUTOLOAD now throws an error on unknown method calls [Fuji, Goro].

The squeeze version seems to silently accept anything:

 squeeze% perl -w -Mstrict -MWWW::Curl::Easy -e 'WWW::Curl::Easy::nosuchfunction()'; echo $?
 0

but later versions correctly croak:

 wheezy% perl -w -Mstrict -MWWW::Curl::Easy -e 'WWW::Curl::Easy::nosuchfunction()'; echo $?
 Undefined subroutine &WWW::Curl::Easy::nosuchfunction called at -e line 1
 22

So apparently global_cleanup() was always broken but error handling
has improved after squeeze.

Hope this helps,
-- 
Niko Tyni   ntyni at debian.org



More information about the Pkg-openssl-devel mailing list