You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-cvs@httpd.apache.org by jo...@apache.org on 2005/10/26 13:46:39 UTC

svn commit: r328632 - in /httpd/test/trunk/perl-framework/t: htdocs/security/CAN-2003-0542/ htdocs/security/CAN-2003-0542/.htaccess security/CVE-2003-0542.t

Author: jorton
Date: Wed Oct 26 04:46:33 2005
New Revision: 328632

URL: http://svn.apache.org/viewcvs?rev=328632&view=rev
Log:
- add André's test case for the old regex overflow issue

Added:
    httpd/test/trunk/perl-framework/t/htdocs/security/CAN-2003-0542/
    httpd/test/trunk/perl-framework/t/htdocs/security/CAN-2003-0542/.htaccess   (with props)
    httpd/test/trunk/perl-framework/t/security/CVE-2003-0542.t

Added: httpd/test/trunk/perl-framework/t/htdocs/security/CAN-2003-0542/.htaccess
URL: http://svn.apache.org/viewcvs/httpd/test/trunk/perl-framework/t/htdocs/security/CAN-2003-0542/.htaccess?rev=328632&view=auto
==============================================================================
--- httpd/test/trunk/perl-framework/t/htdocs/security/CAN-2003-0542/.htaccess (added)
+++ httpd/test/trunk/perl-framework/t/htdocs/security/CAN-2003-0542/.htaccess Wed Oct 26 04:46:33 2005
@@ -0,0 +1,3 @@
+RewriteEngine On
+RewriteRule ((((((((((((((((((((((.*)))))))))))))))))))))) -
+

Propchange: httpd/test/trunk/perl-framework/t/htdocs/security/CAN-2003-0542/.htaccess
------------------------------------------------------------------------------
    svn:eol-style = native

Added: httpd/test/trunk/perl-framework/t/security/CVE-2003-0542.t
URL: http://svn.apache.org/viewcvs/httpd/test/trunk/perl-framework/t/security/CVE-2003-0542.t?rev=328632&view=auto
==============================================================================
--- httpd/test/trunk/perl-framework/t/security/CVE-2003-0542.t (added)
+++ httpd/test/trunk/perl-framework/t/security/CVE-2003-0542.t Wed Oct 26 04:46:33 2005
@@ -0,0 +1,15 @@
+use strict;
+use warnings FATAL => 'all';
+
+use Apache::Test;
+use Apache::TestUtil;
+use Apache::TestRequest;
+
+plan tests => 1, need 'rewrite';
+
+my $rc;
+
+$rc = GET_RC "/security/CAN-2003-0542/nonesuch";
+
+ok t_cmp($rc, 404, "CAN-2003-0542 test case");
+