- (bsc#1210638, CVE-2023-27043) Add

CVE-2023-27043-email-parsing-errors.patch, which detects email
  address parsing errors and returns empty tuple to indicate the
  parsing error (old API).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=153
This commit is contained in:
2023-07-11 07:36:50 +00:00
committed by Git OBS Bridge
parent 27cb2961b5
commit 745f5ba19c
3 changed files with 254 additions and 0 deletions

View File

@@ -167,6 +167,10 @@ Patch40: 99366-patch.dict-can-decorate-async.patch
# PATCH-FIX-OPENSUSE downport-Sphinx-features.patch mcepl@suse.com
# Make documentation build with older Sphinx
Patch41: downport-Sphinx-features.patch
# PATCH-FIX-UPSTREAM CVE-2023-27043-email-parsing-errors.patch bsc#1210638 mcepl@suse.com
# Detect email address parsing errors and return empty tuple to
# indicate the parsing error (old API)
Patch42: CVE-2023-27043-email-parsing-errors.patch
BuildRequires: autoconf-archive
BuildRequires: automake
BuildRequires: fdupes
@@ -429,6 +433,7 @@ other applications.
%if 0%{?sle_version} && 0%{?sle_version} <= 150500
%patch41 -p1
%endif
%patch42 -p1
# drop Autoconf version requirement
sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac