This queue is for tickets about the PerlIO-Util CPAN distribution.

Report information
The Basics
Id:
96238
Status:
new
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
jquelin [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



Subject: t/08_taint.t fails with perl 5.20
$ /usr/bin/perl Makefile.PL INSTALLDIRS=vendor Writing ppport.h Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for PerlIO::Util Writing MYMETA.yml and MYMETA.json $ make -O -j24 Running Mkbootstrap for PerlIO::Util () chmod 644 Util.bs cp lib/PerlIO/excl.pm blib/lib/PerlIO/excl.pm cp lib/PerlIO/Util/JA.pod blib/lib/PerlIO/Util/JA.pod cp lib/PerlIO/flock.pm blib/lib/PerlIO/flock.pm cp lib/PerlIO/Util.pm blib/lib/PerlIO/Util.pm cp lib/PerlIO/reverse.pm blib/lib/PerlIO/reverse.pm cp lib/PerlIO/creat.pm blib/lib/PerlIO/creat.pm cp lib/PerlIO/dir.pm blib/lib/PerlIO/dir.pm cp lib/PerlIO/tee.pm blib/lib/PerlIO/tee.pm /usr/bin/perl5.20.0 "-Iinc" /usr/lib/perl5/5.20.0/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.20.0/ExtUtils/typemap PerlIO-Util.xs > PerlIO-Util.xsc && mv PerlIO-Util.xsc PerlIO-Util.c gcc -c "-I." -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wdeclaration-after-statement -Wc++-compat -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -pthread -DVERSION=\"0.72\" -DXS_VERSION=\"0.72\" -o missing.o -fPIC "-I/usr/lib/perl5/5.20.0/i386-linux-thread-multi/CORE" -DUSE_PPPORT missing.c gcc -c "-I." -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wdeclaration-after-statement -Wc++-compat -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -pthread -DVERSION=\"0.72\" -DXS_VERSION=\"0.72\" -o pseudo_layers.o -fPIC "-I/usr/lib/perl5/5.20.0/i386-linux-thread-multi/CORE" -DUSE_PPPORT pseudo_layers.c gcc -c "-I." -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wdeclaration-after-statement -Wc++-compat -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -pthread -DVERSION=\"0.72\" -DXS_VERSION=\"0.72\" -o reverse.o -fPIC "-I/usr/lib/perl5/5.20.0/i386-linux-thread-multi/CORE" -DUSE_PPPORT reverse.c gcc -c "-I." -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wdeclaration-after-statement -Wc++-compat -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -pthread -DVERSION=\"0.72\" -DXS_VERSION=\"0.72\" -o dir.o -fPIC "-I/usr/lib/perl5/5.20.0/i386-linux-thread-multi/CORE" -DUSE_PPPORT dir.c gcc -c "-I." -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wdeclaration-after-statement -Wc++-compat -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -pthread -DVERSION=\"0.72\" -DXS_VERSION=\"0.72\" -o tee.o -fPIC "-I/usr/lib/perl5/5.20.0/i386-linux-thread-multi/CORE" -DUSE_PPPORT tee.c gcc -c "-I." -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wdeclaration-after-statement -Wc++-compat -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -pthread -DVERSION=\"0.72\" -DXS_VERSION=\"0.72\" -o PerlIO-Util.o -fPIC "-I/usr/lib/perl5/5.20.0/i386-linux-thread-multi/CORE" -DUSE_PPPORT PerlIO-Util.c rm -f blib/arch/auto/PerlIO/Util/Util.so gcc -shared -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -pthread -L/usr/local/lib PerlIO-Util.o dir.o missing.o pseudo_layers.o reverse.o tee.o -o blib/arch/auto/PerlIO/Util/Util.so \ \ chmod 755 blib/arch/auto/PerlIO/Util/Util.so /usr/bin/perl5.20.0 "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- Util.bs blib/arch/auto/PerlIO/Util/Util.bs 644 Manifying blib/man3/PerlIO::Util.3pm Manifying blib/man3/PerlIO::Util::JA.3pm Manifying blib/man3/PerlIO::creat.3pm Manifying blib/man3/PerlIO::dir.3pm Manifying blib/man3/PerlIO::excl.3pm Manifying blib/man3/PerlIO::flock.3pm Manifying blib/man3/PerlIO::reverse.3pm Manifying blib/man3/PerlIO::tee.3pm $ make -O -j24 test PERL_DL_NONLAZY=1 /usr/bin/perl5.20.0 "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/00_load.t .......... ok t/01_util.t .......... ok t/02_flock.t ......... ok t/03_creat.t ......... ok t/04_excl.t .......... ok t/05_extra.t ......... ok t/061_tee_binmode.t .. ok t/062_tee_threads.t .. ok t/06_tee.t ........... ok t/08_taint.t ......... Failed 5/7 subtests t/09_invalid.t ....... ok t/10_dir.t ........... ok t/20_reverse.t ....... ok Test Summary Report ------------------- t/05_extra.t (Wstat: 0 Tests: 13 Failed: 0) TODO passed: 8-10 t/08_taint.t (Wstat: 11 Tests: 2 Failed: 0) Non-zero wait status: 11 Parse errors: Bad plan. You planned 7 tests but ran 2. Files=13, Tests=305, 1 wallclock secs ( 0.06 usr 0.01 sys + 0.44 cusr 0.08 csys = 0.59 CPU) Result: FAIL Failed 1/13 test programs. 0/305 subtests failed. Makefile:1004: recipe for target 'test_dynamic' failed make: *** [test_dynamic] Error 255 $ prove -bv t/08_taint.t t/08_taint.t .. 1..7 ok 1 - using tainted string ok 2 - insecure :tee Failed 5/7 subtests Test Summary Report ------------------- t/08_taint.t (Wstat: 11 Tests: 2 Failed: 0) Non-zero wait status: 11 Parse errors: Bad plan. You planned 7 tests but ran 2. Files=1, Tests=2, 1 wallclock secs ( 0.12 usr 0.01 sys + 0.17 cusr 0.01 csys = 0.31 CPU) Result: FAIL


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.