Title: [3.14] gh-146196: Fix Undefined Behavior in _PyUnicodeWriter_WriteASCIIString() (#146201) by vstinner · Pull Request #146220 · python/cpython · GitHub
Open Graph Title: [3.14] gh-146196: Fix Undefined Behavior in _PyUnicodeWriter_WriteASCIIString() (#146201) by vstinner · Pull Request #146220 · python/cpython
X Title: [3.14] gh-146196: Fix Undefined Behavior in _PyUnicodeWriter_WriteASCIIString() (#146201) by vstinner · Pull Request #146220 · python/cpython
Description: Avoid calling memcpy(data + writer->pos, NULL, 0) which has an undefined behavior. (cherry picked from commit cd10a2e) Issue: gh-146196
Open Graph Description: Avoid calling memcpy(data + writer->pos, NULL, 0) which has an undefined behavior. (cherry picked from commit cd10a2e) Issue: gh-146196
X Description: Avoid calling memcpy(data + writer->pos, NULL, 0) which has an undefined behavior. (cherry picked from commit cd10a2e) Issue: gh-146196
Opengraph URL: https://github.com/python/cpython/pull/146220
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b559efd5-b8cf-b49d-3be8-16d77b667984 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B5A0:52C9:A2253:13516A:6A50BBF7 |
| html-safe-nonce | 52fed3971fab14c71f4f0377f5a6d59ac54e0d011d5883e1d17b719e86e08961 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUEwOjUyQzk6QTIyNTM6MTM1MTZBOjZBNTBCQkY3IiwidmlzaXRvcl9pZCI6IjMzMDI4ODAzMzk3NDgyNDAzNzUiLCJyZWdpb25fZWRnZSI6Indlc3R1czIiLCJyZWdpb25fcmVuZGVyIjoid2VzdHVzMiJ9 |
| visitor-hmac | fe500aa9e9fba3e30013d9bcc2a905e6a544ab086560f33e808de4e905d7943d |
| hovercard-subject-tag | pull_request:3425683117 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/python/cpython/pull/146220/files |
| twitter:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| og:image:alt | Avoid calling memcpy(data + writer->pos, NULL, 0) which has an undefined behavior. (cherry picked from commit cd10a2e) Issue: gh-146196 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 72b13e0e8d0319acdd27a145cfe73f4f06c791713d0ac4690e41fb68ad28cac0 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 08e79d53fc070870d5b168356afebb1e286a2ffe |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width