<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>381</bug_id>
          
          <creation_ts>2003-11-18 07:51:44 +0000</creation_ts>
          <short_desc>Check doesn&apos;t seem to work with Perl 5.8.1/5.8.2 with the -T option</short_desc>
          <delta_ts>2003-11-22 13:01:57 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Validator</product>
          <component>check</component>
          <version>0.6.1</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=217353</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Fr">schutz</reporter>
          <assigned_to name="Terje Bless">link</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>854</commentid>
    <comment_count>0</comment_count>
    <who name="Fr">schutz</who>
    <bug_when>2003-11-18 07:51:44 +0000</bug_when>
    <thetext>[this is a follow-up to Debian bug #217353]

It looks like starting with version 5.8.1, Perl is fussier about the
tainted mode and the exec command: use of tainted data in command
&quot;exec LIST&quot; seems to cause an error. check calls the commands

  open3(&quot;&lt;&amp;SPIN&quot;, &quot;&gt;&amp;SPOUT&quot;, &quot;&gt;&amp;SPERR&quot;, @cmd);

and open3 itself calls &quot;exec @cmd&quot; -- since @cmd contains at least the
name of the SGML Parser (read from the config file), it will always be
tainted. In such a case, the validator prints only &quot;This page is not
valid&quot; and no error or explanation. This makes the validator completely
unusable, hence the severity &quot;major&quot;.

Can we consider that what is in the config file can be trusted and untaint
all parameters blindly ?

Frédéric</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>894</commentid>
    <comment_count>1</comment_count>
    <who name="Fr">schutz</who>
    <bug_when>2003-11-22 08:01:57 +0000</bug_when>
    <thetext>Hum... it looks like I got lost in the different branches of the CVS:
the fix seems to be there already.

Closing this bug, sorry for the noise.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>