diff options
author | Ian Romanick <[email protected]> | 2013-04-08 16:53:46 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2013-04-12 16:24:44 -0700 |
commit | ee55b845d2e59f6437214def210f1791ff953445 (patch) | |
tree | d50ce22fe8083b4170d2aa433826258fea8423ed /src/mapi/es2api | |
parent | 278c9af85e910f4625427c4e4ac27acf6eac02bf (diff) |
glsl: Fix hypothetical NULL dereference related to process_array_type
Ensure that process_array_type never returns NULL, and let
process_array_type handle the case where the supplied base type is NULL.
Fixes issues identified by Klocwork analysis:
Pointer 'type' returned from call to function 'get_type' at line
1907 may be NULL and may be dereferenced at line 1912.
and
Pointer 'field_type' checked for NULL at line 4160 will be
dereferenced at line 4165. Also there is one similar error on line
4174.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mapi/es2api')
0 files changed, 0 insertions, 0 deletions