Skip to content

Fix stack buffer overflow in get_view_as_real_copy_out_target_size - #15718

Merged
GregoryComer merged 1 commit into
release/1.0from
cherry-pick-15625-by-pytorch_bot_bot_
Nov 18, 2025
Merged

GregoryComer merged 1 commit into
release/1.0from
cherry-pick-15625-by-pytorch_bot_bot_

Conversation

@pytorchbot

Copy link
Copy Markdown
Collaborator

Summary: Check that self.dim() is smaller than kTensorDimensionLimit, otherwise we may write past the end of the out tensor.

Differential Revision: D86356264

@pytorch-bot

pytorch-bot Bot commented Nov 10, 2025 •

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/15718

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 New Failure, 2 Cancelled Jobs

As of commit 1d17104 with merge base e0dda90 (image):

NEW FAILURE - The following job has failed:

CANCELLED JOBS - The following jobs were cancelled. Please retry:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 10, 2025
Differential Revision: D86356264

Pull Request resolved: #15625

(cherry picked from commit 6014129)
@GregoryComer
GregoryComer force-pushed the cherry-pick-15625-by-pytorch_bot_bot_ branch from 8014e37 to 1d17104 Compare November 15, 2025 02:29
@GregoryComer
GregoryComer merged commit 12e9a0b into release/1.0 Nov 18, 2025
119 of 122 checks passed
@GregoryComer
GregoryComer deleted the cherry-pick-15625-by-pytorch_bot_bot_ branch November 18, 2025 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants