Ticket #1675 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

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

Reported by: jhrozek Owned by: jhrozek
Priority: major Milestone: SSSD 1.9.3
Component: SSSD Version:
Keywords: Cc:
Blocked By: Blocking:
Sensitive: Tests Updated: no
Coverity Bug: Patch Submitted: yes
Red Hat Bugzilla: 880571, 882076 Design link:
Feature Milestone:
Design review: no Fedora test page:
Chosen: Candidate to push out:
Release Notes:
Temp mark:


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

Version-Release number of selected component:

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

Change History

comment:1 Changed 4 years ago by jhrozek

  • Tests Updated unset
  • Design review unset
  • Patch Submitted set

There is a patch on the list.

comment:2 Changed 4 years ago by dpal

  • Milestone changed from NEEDS_TRIAGE to SSSD 1.9.4

comment:3 Changed 4 years ago by dpal

  • Red Hat Bugzilla changed from [https://bugzilla.redhat.com/show_bug.cgi?id=880571 880571] to [https://bugzilla.redhat.com/show_bug.cgi?id=880571 880571], [https://bugzilla.redhat.com/show_bug.cgi?id=882076 882076]

Ticket has been cloned to Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=882076

comment:4 Changed 4 years ago by jhrozek

  • Owner changed from somebody to jhrozek

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

comment:5 Changed 4 years ago by jhrozek

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from SSSD 1.9.4 to SSSD 1.9.3
Note: See TracTickets for help on using tickets.