Fix stack buffer overflow when XNNPACK tensor has too many dims
Summary: Noticed this overflow when I was looking through the XNNPACK backend.
I am not very familiar with executorch or XNNPACK, so please be critical in review! In particular, my test is crashing in xnn_delete_runtime and I don't know why; it was previously getting a UBSAN failure for the stack buffer overflow before I patched XNNExecutor.cpp
Differential Revision: D56450593
:link: Helpful Links
:test_tube: See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/3233
- :page_facing_up: Preview Python docs built from this PR
Note: Links to docs will display an error until the docs builds have been completed.
:white_check_mark: No Failures
As of commit 5c94e49f8e7b4de9d2b668a532de785fc7c7df8f with merge base 3b0f271826aa1e495fda1c597ff2376efd9fab47 ():
:green_heart: Looks good so far! There are no failures yet. :green_heart:
This comment was automatically generated by Dr. CI and updates every 15 minutes.
This pull request was exported from Phabricator. Differential Revision: D56450593
This pull request was exported from Phabricator. Differential Revision: D56450593
This pull request was exported from Phabricator. Differential Revision: D56450593
This pull request was exported from Phabricator. Differential Revision: D56450593
This pull request was exported from Phabricator. Differential Revision: D56450593
This pull request has been merged in pytorch/executorch@dc726f9a0706913e51604eb8f482c6df7160eb84.