Commit d7640706 authored by Tong Shen's avatar Tong Shen Committed by TensorFlower Gardener
Browse files

Fix FunctionalizeCond crash when fed with invalid control flow graph.

In some cases, we might get invalid control flow graph where Merge node inputs are not in any CondContext. As a result, in JoinCondStatesMerge(), the CondId 'src' will be nullptr. Check this case and return an error.

PiperOrigin-RevId: 231839691
parent 31723c74
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment