[krbdev.mit.edu #9080] git commit
"Greg Hudson via RT" <[email protected]> Mon, 05 Dec 2022 18:22:10 -0500
| Newsgroups | gmane.comp.encryption.kerberos.bugs |
|---|---|
| Message-ID | <[email protected]> |
Mon Dec 05 18:22:10 2022: Request 9080 was acted upon. Transaction: Ticket created by [email protected] Queue: krb5 Subject: git commit Owner: [email protected] Requestors: Status: new Ticket <URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9080 > Fix gic_keytab crash on memory exhaustion get_as_key_keytab() does not check the result of krb5_copy_keyblock(), and dereferences a null pointer if it fails. Remove the call and steal the memory from kt_ent instead. [[email protected]: rewrote commit message; fixed comments] https://github.com/krb5/krb5/commit/6bc90214830cb5239aa397c20763902f10f11786 Author: ChenChen Zhou <[email protected]> Committer: Greg Hudson <[email protected]> Commit: 6bc90214830cb5239aa397c20763902f10f11786 Branch: master src/lib/krb5/krb/gic_keytab.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-)