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 use after free in DecodePng kernel. #54029

Merged
merged 1 commit into from Jan 26, 2022
Merged

Prevent use after free in DecodePng kernel. #54029

merged 1 commit into from Jan 26, 2022

Conversation

pranve
Copy link

@pranve pranve commented Jan 25, 2022

We are cleaning up the memory in decode and then we are using an OP_REQUIRES to check an invariant on the decode data.

PiperOrigin-RevId: 409299145
Change-Id: I4eb93aaca52483eb202e89b78df07fbb2f6cb254

We are cleaning up the memory in `decode` and then we are using an `OP_REQUIRES` to check an invariant on the `decode` data.

PiperOrigin-RevId: 409299145
Change-Id: I4eb93aaca52483eb202e89b78df07fbb2f6cb254
@mihaimaruseac mihaimaruseac merged commit 7893478 into tensorflow:r2.7 Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants