Skip to content

gh-153838: Skip non-regular and oversized files in heatmap exporter#153839

Open
tonghuaroot wants to merge 2 commits into
python:mainfrom
tonghuaroot:heatmap-confine-source-reads
Open

gh-153838: Skip non-regular and oversized files in heatmap exporter#153839
tonghuaroot wants to merge 2 commits into
python:mainfrom
tonghuaroot:heatmap-confine-source-reads

Conversation

@tonghuaroot

@tonghuaroot tonghuaroot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Guard the source-file read in _generate_file_html with is_file() and a 10 MB size cap. A device or oversized path now gets the existing placeholder instead of an unbounded read.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant