Title: _remote_debugging: prevent 32-bit integer overflow when decoding stack data from .pyb files · Issue #148252 · python/cpython · GitHub
Open Graph Title: _remote_debugging: prevent 32-bit integer overflow when decoding stack data from .pyb files · Issue #148252 · python/cpython
X Title: _remote_debugging: prevent 32-bit integer overflow when decoding stack data from .pyb files · Issue #148252 · python/cpython
Description: On 32-bit builds the new profiler binary reader can mis-handle large stack-depth values while decoding certain .pyb inputs because currently computes the final depth with size_t arithmetic; if that arithmetic wraps, the later bounds chec...
Open Graph Description: On 32-bit builds the new profiler binary reader can mis-handle large stack-depth values while decoding certain .pyb inputs because currently computes the final depth with size_t arithmetic; if that...
X Description: On 32-bit builds the new profiler binary reader can mis-handle large stack-depth values while decoding certain .pyb inputs because currently computes the final depth with size_t arithmetic; if that...
Opengraph URL: https://github.com/python/cpython/issues/148252
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"_remote_debugging: prevent 32-bit integer overflow when decoding stack data from .pyb files","articleBody":"On 32-bit builds the new profiler binary reader can mis-handle large stack-depth values while decoding certain .pyb inputs because currently computes the final depth with size_t arithmetic; if that arithmetic wraps, the later bounds check is performed on the wrong value and decoding can fail incorrectly. \n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-148253\n* gh-148972\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/pablogsal","@type":"Person","name":"pablogsal"},"datePublished":"2026-04-08T13:23:57Z","url":"https://github.com/python/cpython/issues/148252"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:cea9190e-3483-01db-787d-9caa7fba7f78 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B468:1ED8:1F9CC3:2DAABB:6B0231B0 |
| html-safe-nonce | 7d15bc0f0624192e5564d6614c5fca20b562f4936a51d5ae244f3b04c34a6a93 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDY4OjFFRDg6MUY5Q0MzOjJEQUFCQjo2QjAyMzFCMCIsInZpc2l0b3JfaWQiOiIzNzI2ODc4NDg5MDE4NzczOTM2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 09faec32af6295e77e73113a7289ef971a688d1b31959bb76b15fd9ea38145c5 |
| hovercard-subject-tag | issue:4224835109 |
| 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/148252/issue_layout |
| twitter:image | https://opengraph.githubassets.com/37cc01da41830e8607e87afd7217a6ca81b1146d83238841dd34e855ce8b179a/python/cpython/issues/148252 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/37cc01da41830e8607e87afd7217a6ca81b1146d83238841dd34e855ce8b179a/python/cpython/issues/148252 |
| og:image:alt | On 32-bit builds the new profiler binary reader can mis-handle large stack-depth values while decoding certain .pyb inputs because currently computes the final depth with size_t arithmetic; if that... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pablogsal |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width