Permalink
Show file tree
Hide file tree
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
Validate
NodeDefs from FunctionDefLibrary of a GraphDef.
We already validated `NodeDef`s from a `GraphDef` but missed validating those from the `FunctionDefLibrary`. Thus, some maliciously crafted models could evade detection and cause denial of service due to a `CHECK`-fail. PiperOrigin-RevId: 332536309 Change-Id: I052efe919ff1fe2f90815e286a1aa4c54c7b94ff
- Loading branch information
1 parent
2d88f47
commit adf0952
Showing
6 changed files
with
48 additions
and
15 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
Empty file.
Binary file added
BIN
+84.3 KB
tensorflow/cc/saved_model/testdata/fuzz_generated/bad_node_attr/saved_model.pb
Binary file not shown.
Binary file added
BIN
+1.17 MB
...saved_model/testdata/fuzz_generated/bad_node_attr/variables/variables.data-00000-of-00001
Binary file not shown.
Binary file added
BIN
+1.29 KB
tensorflow/cc/saved_model/testdata/fuzz_generated/bad_node_attr/variables/variables.index
Binary file not shown.