Staging
v0.5.1
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
English.lproj
FileSettings.h -rw-r--r-- 1.7 KB
FileSettings.m -rw-r--r-- 9.4 KB
Info.plist.in -rw-r--r-- 1.8 KB
Makefile.in -rw-r--r-- 2.9 KB
MyAppDelegate.h -rw-r--r-- 276 bytes
MyAppDelegate.m -rw-r--r-- 2.6 KB
MyDocument.h -rw-r--r-- 958 bytes
MyDocument.m -rw-r--r-- 4.5 KB
PreferencesWindowController.h -rw-r--r-- 1.0 KB
PreferencesWindowController.m -rw-r--r-- 2.9 KB
doscript.h -rw-r--r-- 228 bytes
doscript.m -rw-r--r-- 1.7 KB
factorySettings.plist -rw-r--r-- 2.9 KB
main.m -rw-r--r-- 340 bytes

back to top