Staging
v0.5.0
https://github.com/python/cpython
Revision 54ba940abc2fabb94fede46dfad80f8ac15632a3 authored by Serhiy Storchaka on 28 June 2017, 07:31:00 UTC, committed by GitHub on 28 June 2017, 07:31:00 UTC
Based on patch by Victor Stinner.

Add private C API function _PyUnicode_AsUnicode() which is similar to
PyUnicode_AsUnicode(), but checks for null characters..
(cherry picked from commit f7eae0adfcd4c50034281b2c69f461b43b68db84)
1 parent 9dff523
History
Tip revision: 54ba940abc2fabb94fede46dfad80f8ac15632a3 authored by Serhiy Storchaka on 28 June 2017, 07:31:00 UTC
[3.5] bpo-13617: Reject embedded null characters in wchar* strings. (GH-2302) (#2463)
Tip revision: 54ba940
File Mode Size
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
.bzrignore -rw-r--r-- 582 bytes
.gitattributes -rw-r--r-- 798 bytes
.gitignore -rw-r--r-- 1.3 KB
.hgeol -rw-r--r-- 1.0 KB
.hgignore -rw-r--r-- 1.3 KB
.hgtags -rw-r--r-- 8.2 KB
.mention-bot -rw-r--r-- 39 bytes
.travis.yml -rw-r--r-- 4.4 KB
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 57.5 KB
README -rw-r--r-- 8.5 KB
aclocal.m4 -rw-r--r-- 10.7 KB
config.guess -rwxr-xr-x 43.2 KB
config.sub -rwxr-xr-x 35.7 KB
configure -rwxr-xr-x 468.0 KB
configure.ac -rw-r--r-- 154.3 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 40.9 KB
setup.py -rw-r--r-- 97.6 KB

README

back to top