mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
The "MEMORY" ccache is shared in a process. If a client uses it to make parallel connections, the same ccache may be used for several clients with distinct credentials. To prevent such sharing we create a unique, dedicated ccache when necessary with krb5_cc_new_unique. We should destroy the ccaches we created, to avoid leaks. The struct KRB_CREDENTIALS is extended to express the ccache ownership.