Title: gh-99240: Reset pointer to NULL when the pointed memory is freed in argument parsing by colorfulappl · Pull Request #99890 · python/cpython · GitHub
Open Graph Title: gh-99240: Reset pointer to NULL when the pointed memory is freed in argument parsing by colorfulappl · Pull Request #99890 · python/cpython
X Title: gh-99240: Reset pointer to NULL when the pointed memory is freed in argument parsing by colorfulappl · Pull Request #99890 · python/cpython
Description: In the family of _PyArg_Parse functions, pointers can be passed in as arguments to store the parsed PyArgs. If a pointer is assigned to newly allocated memory and the memory is freed as a result of an error while parsing the subsequent PyArgs, the pointer should be set to NULL; otherwise, it leaks the freed memory. Issue: gh-99240
Open Graph Description: In the family of _PyArg_Parse functions, pointers can be passed in as arguments to store the parsed PyArgs. If a pointer is assigned to newly allocated memory and the memory is freed as a result of...
X Description: In the family of _PyArg_Parse functions, pointers can be passed in as arguments to store the parsed PyArgs. If a pointer is assigned to newly allocated memory and the memory is freed as a result of...
Opengraph URL: https://github.com/python/cpython/pull/99890
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:d099924b-27bc-4b7a-8e0f-661aa7d398cb |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | EAC0:105924:5C3A3A:7DE7FB:69694D73 |
| html-safe-nonce | 137cb3bcfcc61c566d3097bdf6246bbe38041bf02938bebe0cd452c225fdbab4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQUMwOjEwNTkyNDo1QzNBM0E6N0RFN0ZCOjY5Njk0RDczIiwidmlzaXRvcl9pZCI6IjYwMTY5NjY2MTc1NjYxMDQ5NDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2561bdeeb9c58bbcafddaf04386e54e5d2efd07f24768211e0fff23f39b57795 |
| hovercard-subject-tag | pull_request:1140048899 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/99890/checks |
| twitter:image | https://avatars.githubusercontent.com/u/22052108?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/22052108?s=400&v=4 |
| og:image:alt | In the family of _PyArg_Parse functions, pointers can be passed in as arguments to store the parsed PyArgs. If a pointer is assigned to newly allocated memory and the memory is freed as a result of... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d |
| 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 full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d69ac0477df0f87da03b8b06cebd187012d7a930 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width