Permalink
Show file tree
Hide file tree
11 changes: 11 additions & 0 deletions
11
tensorflow/python/kernel_tests/data_structures/stage_op_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.StagePeek vulnerability with invalid
index.
Check that input is actually a scalar before treating it as such. PiperOrigin-RevId: 445524908
- Loading branch information
1 parent
98c0222
commit cebe3c4
Showing
3 changed files
with
14 additions
and
1 deletion.
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
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