#1675 SSSD crashes when c-ares returns success but an empty hostent during the DNS update

Created 4 years ago by jhrozek
Modified 3 months ago

https://bugzilla.redhat.com/show_bug.cgi?id=880571 (Fedora)

Version-Release number of selected component:
sssd-1.9.2-3.fc18

Additional info:
libreport version: 2.0.18
abrt_version:   2.0.18
backtrace_rating: 4
cmdline:        /usr/libexec/sssd/sssd_be --domain idm.lab.bos.redhat.com
--debug-to-files
crash_function: ipa_dyndns_update_get_addrs_done
kernel:         3.6.6-3.fc18.x86_64

truncated backtrace:
:Thread no. 1 (10 frames)
: #0 ipa_dyndns_update_get_addrs_done at src/providers/ipa/ipa_dyndns.c:736
: #1 resolv_gethostbyname_done at src/resolv/async_resolv.c:1413
: #2 resolv_gethostbyname_dns_query_done at src/resolv/async_resolv.c:988
: #3 end_squery at ares_search.c:208
: #4 search_callback at ares_search.c:155
: #5 qcallback at ares_query.c:180
: #6 end_query at ares_process.c:1266
: #7 process_answer at ares_process.c:611
: #9 read_udp_packets at ares_process.c:497
: #10 processfds at ares_process.c:152

There is a patch on the list.

blockedby: =>
blocking: =>
coverity: =>
design: =>
design_review: => 0
feature_milestone: =>
fedora_test_page: =>
patch: 0 => 1
testsupdated: => 0

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.9.4

Stephen sent a patch to fix the IPA case and I sent a patch to also fix all resolv lookups that return empty hostent.

owner: somebody => jhrozek

  • fixed in sssd-1-9: 1d883fb3897ec8457bf44381dcee759992cc0c06
  • fixed in master: 73ea053bace5c63d61f7b949e5e0bb35f2463cb8

milestone: SSSD 1.9.4 => SSSD 1.9.3
resolution: => fixed
status: new => closed

3 months ago

Metadata Update from @jhrozek:
- Issue assigned to jhrozek
- Issue set to the milestone: SSSD 1.9.3

Login to comment on this ticket.

defect

SSSD

0

1

https://bugzilla.redhat.com/show_bug.cgi?id=880571, https://bugzilla.redhat.com/show_bug.cgi?id=882076

0

cancel