#1274 Wrong resolv_status might cause crash when name resolution times out

Created 5 years ago by jhrozek
Modified 11 months ago

When name resolution times out, the errno return code is 110 (which is correct = ETIMEDOUT), but the resolv_status is 0. This is wrong.

We should probably rely mostly on the errno return code and only treat the resolv_status, which is the original ares return code, as kind of extended information, also because in the future we might switch to a different resolver with different error codes.

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.8.2 (LTM)

Fields changed

patch: 0 => 1
status: new => assigned

Fixed by:
- 64f398d (master)
- bd0dad9 (sssd-1-8)

resolution: => fixed
status: assigned => closed

Fields changed

component: SSSD => Async Resolver

11 months ago

Metadata Update from @jhrozek:
- Issue assigned to jhrozek
- Issue set to the milestone: SSSD 1.8.2 (LTM)

Login to comment on this ticket.


Async Resolver




https://bugzilla.redhat.com/show_bug.cgi?id=805918, https://bugzilla.redhat.com/show_bug.cgi?id=812387