#7753 CID 323644: logically dead code in ipaserver.install.adtrust.py
Closed: fixed Opened by abbra.

Coverity complains about https://github.com/freeipa/freeipa/blob/master/ipaserver/install/adtrust.py#L136-L143

323644 Logically dead code
The indicated dead code may have performed some action; that action will never occur.
In set_and_check_netbios_name: Code can never be reached because of a logical contradiction (CWE-561)


Metadata Update from @abbra:
- Issue assigned to abbra
- Issue set to the milestone: FreeIPA 4.7.2

PR: https://github.com/freeipa/freeipa/pull/2522

master:

  • 82af034023b03ae64f005c8160b9e961e7b9fd55 ipaserver.install.adtrust: fix CID 323644

ipa-4-7:

  • 5abe3d9feff3c0e66a43fa3799611521f83ee893 ipaserver.install.adtrust: fix CID 323644

Metadata Update from @cheimes:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Metadata