Skip to content

gh-149009: Validate thread_count in profiling.sampling binary reader - #149147

Merged
pablogsal merged 3 commits into
python:mainfrom
maurycy:remote-debugger-thread-count-max
May 5, 2026
Merged

pablogsal merged 3 commits into
python:mainfrom
maurycy:remote-debugger-thread-count-max

Conversation

@maurycy

@maurycy maurycy commented Apr 29, 2026 •

Copy link
Copy Markdown
Contributor

The profiling.sampling binary reader reads thread_count stored in the file header but replay does not validate if there's more (thread_id, interp_id) pairs than declared.

To make it clear: that's just a validation.

Resolves gh-149009

@pablogsal
pablogsal enabled auto-merge (squash) May 5, 2026 00:50
@pablogsal
pablogsal merged commit c266f0c into python:main May 5, 2026
56 checks passed
@pablogsal

Copy link
Copy Markdown
Member

Thanks a lot @maurycy ❤️

@maurycy
maurycy deleted the remote-debugger-thread-count-max branch May 5, 2026 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants