-
Currently, process_singlesync_signals() checks if fd == -1 to handle possible errors in the drmSyncobjExportSyncFile function. But, fd is not initialized, which means that drmSyncobjExportSyncFile might fail and the error will not be handled as fd might not be equal to -1. Therefore, initialize the fd variable with value -1 to ensure proper error handling. cc: mesa-stable Signed-off-by:
Maíra Canal <mcanal@igalia.com> Reviewed-by:
Iago Toral Quiroga <itoral@igalia.com> Part-of: <!20475>
a2252add