mirror of
https://github.com/python/cpython.git
synced 2025-11-01 14:11:41 +00:00
Issue #24114: Fix an uninitialized variable in ctypes.util.
The bug only occurs on SunOS when the ctypes implementation searches for the `crle` program. Patch by Xiang Zhang. Tested on SunOS by Kees Bos.
This commit is contained in:
commit
f1e2671fdf
2 changed files with 7 additions and 0 deletions
|
|
@ -184,6 +184,7 @@ def _findLib_crle(name, is64):
|
|||
else:
|
||||
cmd = 'env LC_ALL=C /usr/bin/crle 2>/dev/null'
|
||||
|
||||
paths = None
|
||||
with contextlib.closing(os.popen(cmd)) as f:
|
||||
for line in f.readlines():
|
||||
line = line.strip()
|
||||
|
|
|
|||
|
|
@ -256,6 +256,12 @@ Core and Builtins
|
|||
Library
|
||||
-------
|
||||
|
||||
- Issue #24114: Fix an uninitialized variable in `ctypes.util`.
|
||||
|
||||
The bug only occurs on SunOS when the ctypes implementation searches
|
||||
for the `crle` program. Patch by Xiang Zhang. Tested on SunOS by
|
||||
Kees Bos.
|
||||
|
||||
- Issue #26864: In urllib.request, change the proxy bypass host checking
|
||||
against no_proxy to be case-insensitive, and to not match unrelated host
|
||||
names that happen to have a bypassed hostname as a suffix. Patch by Xiang
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue