commit | 5f92906b876d5463efba3ffb19c1de0dcb3c755f | [log] [tgz] |
---|---|---|
author | Emil Velikov <emil.l.velikov@gmail.com> | Mon Nov 23 20:26:55 2015 +0000 |
committer | Emil Velikov <emil.l.velikov@gmail.com> | Sun Nov 29 14:38:22 2015 +0000 |
tree | b0b0e03fa79b1cee52e357bab53eedefffb5db0f | |
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: mesa-stable@lists.freedesktop.org Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>