]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix error handling in allocate_princ()
authorGreg Hudson <ghudson@mit.edu>
Fri, 13 Jul 2012 16:03:08 +0000 (12:03 -0400)
committerGreg Hudson <ghudson@mit.edu>
Fri, 13 Jul 2012 16:03:08 +0000 (12:03 -0400)
commitd938577dc1628f4dc8a0af3657020ee444a78c1b
treea1023ec5ae3ca4c65c0dc1cb374428e4116c3713
parentb17ceb2c87a1513e18ba793b6ea183ff76faaca8
Fix error handling in allocate_princ()

The most recent change could leak memory when trying to parse an
invalid principal because of a failure to use the cleanup handler.
src/lib/krb5/krb/parse.c