Bug#1042021: libcrypt-openssl-pkcs10-perl: FTBFS with Perl 5.38: stack smashing detected

Niko Tyni ntyni at debian.org
Tue Jul 25 21:25:55 BST 2023


Source: libcrypt-openssl-pkcs10-perl
Version: 0.19-3
Severity: important
Tags: sid trixie ftbfs fixed-upstream
Forwarded: https://rt.cpan.org/Ticket/Display.html?id=148807
User: debian-perl at lists.debian.org
Usertags: perl-5.38-transition

This package fails to build from source with Perl 5.38 (currently in
experimental.)

This seems to be fixed upstream in 0.20.

  http://perl.debian.net/rebuild-logs/perl-5.38/libcrypt-openssl-pkcs10-perl_0.19-3/libcrypt-openssl-pkcs10-perl_0.19-3+b2_amd64-2023-06-29T03:26:27Z.build

  PKCS10.xs:583:16: note: in expansion of macro ‘SvPV’
    583 |         subj = SvPV(subj_SV, subj_length);
        |                ^~~~
  In file included from /usr/lib/x86_64-linux-gnu/perl/5.38/CORE/perl.h:7812:
  /usr/lib/x86_64-linux-gnu/perl/5.38/CORE/sv_inline.h:908:33: note: expected ‘STRLEN * const’ {aka ‘long unsigned int * const’} but argument is of type ‘int *’
    908 |                  STRLEN * const lp,
        |                  ~~~~~~~~~~~~~~~^~

[...]

  *** stack smashing detected ***: terminated
  t/Mytest.t .. 
  1..7
  ok 1 - use Crypt::OpenSSL::PKCS10;
  ok 2
  ok 3 - use Crypt::OpenSSL::RSA;
  ok 4
  Failed 3/7 subtests 
  
  Test Summary Report
  -------------------
  t/Mytest.t (Wstat: 6 (Signal: ABRT) Tests: 4 Failed: 0)
    Non-zero wait status: 6
    Parse errors: Bad plan.  You planned 7 tests but ran 4.
  Files=1, Tests=4,  0 wallclock secs ( 0.01 usr  0.00 sys +  0.13 cusr  0.01 csys =  0.15 CPU)
  Result: FAIL

-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list