Skip to content

Conversation

@JakeStevens
Copy link
Contributor

Summary: The to* functions could de-reference a NULL pointer. Adding a check.

Differential Revision: D83742246

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 2, 2025

🔗 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 Failures

As of commit 66e11e2 with merge base 7116e0a (image):

NEW FAILURES - The following jobs have failed:

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 Oct 2, 2025
@facebook-github-bot
Copy link
Contributor

@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,
Copy link
Contributor

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?

Copy link
Contributor Author

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

JakeStevens added a commit to JakeStevens/executorch that referenced this pull request Oct 3, 2025
Summary:

The to* functions could de-reference a NULL pointer. Adding a check.

Differential Revision: D83742246
JakeStevens added a commit to JakeStevens/executorch that referenced this pull request Oct 3, 2025
Summary:

The to* functions could de-reference a NULL pointer. Adding a check.

Differential Revision: D83742246
JakeStevens added a commit to JakeStevens/executorch that referenced this pull request Oct 3, 2025
Summary:

The to* functions could de-reference a NULL pointer. Adding a check.

Differential Revision: D83742246
JakeStevens added a commit to JakeStevens/executorch that referenced this pull request Oct 3, 2025
Summary:

The to* functions could de-reference a NULL pointer. Adding a check.

Differential Revision: D83742246
@JakeStevens
Copy link
Contributor Author

@pytorchbot label "release notes: none"

@pytorch-bot pytorch-bot bot added the release notes: none Do not include this in the release notes label Oct 3, 2025
Summary:

The to* functions could de-reference a NULL pointer. Adding a check.

Differential Revision: D83742246
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. fb-exported meta-exported release notes: none Do not include this in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants