#730 Bad sizeof in pidfile
Closed: Fixed None Opened 11 years ago by sgallagh.

Taking the size of pointer arithmetic expression "pid_str - 1" is suspicious. Did you intend "sizeof(pid_str) - 1"?
  110    ssize_t pidlen = sizeof(pid_str - 1);

Fixed by d8ac1e7

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

5 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/1772

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.