-
Notifications
You must be signed in to change notification settings - Fork 698
Add null pointer check for evalues #14749
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
base: main
Are you sure you want to change the base?
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/14749
Note: Links to docs will display an error until the docs builds have been completed. ❌ 9 New FailuresAs of commit 66e11e2 with merge base 7116e0a ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@JakeStevens has exported this pull request. If you are a Meta employee, you can view the originating Diff in D83742246. |
| executorch::aten::ArrayRef<double> toDoubleList() const { | ||
| ET_CHECK_MSG(isDoubleList(), "EValue is not a Double List."); | ||
| ET_CHECK_MSG( | ||
| payload.copyable_union.as_double_list_ptr != nullptr, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should check this in the ctors no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kept the original checks and added in boxed ctor and each evalue ctor
6c3f352 to
25522f9
Compare
Summary: The to* functions could de-reference a NULL pointer. Adding a check. Differential Revision: D83742246
Summary: The to* functions could de-reference a NULL pointer. Adding a check. Differential Revision: D83742246
25522f9 to
a6d92e4
Compare
Summary: The to* functions could de-reference a NULL pointer. Adding a check. Differential Revision: D83742246
a6d92e4 to
b5816ae
Compare
Summary: The to* functions could de-reference a NULL pointer. Adding a check. Differential Revision: D83742246
b5816ae to
302782a
Compare
|
@pytorchbot label "release notes: none" |
Summary: The to* functions could de-reference a NULL pointer. Adding a check. Differential Revision: D83742246
302782a to
66e11e2
Compare
Summary: The to* functions could de-reference a NULL pointer. Adding a check.
Differential Revision: D83742246