]> git.ipfire.org Git - thirdparty/krb5.git/commit
Using locking in MEMORY krb5_cc_get_principal() 1197/head
authorGreg Hudson <ghudson@mit.edu>
Sun, 20 Jun 2021 23:24:07 +0000 (19:24 -0400)
committerGreg Hudson <ghudson@mit.edu>
Mon, 28 Jun 2021 20:19:36 +0000 (16:19 -0400)
commit1848447291c68e21311f441b0458ae53471d00d3
treeee862fabda60b1846f1334a49fa163e7172324f4
parent7368354bcd0b58480a88b1fb81e63bd6aae7edf2
Using locking in MEMORY krb5_cc_get_principal()

Without locking, the principal pointer could be freed out from under
krb5_copy_principal() by another thread calling krb5_cc_initialize()
or krb5_cc_destroy().

ticket: 9014 (new)
tags: pullup
target_version: 1.19-next
target_version: 1.18-next
src/lib/krb5/ccache/cc_memory.c