Skip to content
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

Bugfix: unchecked pointer use #3057

Open
ddavis-2015 opened this issue Mar 5, 2025 · 0 comments · May be fixed by #3058
Open

Bugfix: unchecked pointer use #3057

ddavis-2015 opened this issue Mar 5, 2025 · 0 comments · May be fixed by #3058
Assignees
Labels
bug Something isn't working

Comments

@ddavis-2015
Copy link
Member

@tensorflow/micro

Fix for unchecked memory allocation failure during TfLiteTensor creation, resulting in DCHECK.

@ddavis-2015 ddavis-2015 added the bug Something isn't working label Mar 5, 2025
@ddavis-2015 ddavis-2015 self-assigned this Mar 5, 2025
ddavis-2015 added a commit to ddavis-2015/tflite-micro that referenced this issue Mar 6, 2025
Handle the failure to allocate temporary memory for a TfLiteTensor in a more graceful way.  This allows most kernels in the Prepare phase to not crash due to a DCHECK on memory allocation failure.

bug=fixes Bugfix: unchecked pointer use tensorflow#3057
@ddavis-2015 ddavis-2015 linked a pull request Mar 6, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant