]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix unlikely pointer error in get_in_tkt.c 450/head
authorGreg Hudson <ghudson@mit.edu>
Mon, 9 May 2016 17:45:06 +0000 (13:45 -0400)
committerGreg Hudson <ghudson@mit.edu>
Wed, 1 Jun 2016 00:39:02 +0000 (20:39 -0400)
commit24452cd737951fa6e0f35e97c6a644a9db0aa82d
treeefbb90451594dd593fdeed67735fdd0fae0fb5d2
parent8b5259b9d17a441a6914e141862c3fa29c234c3d
Fix unlikely pointer error in get_in_tkt.c

In add_padata(), reset the caller's pointer and ensure the list is
terminated as soon as realloc() succeeds; otherwise, the old pointer
could be left behind if a later allocation fails.

ticket: 8413 (new)
target_version: 1.14-next
target_version: 1.13-next
tags: pullup
src/lib/krb5/krb/get_in_tkt.c