Title: Reject embedded null characters in wchar* strings · Issue #57826 · python/cpython · GitHub
Open Graph Title: Reject embedded null characters in wchar* strings · Issue #57826 · python/cpython
X Title: Reject embedded null characters in wchar* strings · Issue #57826 · python/cpython
Description: BPO 13617 Nosy @vstinner, @ezio-melotti, @benhoyt, @serhiy-storchaka PRs #2302#2462#2463#2464 Dependencies bpo-30708: Ensure that the result of PyUnicode_AsWideCharString() doesn't contain null characters if size is not returned Files em...
Open Graph Description: BPO 13617 Nosy @vstinner, @ezio-melotti, @benhoyt, @serhiy-storchaka PRs #2302#2462#2463#2464 Dependencies bpo-30708: Ensure that the result of PyUnicode_AsWideCharString() doesn't contain null cha...
X Description: BPO 13617 Nosy @vstinner, @ezio-melotti, @benhoyt, @serhiy-storchaka PRs #2302#2462#2463#2464 Dependencies bpo-30708: Ensure that the result of PyUnicode_AsWideCharString() doesn't contain null...
Opengraph URL: https://github.com/python/cpython/issues/57826
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Reject embedded null characters in wchar* strings","articleBody":"BPO | [13617](https://bugs.python.org/issue13617)\n--- | :---\nNosy | @vstinner, @ezio-melotti, @benhoyt, @serhiy-storchaka\nPRs | \u003cli\u003epython/cpython#2302\u003c/li\u003e\u003cli\u003epython/cpython#2462\u003c/li\u003e\u003cli\u003epython/cpython#2463\u003c/li\u003e\u003cli\u003epython/cpython#2464\u003c/li\u003e\nDependencies | \u003cli\u003ebpo-30708: Ensure that the result of PyUnicode_AsWideCharString() doesn\u0026#x27;t contain null characters if size is not returned\u003c/li\u003e\nFiles | \u003cli\u003e[embedded_nul.patch](https://bugs.python.org/file23984/embedded_nul.patch \"Uploaded as text/plain at 2011-12-17.03:53:40 by @vstinner\")\u003c/li\u003e\u003cli\u003e[doc_unicode.patch](https://bugs.python.org/file24034/doc_unicode.patch \"Uploaded as text/plain at 2011-12-18.17:04:45 by arnaudc\"): added warnings to concerned functions\u003c/li\u003e\u003cli\u003e[doc_unicode-2.patch](https://bugs.python.org/file24037/doc_unicode-2.patch \"Uploaded as text/plain at 2011-12-18.18:08:30 by arnaudc\")\u003c/li\u003e\u003cli\u003e[embedded_nul-2.patch](https://bugs.python.org/file24041/embedded_nul-2.patch \"Uploaded as text/plain at 2011-12-18.20:11:30 by @vstinner\")\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = 'https://github.com/serhiy-storchaka'\nclosed_at = \u003cDate 2017-06-28.08:22:41.245\u003e\ncreated_at = \u003cDate 2011-12-17.03:53:41.721\u003e\nlabels = ['type-security', '3.7', 'library', 'expert-unicode']\ntitle = 'Reject embedded null characters in wchar* strings'\nupdated_at = \u003cDate 2017-06-28.09:24:05.176\u003e\nuser = 'https://github.com/vstinner'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2017-06-28.09:24:05.176\u003e\nactor = 'vstinner'\nassignee = 'serhiy.storchaka'\nclosed = True\nclosed_date = \u003cDate 2017-06-28.08:22:41.245\u003e\ncloser = 'serhiy.storchaka'\ncomponents = ['Library (Lib)', 'Unicode']\ncreation = \u003cDate 2011-12-17.03:53:41.721\u003e\ncreator = 'vstinner'\ndependencies = ['30708']\nfiles = ['23984', '24034', '24037', '24041']\nhgrepos = []\nissue_num = 13617\nkeywords = ['patch']\nmessage_count = 22.0\nmessages = ['149656', '149657', '149783', '149787', '149791', '149794', '149802', '173147', '221844', '226414', '236699', '296241', '296332', '296461', '296512', '297132', '297155', '297156', '297158', '297161', '297162', '297165']\nnosy_count = 6.0\nnosy_names = ['vstinner', 'ezio.melotti', 'benhoyt', 'python-dev', 'arnaudc', 'serhiy.storchaka']\npr_nums = ['2302', '2462', '2463', '2464']\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'security'\nurl = 'https://bugs.python.org/issue13617'\nversions = ['Python 3.5', 'Python 3.6', 'Python 3.7']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/vstinner","@type":"Person","name":"vstinner"},"datePublished":"2011-12-17T03:53:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":22},"url":"https://github.com/57826/cpython/issues/57826"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:41eae044-c98a-afd3-6dd9-378b347b4a09 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D206:24214A:1A3D21B:23C8714:6A53F583 |
| html-safe-nonce | 6e7c003e1fc0f9dd4ff4bb87631eab28534e82c1bfebaa65618e11b38f7a9b71 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjA2OjI0MjE0QToxQTNEMjFCOjIzQzg3MTQ6NkE1M0Y1ODMiLCJ2aXNpdG9yX2lkIjoiMzQ3NDU1OTg0MDgyNjEzNjM1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 99c00f11859fb2a7c14b3d4cc0171061be4cf9f8c8cd7d47bd18754872a06fcb |
| hovercard-subject-tag | issue:1198875741 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/57826/issue_layout |
| twitter:image | https://opengraph.githubassets.com/031348e90f9bf6007cb096a723553154a749c174d6f7d65732b294489225818e/python/cpython/issues/57826 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/031348e90f9bf6007cb096a723553154a749c174d6f7d65732b294489225818e/python/cpython/issues/57826 |
| og:image:alt | BPO 13617 Nosy @vstinner, @ezio-melotti, @benhoyt, @serhiy-storchaka PRs #2302#2462#2463#2464 Dependencies bpo-30708: Ensure that the result of PyUnicode_AsWideCharString() doesn't contain null cha... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vstinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width