diff options
author | Emil Velikov <[email protected]> | 2015-11-23 20:26:55 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-11-29 14:38:22 +0000 |
commit | 5f92906b876d5463efba3ffb19c1de0dcb3c755f (patch) | |
tree | b0b0e03fa79b1cee52e357bab53eedefffb5db0f /src/gallium/state_trackers/dri/dri2.c | |
parent | 866a1f7fddcf38c0cd40fc7b9509e562353e1acc (diff) |
pipe-loader: check if winsys.name is non-null prior to strcmp
In theory this wouldn't be an issue, as we'll find the correct name and
break out of the loop before we hit the sentinel.
Let's fix this and avoid issues in the future.
Spotted by Coverity (CID 1339869, 1339870, 1339871)
Cc: [email protected]
Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/dri/dri2.c')
0 files changed, 0 insertions, 0 deletions