#732 Uninitialized value error in main() in stress-tests.c
Closed: Fixed Opened by sgallagh.

Declaring variable "action" without initializer.
  212    struct sigaction action, old_action;

...

  275    /* Reap the children in a handler asynchronously so we can
  276     * somehow protect against too many processes */
  277    action.sa_handler = child_handler;
  278    sigemptyset(&action.sa_mask);
  279    sigaddset(&action.sa_mask, SIGCHLD);
  280    action.sa_flags = SA_NOCLDSTOP;
  281
Using uninitialized value "action": field "action".sa_restorer is uninitialized when calling "sigaction".
  282    sigaction(SIGCHLD, &action, &old_action);

Fixed by dad9075f4bbe37ecc5d1c91541534d40c5a2becd

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 sbose
- Issue set to the milestone: SSSD 1.5.0

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/1774

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.

Metadata