#7738 Fix C issues found by coverity and other tools
Closed: fixed 5 years ago Opened 5 years ago by twoerner.

Internal tests with coverity and other tools have revealed some issues in the freeipa C code. These will be addressed with this ticket.


Metadata Update from @twoerner:
- Issue assigned to twoerner

5 years ago

master:

  • 389c17c Fix ressource leak in client/config.c get_config_entry
  • 8e98c72 Fix ressource leak in daemons/ipa-slapi-plugins/ipa-cldap/ipa_cldap_netlogon.c ipa_cldap_netlogon

ipa-4-5:

  • 334d113 Fix ressource leak in client/config.c get_config_entry
  • b1dc05b Fix ressource leak in daemons/ipa-slapi-plugins/ipa-cldap/ipa_cldap_netlogon.c ipa_cldap_netlogon

ipa-4-6:

  • 416c9c5 Fix ressource leak in client/config.c get_config_entry
  • 9756d4f Fix ressource leak in daemons/ipa-slapi-plugins/ipa-cldap/ipa_cldap_netlogon.c ipa_cldap_netlogon

master:

  • 836e295 Fix ipadb_multires resource handling
  • 5fe3198 Don't abuse strncpy() length limitation

ipa-4-7:

  • 705e280 Fix ressource leak in client/config.c get_config_entry
  • ebb14ed Fix ressource leak in daemons/ipa-slapi-plugins/ipa-cldap/ipa_cldap_netlogon.c ipa_cldap_netlogon

ipa-4-6:

  • 8f36951 Fix ipadb_multires resource handling
  • 3e8a942 Don't abuse strncpy() length limitation

ipa-4-7:

  • 3051504 Fix ipadb_multires resource handling
  • 4ca3120 Don't abuse strncpy() length limitation

master:

  • aa261ba has_krbprincipalkey: avoid double free
  • 800e448 ipadb_mspac_get_trusted_domains: NULL ptr deref
  • da2078b ipapwd_pre_mod: NULL ptr deref

ipa-4-6:

  • 1c24577 has_krbprincipalkey: avoid double free
  • 55c86da ipadb_mspac_get_trusted_domains: NULL ptr deref
  • f5f52e3 ipapwd_pre_mod: NULL ptr deref

ipa-4-7:

  • a06fb8d has_krbprincipalkey: avoid double free
  • 2884ab6 ipadb_mspac_get_trusted_domains: NULL ptr deref
  • 28b89df ipapwd_pre_mod: NULL ptr deref

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

5 years ago

Login to comment on this ticket.

Metadata