[sssd PR#5654][opened] test: replace deprecated libcheck macros
by sumit-bose
URL: https://github.com/SSSD/sssd/pull/5654
Author: sumit-bose
Title: #5654: test: replace deprecated libcheck macros
Action: opened
PR body:
"""
The fail* macros are deprecated by libcheck some time ago. Recently a fix
for a different issue in those macros cause a 'too many arguments for
format' compiler warning which won't be fixed on the libckeck side since
the macros are deprecated.
This patch replaces the deprecated macros with the new ones:
- fail -> ck_abort_msg
- fail_unless -> ck_assert_msg
- fail_if -> sss_ck_fail_if_msg
The fail_if macro does not have a corresponding new version and I added a
local replacement sss_ck_fail_if_msg which is based on ck_assert_msg.
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/5654/head:pr5654
git checkout pr5654
2 years, 9 months
[sssd PR#5695][opened] CACHE_REQ: fixed covscan issues
by alexey-tikhonov
URL: https://github.com/SSSD/sssd/pull/5695
Author: alexey-tikhonov
Title: #5695: CACHE_REQ: fixed covscan issues
Action: opened
PR body:
"""
Fixed following warning:
```
Error: GCC_ANALYZER_WARNING (CWE-476):
sssd-2.5.1/src/responder/common/cache_req/cache_req_data.c: scope_hint: In function 'cache_req_data_create'
sssd-2.5.1/src/responder/common/cache_req/cache_req_data.c:160:28: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
# 158| break;
# 159| case CACHE_REQ_SVC_BY_NAME:
# 160|-> if (input->svc.name->input == NULL) {
# 161| DEBUG(SSSDBG_CRIT_FAILURE, "Bug: name cannot be NULL!\n");
# 162| ret = ERR_INTERNAL;
```
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/5695/head:pr5695
git checkout pr5695
2 years, 9 months
[sssd PR#5552][opened] files: split update into batches
by sumit-bose
URL: https://github.com/SSSD/sssd/pull/5552
Author: sumit-bose
Title: #5552: files: split update into batches
Action: opened
PR body:
"""
If the files managed by the files provider contain many users or groups
processing them might take a considerable amount of time. To keep the
backend responsive this patch splits the update into multiple steps
running one after the other but returning to the main loop in between.
This avoids issues during startup because the watchdog timer state is
reset properly. Additionally SBUS messages are process and as a result
the domain can be marked inconsistent in the frontends properly.
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/5552/head:pr5552
git checkout pr5552
2 years, 10 months