Title: gh-146388: Add null check for `sym_new(ctx)` in `make_bottom` by A0su · Pull Request #146389 · python/cpython · GitHub
Open Graph Title: gh-146388: Add null check for `sym_new(ctx)` in `make_bottom` by A0su · Pull Request #146389 · python/cpython
X Title: gh-146388: Add null check for `sym_new(ctx)` in `make_bottom` by A0su · Pull Request #146389 · python/cpython
Description: optimizer_symbols.c: make_bottom NULL deref when arena full sym_new(ctx) at line 1535 can return NULL when the type arena is full. Result immediately dereferenced without check. Every other sym_new call site checks for NULL. This is a sub-issue of #146102 with gist details Issue: gh-146388
Open Graph Description: optimizer_symbols.c: make_bottom NULL deref when arena full sym_new(ctx) at line 1535 can return NULL when the type arena is full. Result immediately dereferenced without check. Every other sym_new...
X Description: optimizer_symbols.c: make_bottom NULL deref when arena full sym_new(ctx) at line 1535 can return NULL when the type arena is full. Result immediately dereferenced without check. Every other sym_new...
Opengraph URL: https://github.com/python/cpython/pull/146389
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:4638cb5b-5f17-df28-c74c-90e053f5c3a4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E3A4:25211B:2DA284C:3DF1CA2:6A53D3F3 |
| html-safe-nonce | f201d052dacaa256164d2dd9be1b0a4b1f6189546feb0c265fb3020a785ef631 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFM0E0OjI1MjExQjoyREEyODRDOjNERjFDQTI6NkE1M0QzRjMiLCJ2aXNpdG9yX2lkIjoiMzU0ODc1OTU4OTU4MjUyNTQyNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 88abf099cebfd6dd4669422aa43eccf6fa4d3c8c86c186407d644503a9c87db5 |
| hovercard-subject-tag | pull_request:3440907186 |
| 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/146389/files |
| twitter:image | https://avatars.githubusercontent.com/u/43610414?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/43610414?s=400&v=4 |
| og:image:alt | optimizer_symbols.c: make_bottom NULL deref when arena full sym_new(ctx) at line 1535 can return NULL when the type arena is full. Result immediately dereferenced without check. Every other sym_new... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width