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

Prevent heap OOB read in TFLite's gather_nd.cc. #51324

Merged

Conversation

mihaimaruseac
Copy link
Collaborator

Passing negative indices is illegal but there was a missing check so that resulted in OOB accesses.

PiperOrigin-RevId: 387208551
Change-Id: I6b7a8a62d3e7c13a16d81619e5bc23ae2cdbc7fd

Passing negative indices is illegal but there was a missing check so that resulted in OOB accesses.

PiperOrigin-RevId: 387208551
Change-Id: I6b7a8a62d3e7c13a16d81619e5bc23ae2cdbc7fd
@google-cla google-cla bot added the cla: yes label Aug 6, 2021
@mihaimaruseac mihaimaruseac merged commit 8886d30 into r2.4 Aug 6, 2021
@mihaimaruseac mihaimaruseac deleted the mm-cp-bb6a0383ed553c286f87ca88c207f6774d5c4a8f-on-r2.4 branch August 6, 2021 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant