]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix unlikely leak in KDC AS-REQ error path 542/head
authorGreg Hudson <ghudson@mit.edu>
Thu, 22 Sep 2016 06:21:39 +0000 (02:21 -0400)
committerGreg Hudson <ghudson@mit.edu>
Fri, 23 Sep 2016 16:49:29 +0000 (12:49 -0400)
commit8d852c577039d59e1bea383e4ddfe575c20f240d
tree9e7cd49dc7af21ec9be64913718f9b33d3bdcddc
parentbf1a0aeb6d0423ebaf4c3dd21fe2c51b894ccb38
Fix unlikely leak in KDC AS-REQ error path

In prepare_error_as(), if krb5_us_timeofday() fails and error pa-data
was supplied, the FAST cookie and a shallow copy of the error padata
can be leaked.  Reported by Will Fiveash.

ticket: 8498
target_version: 1.14-next
tags: pullup
src/kdc/do_as_req.c