Compare commits
No commits in common. "c8" and "c8s" have entirely different histories.
19
.gitignore
vendored
19
.gitignore
vendored
@ -1,12 +1,7 @@
|
|||||||
SOURCES/ClusterLabs-resource-agents-55a4e2c9.tar.gz
|
/*.tar.gz
|
||||||
SOURCES/aliyun-cli-2.1.10.tar.gz
|
/*.rpm
|
||||||
SOURCES/aliyun-python-sdk-core-2.13.1.tar.gz
|
/*.whl
|
||||||
SOURCES/aliyun-python-sdk-ecs-4.9.3.tar.gz
|
/.*
|
||||||
SOURCES/aliyun-python-sdk-vpc-3.0.2.tar.gz
|
/*/
|
||||||
SOURCES/colorama-0.3.3.tar.gz
|
!/tests/
|
||||||
SOURCES/google-cloud-sdk-360.0.0-linux-x86_64.tar.gz
|
/tests/*.retry
|
||||||
SOURCES/httplib2-0.20.4.tar.gz
|
|
||||||
SOURCES/pycryptodome-3.20.0.tar.gz
|
|
||||||
SOURCES/pyparsing-2.4.7-py2.py3-none-any.whl
|
|
||||||
SOURCES/pyroute2-0.4.13.tar.gz
|
|
||||||
SOURCES/urllib3-1.26.18.tar.gz
|
|
||||||
|
|||||||
@ -1,12 +0,0 @@
|
|||||||
dfc65f4cac3f95026b2f5674019814a527333004 SOURCES/ClusterLabs-resource-agents-55a4e2c9.tar.gz
|
|
||||||
306e131d8908ca794276bfe3a0b55ccc3bbd482f SOURCES/aliyun-cli-2.1.10.tar.gz
|
|
||||||
0a56f6d9ed2014a363486d33b63eca094379be06 SOURCES/aliyun-python-sdk-core-2.13.1.tar.gz
|
|
||||||
c2a98b9a1562d223a76514f05028488ca000c395 SOURCES/aliyun-python-sdk-ecs-4.9.3.tar.gz
|
|
||||||
f14647a4d37a9a254c4e711b95a7654fc418e41e SOURCES/aliyun-python-sdk-vpc-3.0.2.tar.gz
|
|
||||||
0fe5bd8bca54dd71223778a1e0bcca9af324abb1 SOURCES/colorama-0.3.3.tar.gz
|
|
||||||
81f039cf075e9c8b70d5af99c189296a9e031de3 SOURCES/google-cloud-sdk-360.0.0-linux-x86_64.tar.gz
|
|
||||||
7caf4412d9473bf17352316249a8133fa70b7e37 SOURCES/httplib2-0.20.4.tar.gz
|
|
||||||
c55d177e9484d974c95078d4ae945f89ba2c7251 SOURCES/pycryptodome-3.20.0.tar.gz
|
|
||||||
c8307f47e3b75a2d02af72982a2dfefa3f56e407 SOURCES/pyparsing-2.4.7-py2.py3-none-any.whl
|
|
||||||
147149db11104c06d405fd077dcd2aa1c345f109 SOURCES/pyroute2-0.4.13.tar.gz
|
|
||||||
84e2852d8da1655373f7ce5e7d5d3e256b62b4e4 SOURCES/urllib3-1.26.18.tar.gz
|
|
||||||
52
RHEL-217924-fix-bundled-pyasn1-CVE-2026-59886.patch
Normal file
52
RHEL-217924-fix-bundled-pyasn1-CVE-2026-59886.patch
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
From e60c691cb91addb8fcefa2f537e85ede6fb1e886 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Simon Pichugin <simon.pichugin@gmail.com>
|
||||||
|
Date: Wed, 8 Jul 2026 17:32:09 -0700
|
||||||
|
Subject: [PATCH] Merge commit from fork
|
||||||
|
|
||||||
|
---
|
||||||
|
pyasn1/type/univ.py | 21 +++++++++----
|
||||||
|
tests/codec/ber/test_decoder.py | 53 +++++++++++++++++++++++++++------
|
||||||
|
tests/codec/cer/test_decoder.py | 10 +++++++
|
||||||
|
tests/codec/der/test_decoder.py | 19 ++++++++++++
|
||||||
|
tests/type/test_univ.py | 40 +++++++++++++++++++++++++
|
||||||
|
5 files changed, 129 insertions(+), 14 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/gcp/google-cloud-sdk/lib/third_party/pyasn1/type/univ.py b/gcp/google-cloud-sdk/lib/third_party/pyasn1/type/univ.py
|
||||||
|
index 9aff5e69..8b786dd9 100644
|
||||||
|
--- a/gcp/google-cloud-sdk/lib/third_party/pyasn1/type/univ.py
|
||||||
|
+++ b/gcp/google-cloud-sdk/lib/third_party/pyasn1/type/univ.py
|
||||||
|
@@ -1362,7 +1362,7 @@ class Pi(Real):
|
||||||
|
def __normalizeBase10(value):
|
||||||
|
m, b, e = value
|
||||||
|
while m and m % 10 == 0:
|
||||||
|
- m /= 10
|
||||||
|
+ m //= 10
|
||||||
|
e += 1
|
||||||
|
return m, b, e
|
||||||
|
|
||||||
|
@@ -1490,10 +1490,21 @@ def __int__(self):
|
||||||
|
def __float__(self):
|
||||||
|
if self._value in self._inf:
|
||||||
|
return self._value
|
||||||
|
- else:
|
||||||
|
- return float(
|
||||||
|
- self._value[0] * pow(self._value[1], self._value[2])
|
||||||
|
- )
|
||||||
|
+
|
||||||
|
+ mantissa, base, exponent = self._value
|
||||||
|
+
|
||||||
|
+ if not mantissa:
|
||||||
|
+ return 0.0
|
||||||
|
+
|
||||||
|
+ if base == 2:
|
||||||
|
+ return math.ldexp(float(mantissa), exponent)
|
||||||
|
+
|
||||||
|
+ # base is 10 (prettyIn() rejects everything else); refuse to
|
||||||
|
+ # materialize astronomically large integers via pow()
|
||||||
|
+ if exponent > sys.float_info.max_10_exp:
|
||||||
|
+ raise OverflowError('Real value too large to convert to float')
|
||||||
|
+
|
||||||
|
+ return float(mantissa * pow(base, exponent))
|
||||||
|
|
||||||
|
def __abs__(self):
|
||||||
|
return self.clone(abs(float(self)))
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user