Skip Menu |

This queue is for tickets about the WWW-ColiPoste CPAN distribution.

Report information
The Basics
Id: 66933
Status: open
Priority: 0/
Queue: WWW-ColiPoste

Owner: Nobody in particular
Requestors: SREZIC [...]

Bug Information
Severity: (no value)
Broken in: 0.02
Fixed in: (no value)

Subject: Test failure with perl 5.13.11
Download (untitled) / with headers
text/plain 929b
The t/module-from-file.t test fails with perl 5.13.11 on my freebsd system. It works on the same system with perl 5.12.3. Here's the failure: # Failed test 'getting status from file t/files/results-8L67288259025.html' # at t/module-from-file.t line 22. # got: 'Insecure dependency in sprintf while running with -T switch at /var/tmp/CPAN-build/WWW-ColiPoste-0.02-DJsxLt/blib/lib/WWW/ line 120. # ' # expected: '' # Failed test ' :: checking that the status isa ARRAY' # at t/module-from-file.t line 23. # :: checking that the status isn't defined Can't use an undefined value as an ARRAY reference at t/module-from-file.t line 24. # Looks like you planned 52 tests but ran 5. # Looks like you failed 2 tests of 5 run. # Looks like your test exited with 255 just after 5. t/module-from-file.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 49/52 subtests Regards, Slaven
Download (untitled) / with headers
text/plain 714b
That's the change v5.13.10-442-ge06d98f in bleadperl with the following commit message: [perl #82250] fix tainted (s)print format commit 20ee07fbbcfa6be9f90bb8e5474a4d69d7396617 introduced dieing in (s)printf when the format is tainted; however it only worked when the format is part of an expression (because TAINT_PROPER checks for PL_tainted being set). Fix by doing TAINT_PROPER only after get magic has been done on the format SV (which will set PL_tainted). This is done by moving the checks in pp_sprintf and pp_prtf into do_sprintf() (which is called by the two pp functions). HTH,
Download (untitled) / with headers
text/plain 261b
The according entry in perl5.14.0's perldelta says: · "sprintf" now dies when passed a tainted scalar for the format. It did already die for arbitrary expressions, but not for simple scalars [perl #82250]. Regards, Slaven
Subject: Re: [ #66933] Test failure with perl 5.13.11
Date: Mon, 18 Apr 2011 17:42:09 +0200
To: bug-WWW-ColiPoste [...]
From: Sébastien Aperghis-Tramoni <saper [...]>
Download (untitled) / with headers
text/plain 283b
Hello Andreas, Slaven, Thanks for your reports. I'll try to fix this but this module has been rendered unusable by La Poste (a short time after this module was published, they replaced the texts with images..) -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to