#505 Potential NULL dereference in fail_over.c
Closed: Fixed None Opened 13 years ago by sgallagh.

From Coverity:
{{{
Comparing "server->common" to null implies that "server->common" might be
null.
1125 if (!server->common && fo_is_srv_lookup(server)) {
1126 return "SRV lookup meta-server";
1127 }
1128
Dereferencing null variable "server->common".
1129 return server->common->name;
1130}
}}}

This will crash here if server->common == NULL and
fo_is_server_lookup(server) returns false.


Fields changed

owner: somebody => jhrozek

Fields changed

status: new => assigned

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.2.1

Fixed by fe7d0d7

fixedin: => 1.2.1
keywords: => coverity
resolution: => fixed
status: assigned => closed

Fields changed

rhbz: => 0

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

7 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/1547

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata