Fix seg fault
authorJeremy Hayes <jeremy@lunarg.com>
Tue, 28 Dec 2021 22:17:39 +0000 (15:17 -0700)
committerJeremy Hayes <jeremy@lunarg.com>
Wed, 29 Dec 2021 00:09:57 +0000 (17:09 -0700)
commit46466be045fd8a5d00a1853ea76433ba2b3fad9f
tree329f37b644e48f18d337d0547327f2321df62e8d
parentca1395120555b8f7c78a7ea5cd3676330f78623e
Fix seg fault

Check types before accessing typeName.

Fix #2848.
Test/baseResults/noMatchingFunction.frag.out [new file with mode: 0644]
Test/noMatchingFunction.frag [new file with mode: 0644]
glslang/Include/Types.h
glslang/MachineIndependent/ParseHelper.cpp
gtests/AST.FromFile.cpp