diff options
author | Francisco Jerez <[email protected]> | 2017-08-18 12:04:55 -0700 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2017-08-22 11:56:38 -0700 |
commit | e29ccaac298d04ad4272af2d8b8d7a953c523e28 (patch) | |
tree | 2cdc443e5ef23aeac8775944b887c3be60c8f0cd /src/util/xmlpool.h | |
parent | 7ca124a6a3987fbfc09bc530761d44714c0da773 (diff) |
anv: Check that in_fence fd is valid before closing it.
Probably harmless, but will overwrite errno with a failure status
code. Reported by coverity.
CID 1416600: Argument cannot be negative (NEGATIVE_RETURNS)
Fixes: 5c4e4932e02 (anv: Implement support for exporting semaphores as FENCE_FD)
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/util/xmlpool.h')
0 files changed, 0 insertions, 0 deletions