diff --git a/Lib/multiprocessing/connection.py b/Lib/multiprocessing/connection.py index 510e4b5aba44a6755c4a63fec0d8b297b2066563..8e2facf92a94aa363a653a0032da4ea063f0162c 100644 --- a/Lib/multiprocessing/connection.py +++ b/Lib/multiprocessing/connection.py @@ -73,11 +73,6 @@ def arbitrary_address(family): if family == 'AF_INET': return ('localhost', 0) elif family == 'AF_UNIX': - # Prefer abstract sockets if possible to avoid problems with the address - # size. When coding portable applications, some implementations have - # sun_path as short as 92 bytes in the sockaddr_un struct. - if util.abstract_sockets_supported: - return f"\0listener-{os.getpid()}-{next(_mmap_counter)}" return tempfile.mktemp(prefix='listener-', dir=util.get_temp_dir()) elif family == 'AF_PIPE': return tempfile.mktemp(prefix=r'\\.\pipe\pyc-%d-%d-' % diff --git a/debian/changelog b/debian/changelog index 7eb085c2dcd8a1b080f208b7e6d65068ebceadfe..a9336bf70e47e865493178d51f1a719d0a118e6c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +python3.10 (3.10.7-ok6) yangtze; urgency=medium + + * This prevents Linux CVE-2022-42919: Linux may allow for local privilege escalation attack. + + -- huang-haoran1 <2022282210183@whu.edu.cn> Mon, 17 Jul 2023 12:29:26 +0800 + python3.10 (3.10.7-ok5) yangtze; urgency=medium * Rebuild for openkylin.