Bug#661540: libapache2-mod-perl2: FTBFS with hardening flags enabled: -Werror=format-security

Torsten Förtsch torsten.foertsch at gmx.net
Mon Mar 12 12:33:17 UTC 2012


On Friday, 09 March 2012 22:50:33 Niko Tyni wrote:
> -        Perl_croak(aTHX_ SvPV_nolen(ERRSV));
> +        Perl_croak(aTHX_ "%s", SvPV_nolen(ERRSV));

Thanks!

But isn't the right way to rethrow/propagate an exception (with respect to 
exception objects) this?

  Perl_croak(aTHX_ Nullch);

Unless any objections I'm going to fix it that way.

Torsten Förtsch

-- 
Need professional modperl support? Hire me! (http://foertsch.name)

Like fantasy? http://kabatinte.net






More information about the pkg-perl-maintainers mailing list