[Python-checkins] [python/cpython] 0edffa: [3.6] bpo-30708: Check for null characters in PyUn...

GitHub noreply at github.com
Tue Jun 27 14:09:00 EDT 2017


  Branch: refs/heads/3.6
  Home:   https://github.com/python/cpython
  Commit: 0edffa3073b551ffeca34952529e7b292f1bd350
      https://github.com/python/cpython/commit/0edffa3073b551ffeca34952529e7b292f1bd350
  Author: Serhiy Storchaka <storchaka at gmail.com>
  Date:   2017-06-27 (Tue, 27 Jun 2017)

  Changed paths:
    M Include/unicodeobject.h
    M Lib/ctypes/test/test_slicing.py
    M Modules/_ctypes/callproc.c
    M Modules/_ctypes/cfield.c
    M Modules/_cursesmodule.c
    M Modules/_io/winconsoleio.c
    M Modules/_localemodule.c
    M Modules/_tkinter.c
    M Modules/overlapped.c
    M Modules/timemodule.c
    M Objects/unicodeobject.c
    M PC/winsound.c

  Log Message:
  -----------
  [3.6] bpo-30708: Check for null characters in PyUnicode_AsWideCharString(). (GH-2285) (#2443)

Raise a ValueError if the second argument is NULL and the wchar_t\*
string contains null characters..
(cherry picked from commit e613e6add5f07ff6aad5802924596b631b707d2a)




More information about the Python-checkins mailing list