]> git.ipfire.org Git - thirdparty/krb5.git/commit
Improve password change API docs and behavior 1441/head
authorGreg Hudson <ghudson@mit.edu>
Thu, 3 Jul 2025 20:49:47 +0000 (16:49 -0400)
committerGreg Hudson <ghudson@mit.edu>
Wed, 16 Jul 2025 17:22:09 +0000 (13:22 -0400)
commit8dc8d1919c06cae692c6f4207183f327542ed4b2
tree815e21e6263c060abc916750003e5001467a2556
parent4b4a720cacec8827c9b3f65b4920ac1b0075f38e
Improve password change API docs and behavior

For krb5_change_password(), krb5_set_password(), and
krb5_set_password_using_ccache(), document that result_code_string may
be NULL and that the caller should free result_code_string and
result_string with krb5_free_data_contents().  Also ensure that
result_code_string and result_string are initialized along all exit
paths.  Reported by Joonas Tuomisto.

ticket: 9176 (new)
src/include/krb5/krb5.hin
src/lib/krb5/os/changepw.c