]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix profile crash on memory exhaustion 1273/head
authorChenChen Zhou <357726167@qq.com>
Thu, 24 Nov 2022 13:59:21 +0000 (21:59 +0800)
committerGreg Hudson <ghudson@mit.edu>
Mon, 5 Dec 2022 16:19:05 +0000 (11:19 -0500)
commit2929ec400c174bc848a9c438a61b0e3506b91d0e
tree476be17a2cf913d52930e0721d467bcaeb5f33f5
parentd864d740d019fdf2c640460f2aa2760c7fa4d5e9
Fix profile crash on memory exhaustion

In profile_get_values(), if init_list() fails to allocate values.list,
end_list() will dereference a null pointer.  Fix end_list() to handle
list->list being null.

[ghudson@mit.edu: rewrote commit message]

ticket: 9078 (new)
src/util/profile/prof_get.c