Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Tiziano Mueller (dev-zero)" <dev-zero@g.o>
Subject: gentoo commit in src/patchsets/boost/1.34.1/patches: 07_all_1.34.1-CVE-2008-0171_and_0172.patch
Date: Thu, 24 Jan 2008 15:14:28 +0000
dev-zero    08/01/24 15:14:28

  Modified:             07_all_1.34.1-CVE-2008-0171_and_0172.patch
  Log:
  Converted to unix line endings.

Revision  Changes    Path
1.2                  src/patchsets/boost/1.34.1/patches/07_all_1.34.1-CVE-2008-0171_and_0172.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/boost/1.34.1/patches/07_all_1.34.1-CVE-2008-0171_and_0172.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/boost/1.34.1/patches/07_all_1.34.1-CVE-2008-0171_and_0172.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/boost/1.34.1/patches/07_all_1.34.1-CVE-2008-0171_and_0172.patch?r1=1.1&r2=1.2

Index: 07_all_1.34.1-CVE-2008-0171_and_0172.patch
===================================================================
RCS file: /var/cvsroot/gentoo/src/patchsets/boost/1.34.1/patches/07_all_1.34.1-CVE-2008-0171_and_0172.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- 07_all_1.34.1-CVE-2008-0171_and_0172.patch	24 Jan 2008 12:47:18 -0000	1.1
+++ 07_all_1.34.1-CVE-2008-0171_and_0172.patch	24 Jan 2008 15:14:27 -0000	1.2
@@ -1,50 +1,50 @@
-Index: /trunk/boost/regex/v4/basic_regex_parser.hpp
-===================================================================
---- boost/regex/v4/basic_regex_parser.hpp (revision 38864)
-+++ boost/regex/v4/basic_regex_parser.hpp (revision 42674)
-@@ -785,4 +785,5 @@
-       case syntax_element_jump:
-       case syntax_element_startmark:
-+      case syntax_element_backstep:
-          // can't legally repeat any of the above:
-          fail(regex_constants::error_badrepeat, m_position - m_base);
-@@ -1870,4 +1871,5 @@
-    {
-       re_syntax_base* b = this->getaddress(expected_alt_point);
-+      // Make sure we have exactly one alternative following this state:
-       if(b->type != syntax_element_alt)
-       {
-@@ -1878,4 +1880,13 @@
-       {
-          fail(regex_constants::error_bad_pattern, m_position - m_base);
-+         return false;
-+      }
-+      // check for invalid repetition of next state:
-+      b = this->getaddress(expected_alt_point);
-+      b = this->getaddress(static_cast<re_alt*>(b)->next.i, b);
-+      if((b->type != syntax_element_assert_backref)
-+         && (b->type != syntax_element_startmark))
-+      {
-+         fail(regex_constants::error_badrepeat, m_position - m_base);
-          return false;
-       }
-Index: /trunk/libs/regex/test/regress/test_perl_ex.cpp
-===================================================================
---- libs/regex/test/regress/test_perl_ex.cpp (revision 30980)
-+++ libs/regex/test/regress/test_perl_ex.cpp (revision 42674)
-@@ -122,4 +122,15 @@
-    TEST_INVALID_REGEX("(?:(a)|b)(?(?<", perl);
-    TEST_INVALID_REGEX("(?:(a)|b)(?(?<a", perl);
-+
-+   TEST_INVALID_REGEX("(?(?!#?)+)", perl);
-+   TEST_INVALID_REGEX("(?(?=:-){0})", perl);
-+   TEST_INVALID_REGEX("(?(123){1})", perl);
-+   TEST_INVALID_REGEX("(?(?<=A)*)", perl);
-+   TEST_INVALID_REGEX("(?(?<=A)+)", perl);
-+
-+   TEST_INVALID_REGEX("(?<!*|^)", perl);
-+   TEST_INVALID_REGEX("(?<!*|A)", perl);
-+   TEST_INVALID_REGEX("(?<=?|A)", perl);
-+   TEST_INVALID_REGEX("(?<=*|\\B)", perl);
- }
- 
+Index: /trunk/boost/regex/v4/basic_regex_parser.hpp
+===================================================================
+--- boost/regex/v4/basic_regex_parser.hpp (revision 38864)
++++ boost/regex/v4/basic_regex_parser.hpp (revision 42674)
+@@ -785,4 +785,5 @@
+       case syntax_element_jump:
+       case syntax_element_startmark:
++      case syntax_element_backstep:
+          // can't legally repeat any of the above:
+          fail(regex_constants::error_badrepeat, m_position - m_base);
+@@ -1870,4 +1871,5 @@
+    {
+       re_syntax_base* b = this->getaddress(expected_alt_point);
++      // Make sure we have exactly one alternative following this state:
+       if(b->type != syntax_element_alt)
+       {
+@@ -1878,4 +1880,13 @@
+       {
+          fail(regex_constants::error_bad_pattern, m_position - m_base);
++         return false;
++      }
++      // check for invalid repetition of next state:
++      b = this->getaddress(expected_alt_point);
++      b = this->getaddress(static_cast<re_alt*>(b)->next.i, b);
++      if((b->type != syntax_element_assert_backref)
++         && (b->type != syntax_element_startmark))
++      {
++         fail(regex_constants::error_badrepeat, m_position - m_base);
+          return false;
+       }
+Index: /trunk/libs/regex/test/regress/test_perl_ex.cpp
+===================================================================
+--- libs/regex/test/regress/test_perl_ex.cpp (revision 30980)
++++ libs/regex/test/regress/test_perl_ex.cpp (revision 42674)
+@@ -122,4 +122,15 @@
+    TEST_INVALID_REGEX("(?:(a)|b)(?(?<", perl);
+    TEST_INVALID_REGEX("(?:(a)|b)(?(?<a", perl);
++
++   TEST_INVALID_REGEX("(?(?!#?)+)", perl);
++   TEST_INVALID_REGEX("(?(?=:-){0})", perl);
++   TEST_INVALID_REGEX("(?(123){1})", perl);
++   TEST_INVALID_REGEX("(?(?<=A)*)", perl);
++   TEST_INVALID_REGEX("(?(?<=A)+)", perl);
++
++   TEST_INVALID_REGEX("(?<!*|^)", perl);
++   TEST_INVALID_REGEX("(?<!*|A)", perl);
++   TEST_INVALID_REGEX("(?<=?|A)", perl);
++   TEST_INVALID_REGEX("(?<=*|\\B)", perl);
+ }
+ 



-- 
gentoo-commits@g.o mailing list


Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo-x86 commit in net-im/telepathy-mission-control: ChangeLog telepathy-mission-control-4.57.ebuild telepathy-mission-control-4.51-r1.ebuild
Next by thread:
gentoo-x86 commit in app-accessibility/flite: flite-1.3.ebuild ChangeLog
Previous by date:
gentoo-x86 commit in net-misc/rarpd: rarpd-1.1-r3.ebuild ChangeLog
Next by date:
gentoo-x86 commit in dev-libs/boost: ChangeLog boost-1.34.1-r2.ebuild


Updated May 05, 2012

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.