cpython: 57bf7a40925f (original) (raw)

Mercurial > cpython

changeset 101192:57bf7a40925f 2.7

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. [#24114]

Meador Inge meadori@gmail.com
date Sat, 30 Apr 2016 21:56:59 -0500
parents 6d49a7330c99
children e407db1cac8b
files Lib/ctypes/util.py Misc/NEWS
diffstat 2 files changed, 7 insertions(+), 0 deletions(-)[+] [-] Lib/ctypes/util.py 1 Misc/NEWS 6

line wrap: on

line diff

--- a/Lib/ctypes/util.py +++ b/Lib/ctypes/util.py @@ -191,6 +191,7 @@ elif os.name == "posix": else: cmd = 'env LC_ALL=C /usr/bin/crle 2>/dev/null'

--- a/Misc/NEWS +++ b/Misc/NEWS @@ -77,6 +77,12 @@ Core and Builtins Library ------- +- Issue #24114: Fix an uninitialized variable in ctypes.util. +