-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sssd_be segfaults at be_refresh_get_values_ex() due to NULL ptrs in results of sysdb_search_with_ts_attr() #5412
Labels
Comments
alexey-tikhonov
added a commit
to alexey-tikhonov/sssd
that referenced
this issue
Nov 22, 2020
This helps to avoid sssd_be segfaults at be_refresh_get_values_ex() due to NULL ptrs in results of sysdb_search_with_ts_attr() Resolves: SSSD#5412
elkoniu
pushed a commit
to elkoniu/sssd
that referenced
this issue
Feb 28, 2021
This helps to avoid sssd_be segfaults at be_refresh_get_values_ex() due to NULL ptrs in results of sysdb_search_with_ts_attr() Resolves: SSSD#5412 Reviewed-by: Pavel Březina <pbrezina@redhat.com>
akuster
pushed a commit
to akuster/sssd
that referenced
this issue
May 18, 2021
This helps to avoid sssd_be segfaults at be_refresh_get_values_ex() due to NULL ptrs in results of sysdb_search_with_ts_attr() Resolves: SSSD#5412 Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sssd/src/db/sysdb_search.c
Line 252 in d93b4fe
Despite what comment says, in case
merge_msg_sysdb_attrs()
fails here ^^ts_cache_res
is left zero-initialized and eventually is dereferenced inbe_refresh_get_values_ex()
->sysdb_msg2attrs()
resulting in a segfault.RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1899593
The text was updated successfully, but these errors were encountered: