#9535 ipa-kdb: Cannot determine if PAC generator is available
Closed: fixed by frenaud. Opened by jrische.

The PAC generator structure ipadb_context.mspac is allocated systematically and its content is not guaranteed to be exhaustive.

In some cases, the behavior of the KDB plugin must change depending of the capacity of the domain to generate PACs. But the current implementation makes this difficult to determine.

The ipadb_context.mspac structure should be set only if all its attributes can be set, or set to NULL otherwise.


Metadata Update from @frenaud:
- Custom field rhbz adjusted to https://issues.redhat.com/browse/RHEL-25738, https://issues.redhat.com/browse/RHEL-25742

master:

  • 835929353d935613ae3dd6fc6f70b21d3252fbc8 ipa-kdb: Rework ipadb_reinit_mspac()

ipa-4-9:

  • 7f072e348d318e928f6270a182ca04dee8716677 ipa-kdb: Rework ipadb_reinit_mspac()

ipa-4-11:

  • febfd9c64d748a435a9d0756d4710898a0e2aa49 ipa-kdb: Rework ipadb_reinit_mspac()

ipa-4-10:

  • 7b7f5c3f806e53ff883865c7b7f4d17453d63ce6 ipa-kdb: Rework ipadb_reinit_mspac()

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

master:

  • dc3e902b0bf9f817f7aafb606f1d5d3287873ab2 ipa-kdb: Fix double free in ipadb_reinit_mspac()

ipa-4-9:

  • dd27d225524aa81c038a970961a4f878cf742e2a ipa-kdb: Fix double free in ipadb_reinit_mspac()

ipa-4-11:

  • ac44c3d0a69aa2b3f8230c3ab13dca5ab5a78dd0 ipa-kdb: Fix double free in ipadb_reinit_mspac()

ipa-4-10:

  • f1efe4490c1e33b81178ba887600a3a5826c11c2 ipa-kdb: Fix double free in ipadb_reinit_mspac()
Metadata