-
Notifications
You must be signed in to change notification settings - Fork 712
Do not copy beyond out tensor bounds #15648
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/15648
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (2 Unrelated Failures)As of commit 76104b3 with merge base 3dbc15b ( 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: `set_all_to_value(out_data, out_step_len, value)` loops over the padding and copies a row at a time. Add some checks to make sure we do not exceed the out tensor (out_data) size when copying. Differential Revision: D86436435
18cf8e6 to
b6ba8eb
Compare
Summary: `set_all_to_value(out_data, out_step_len, value)` loops over the padding and copies a row at a time. Add some checks to make sure we do not exceed the out tensor (out_data) size when copying. Differential Revision: D86436435
Summary: `set_all_to_value(out_data, out_step_len, value)` loops over the padding and copies a row at a time. Add some checks to make sure we do not exceed the out tensor (out_data) size when copying. Differential Revision: D86436435
b6ba8eb to
4f130cd
Compare
Summary: `set_all_to_value(out_data, out_step_len, value)` loops over the padding and copies a row at a time. Add some checks to make sure we do not exceed the out tensor (out_data) size when copying. Reviewed By: JacobSzwejbka Differential Revision: D86436435
4f130cd to
06c0f0c
Compare
Summary: `set_all_to_value(out_data, out_step_len, value)` loops over the padding and copies a row at a time. Add some checks to make sure we do not exceed the out tensor (out_data) size when copying. Reviewed By: JacobSzwejbka Differential Revision: D86436435
06c0f0c to
76104b3
Compare
Summary:
set_all_to_value(out_data, out_step_len, value)loops over the padding and copies a row at a time.Add some checks to make sure we do not exceed the out tensor (out_data) size when copying.
Differential Revision: D86436435