Fix stack buffer overflow in resize_tensor#15626
Fix stack buffer overflow in resize_tensor#15626meta-codesync[bot] merged 1 commit intopytorch:mainfrom
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/15626
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (4 Unrelated Failures)As of commit cb8eb87 with merge base b005f10 ( BROKEN TRUNK - The following jobs failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
Summary: `new_sizes_casted` is created with size kTensorDimensionLimit. Make sure that new_sizes_ndim is <= kTensorDimensionLimit before resizing. Reviewed By: JacobSzwejbka Differential Revision: D86361111
62014eb to
3369af7
Compare
Summary: `new_sizes_casted` is created with size kTensorDimensionLimit. Make sure that new_sizes_ndim is <= kTensorDimensionLimit before resizing. Reviewed By: JacobSzwejbka Differential Revision: D86361111
3369af7 to
cb8eb87
Compare
Differential Revision: D86361111 Pull Request resolved: pytorch#15626
Summary:
new_sizes_castedis created with size kTensorDimensionLimit.Make sure that new_sizes_ndim is <= kTensorDimensionLimit before resizing.
Differential Revision: D86361111