Permalink
Show file tree
Hide file tree
9 changes: 9 additions & 0 deletions
9
tensorflow/python/kernel_tests/data_structures/list_ops_test.py
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix tf.raw_ops.TensorListResize vulnerability with non-scalar input.
Check that the size input is valid. Add graph/eager unit tests. Graph mode was already ok but eager mode was not. Note: This fix will have to be cherry picked in r2.10, r2.9, and r2.8. PiperOrigin-RevId: 477002316
- Loading branch information
1 parent
cc0ba05
commit 888e34b
Showing
2 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters