Skip Menu |
 

This queue is for tickets about the Test-Harness CPAN distribution.

Report information
The Basics
Id: 130971
Status: new
Priority: 0/
Queue: Test-Harness

People
Owner: Nobody in particular
Requestors: chohag [...] jtan.com
Cc:
AdminCc:

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



MIME-Version: 1.0
X-Spam-Status: No, score=-1.106 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, RDNS_NONE=0.793, SPF_FAIL=0.001] autolearn=no
X-Jtan-Received: 71.183.187.81.in-addr.arpa [81.187.183.71]
X-Cpan.org: This message routed through the cpan.org mail forwarding service. Please use PAUSE pause.perl.org to configure your delivery settings.
Content-ID: <44720.1573524152.1 [...] rachael.drogo.datum>
X-Spam-Flag: NO
content-type: text/plain; charset="utf-8"
Message-ID: <201911120203.xAC23O00023622 [...] zeus.jtan.com>
X-Jtan-Recipient: <bug-Test-Harness [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -1.106
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id D3E3E2400F0 for <cpan-bug+Test-Harness [...] hipster.bestpractical.com>; Mon, 11 Nov 2019 21:13:09 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SGTSNts2E5+B for <cpan-bug+Test-Harness [...] hipster.bestpractical.com>; Mon, 11 Nov 2019 21:13:08 -0500 (EST)
Received: from xx1.develooper.com (unknown [147.75.38.233]) by hipster.bestpractical.com (Postfix) with ESMTPS id A38B5240038 for <bug-Test-Harness [...] rt.cpan.org>; Mon, 11 Nov 2019 21:13:06 -0500 (EST)
Received: from localhost (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with ESMTP id B0DACC2164 for <bug-Test-Harness [...] rt.cpan.org>; Mon, 11 Nov 2019 18:13:06 -0800 (PST)
Received: from xx1.develooper.com (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with SMTP id 4DEADC2165 for <bug-Test-Harness [...] rt.cpan.org>; Mon, 11 Nov 2019 18:13:02 -0800 (PST)
Received: from mailout.jtan.com (mailout.jtan.com [216.104.47.134]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by xx1.develooper.com (Postfix) with ESMTPS id 5593DC2164 for <bug-Test-Harness [...] rt.cpan.org>; Mon, 11 Nov 2019 18:12:58 -0800 (PST)
Received: from localhost (unknown [127.0.0.1]) by mailout.jtan.com (Postfix) with ESMTP id 36A5CBA401B for <bug-Test-Harness [...] rt.cpan.org>; Tue, 12 Nov 2019 02:03:28 +0000 (UTC)
Received: from zeus.jtan.com (smtp.jtan.com [69.175.9.136]) by mailout.jtan.com (Postfix) with ESMTPS id A1343BA4004 for <bug-Test-Harness [...] rt.cpan.org>; Tue, 12 Nov 2019 02:03:26 +0000 (UTC)
Received: from rachael.drogo.datum (71.183.187.81.in-addr.arpa [81.187.183.71]) by zeus.jtan.com with ESMTP id xAC23O00023622 for <bug-Test-Harness [...] rt.cpan.org>; Tue, 12 Nov 2019 02:03:26 GMT
Delivered-To: cpan-bug+Test-Harness [...] hipster.bestpractical.com
Subject: prove interprets %-codes in cli via printf (possible security violation?)
Return-Path: <chohag [...] jtan.com>
X-RT-Mail-Extension: test-harness
X-Original-To: cpan-bug+Test-Harness [...] hipster.bestpractical.com
X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' HTML_00_01 0.05, HTML_00_10 0.05, BODY_SIZE_3000_3999 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, KNOWN_MTA_TFX 0, NO_REAL_NAME 0, NO_URI_HTTPS 0, SPF_PASS 0, SXL_IP_TFX_WM 0, __ANY_URI 0, __BODY_NO_MAILTO 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __FRAUD_MONEY_CURRENCY 0, __FRAUD_MONEY_CURRENCY_DOLLAR 0, __HAS_FROM 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_VERSION 0, __NO_HTML_TAG_RAW 0, __PHISH_SPEAR_SUBJECT 0, __PHISH_SPEAR_SUBJ_PREDICATE 0, __PHISH_SPEAR_SUBJ_SUBJECT 0, __PHISH_SUBJ_PHRASE2 0, __SANE_MSGID 0, __STOCK_PHRASE_24 0, __SUBJ_ALPHA_NEGATE 0, __SUBJ_ALPHA_START 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_NO_MAILTO 0, __URI_NO_WWW 0, __blackholes.mail-abuse.org_ERROR , __zen.spamhaus.org_ERROR '
Date: Tue, 12 Nov 2019 02:02:32 +0000
X-Spam-Level:
X-Greylist: delayed 570 seconds by postgrey-1.34 at xx1.develooper.com; Mon, 11 Nov 2019 18:13:00 PST
X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2019.11.12.20617
X-Virus-Spam-Scanned: JTAN Spam and Virus Filtering
To: bug-Test-Harness [...] rt.cpan.org
Content-Transfer-Encoding: quoted-printable
From: chohag [...] jtan.com
X-RT-Original-Encoding: ascii
X-RT-Interface: Email
Content-Length: 3646
Download (untitled) / with headers
text/plain 3.5k
If the filename given to prove(1) includes the % character, this is passed to the wrong part of printf: [ksh]flask@void$ echo ok > %unfortunately-named-file [ksh]flask@void$ prove --exec=cat %unfortunately-named-file %unfortunately-named-file .. All 1 subtests passed Test Summary Report ------------------- Missing argument in sprintf at /opt/perl-5.28.1/lib/5.28.1/TAP/Formatter/Base.pm line 391. 0nfortunately-named-file (Wstat: 1 Tests: 0 Failed: 0) Parse errors: No plan found in TAP output Files=1, Tests=1, 0 wallclock secs ( 0.00 usr + 0.00 sys = 0.00 CPU) Result: FAIL Note the misplaced 0. Also while I'm here: "All 1 subtests"? Bleh. data, more available on request (I need to recompile - I'm running OpenBSD 6.6, not 6.4): [ksh]flask@void$ prove -V TAP::Harness v3.42 and Perl v5.28.1 [ksh]flask@void$ perl -V Summary of my perl5 (revision 5 version 28 subversion 1) configuration: Commit id: 63afdf6c0f65af480aa5bb9ccba9f46dae52f6fc Platform: osname=openbsd osvers=6.4 archname=OpenBSD.amd64-openbsd uname='openbsd void 6.4 generic#349 amd64 ' config_args='-des -Dprefix=/opt/perl-5.28.1' hint=recommended useposix=true d_sigaction=define useithreads=undef usemultiplicity=undef use64bitint=define use64bitall=define uselongdouble=undef usemymalloc=n default_inc_excludes_dot=define bincompat5005=undef Compiler: cc='cc' ccflags ='-fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2' optimize='-O2' cppflags='-fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include' ccversion='' gccversion='4.2.1 Compatible OpenBSD Clang 6.0.0 (tags/RELEASE_600/final)' gccosandvers='' intsize=4 longsize=8 ptrsize=8 doublesize=8 byteorder=12345678 doublekind=3 d_longlong=define longlongsize=8 d_longdbl=define longdblsize=16 longdblkind=3 ivtype='long' ivsize=8 nvtype='double' nvsize=8 Off_t='off_t' lseeksize=8 alignbytes=8 prototype=define Linker and Libraries: ld='cc' ldflags ='-Wl,-E -fstack-protector-strong -L/usr/local/lib' libpth=/usr/lib /usr/local/lib libs=-lpthread -lm -lutil -lc perllibs=-lpthread -lm -lutil -lc libc=/usr/lib/libc.so.92.5 so=so useshrplib=false libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs dlext=so d_dlsymun=undef ccdlflags=' ' cccdlflags='-DPIC -fPIC ' lddlflags='-shared -fPIC -L/usr/local/lib -fstack-protector-strong' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_COPY_ON_WRITE PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP PERL_OP_PARENT PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME USE_PERLIO USE_PERL_ATOF Built under openbsd Compiled at Apr 6 2019 21:01:15 %ENV: PERL5LIB="/home/flask/perl5/lib/perl5" PERL_LOCAL_LIB_ROOT="/home/flask/perl5" PERL_MB_OPT="--install_base "/home/flask/perl5"" PERL_MM_OPT="INSTALL_BASE=/home/flask/perl5" @INC: /home/flask/perl5/lib/perl5/5.28.1/OpenBSD.amd64-openbsd /home/flask/perl5/lib/perl5/5.28.1 /home/flask/perl5/lib/perl5/OpenBSD.amd64-openbsd /home/flask/perl5/lib/perl5 /opt/perl-5.28.1/lib/site_perl/5.28.1/OpenBSD.amd64-openbsd /opt/perl-5.28.1/lib/site_perl/5.28.1 /opt/perl-5.28.1/lib/5.28.1/OpenBSD.amd64-openbsd /opt/perl-5.28.1/lib/5.28.1


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

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