Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
3
-
9223372036854775807
Description
Both llapi_hsm_action_begin/end have this code in error handling:
err_out:
if (!(hcp->source_fd < 0))
close(hcp->source_fd);
The problem is source_fd is unsigned, so it could never be less than zero.