mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-09-29 01:10:21 +00:00
python3-twisted: Fix CVE-2026-42304
This patch applies the upstream 26.4.0rc2 backport for CVE-2026-42304. The upstream fix merge is referenced in [1], and the public CVE advisory is referenced in [2]. The individual backported commit links are recorded in the patch headers. [1] https://github.com/twisted/twisted/commit/2d196123264efb0027eecfe1b430be4a9babdbd8 [2] https://github.com/advisories/GHSA-grgv-6hw6-v9g4 Signed-off-by: Hetvi Thakar <hthakar@cisco.com> Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
From 7213b262b9c98fe6d522dbd23fd83bb9535b54c6 Mon Sep 17 00:00:00 2001
|
||||
From: Tomas Illuminati Balbin <dev@tomasilluminati.com>
|
||||
Date: Mon, 20 Apr 2026 09:18:05 -0300
|
||||
Subject: [PATCH] Update src/twisted/names/test/test_dns.py
|
||||
|
||||
Co-authored-by: Adi Roiban <adiroiban@gmail.com>
|
||||
|
||||
CVE: CVE-2026-42304
|
||||
Upstream-Status: Backport [https://github.com/twisted/twisted/commit/c75d44ed81b47f8086ed801cfcdb2568b0b32301]
|
||||
|
||||
(cherry picked from commit c75d44ed81b47f8086ed801cfcdb2568b0b32301)
|
||||
Signed-off-by: Hetvi Thakar <hthakar@cisco.com>
|
||||
---
|
||||
src/twisted/names/test/test_dns.py | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/src/twisted/names/test/test_dns.py b/src/twisted/names/test/test_dns.py
|
||||
index 9b27c4b3a..94aa4a802 100644
|
||||
--- a/src/twisted/names/test/test_dns.py
|
||||
+++ b/src/twisted/names/test/test_dns.py
|
||||
@@ -389,9 +389,9 @@ class NameTests(unittest.TestCase):
|
||||
self.assertRaises(
|
||||
dns.DNSDecodeError,
|
||||
dns.Name().decode,
|
||||
- stream,
|
||||
- None,
|
||||
- context,
|
||||
+ strio=stream,
|
||||
+ length=None,
|
||||
+ context=context,
|
||||
)
|
||||
|
||||
def test_decodeWithoutContextIsBackwardsCompatible(self):
|
||||
Reference in New Issue
Block a user