[sssd PR#5417][opened] KCM: avoid NULL deref
by alexey-tikhonov
URL: https://github.com/SSSD/sssd/pull/5417
Author: alexey-tikhonov
Title: #5417: KCM: avoid NULL deref
Action: opened
PR body:
"""
Fixes following issue:
```
/src/responder/kcm/kcmsrv_op_queue.c:129: check_after_deref: Null-checking "entry" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
# 127| terminating = entry->queue->qctx->kctx->rctx->shutting_down;
# 128|
# 129|-> if (entry == NULL) {
# 130| return 1;
# 131| /* Prevent use-after-free of req when shutting down with non-empty queue */
```
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/5417/head:pr5417
git checkout pr5417
3 years, 4 months
[sssd PR#5415][opened] winbind idmap plugin: Fix struct idmap_domain definition
by scabrero
URL: https://github.com/SSSD/sssd/pull/5415
Author: scabrero
Title: #5415: winbind idmap plugin: Fix struct idmap_domain definition
Action: opened
PR body:
"""
The patch for samba bug 13052 was backported to samba >= 4.7.4 adding
the dom_sid field to the idmap_domain struct.
This missmatch in the struct definition causes the plugin to fail
all unixids_to_sids and sids_to_unixids calls with
NT_STATUS_INVALID_PARAMETER for samba versions between 4.7.4 and 4.8.
Signed-off-by: Samuel Cabrero <scabrero(a)suse.de>
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/5415/head:pr5415
git checkout pr5415
3 years, 4 months
[sssd PR#5370][opened] nss: Use posix_fallocate() to alloc memcache file
by deastoe
URL: https://github.com/SSSD/sssd/pull/5370
Author: deastoe
Title: #5370: nss: Use posix_fallocate() to alloc memcache file
Action: opened
PR body:
"""
If sssd_nss starts up while the filesystem where the memcache files
will reside (SSS_NSS_MCACHE_DIR) does not have sufficient space,
sssd_nss can be killed by SIGBUS while attempting to write to the
mmap()'d address space.
Replace the ftruncate() call with posix_fallocate(), which will fail
in this scenario, so we can detect the condition and continue startup
without the memcache functionality.
Fixes #5369
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/5370/head:pr5370
git checkout pr5370
3 years, 5 months
[sssd PR#5399][opened] winbind idmap plugin: Fix struct idmap_domain definition
by scabrero
URL: https://github.com/SSSD/sssd/pull/5399
Author: scabrero
Title: #5399: winbind idmap plugin: Fix struct idmap_domain definition
Action: opened
PR body:
"""
The patch for samba bug 13052 was backported to samba >= 4.7.4 adding
the dom_sid field to the idmap_domain struct.
This missmatch in the struct definition causes the plugin to fail
all unixids_to_sids and sids_to_unixids calls with
NT_STATUS_INVALID_PARAMETER for samba versions between 4.7.4 and 4.8.
Signed-off-by: Samuel Cabrero <scabrero(a)suse.de>
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/5399/head:pr5399
git checkout pr5399
3 years, 5 months