#713 Unchecked return value in set_nonblocking
Closed: Fixed None Opened 10 years ago by sgallagh.

   48static void set_nonblocking(int fd)
   49{
   50    unsigned v;
   51    v = fcntl(fd, F_GETFL, 0);
Calling function "fcntl" without checking return value.
No check of the return value of "fcntl(fd, 4, v | 0x800U)".
   52    fcntl(fd, F_SETFL, v | O_NONBLOCK);
   53}

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.5.1

Fields changed

coverity: => 10004

Fixed by ca4d33a

milestone: SSSD 1.5.1 => SSSD 1.5.0
resolution: => fixed
status: new => closed

Fields changed

rhbz: => 0

Metadata Update from @sgallagh:
- Issue assigned to sgallagh
- Issue set to the milestone: SSSD 1.5.0

4 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/1755

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata