#1274 Wrong resolv_status might cause crash when name resolution times out
Closed: Fixed None Opened 7 years ago by jhrozek.

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

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

2 years ago

Login to comment on this ticket.

Metadata