From 912d41a217749e80aef3182350a94b9ca94a6378 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Sun, 3 May 1998 01:58:06 +0000 Subject: [PATCH] * get_in_tkt.c (krb5_get_in_tkt): Add missing argument to call to make_preauth_list to avoid stack smashing. Pointed out by lxs. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10544 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/ChangeLog | 5 +++++ src/lib/krb5/krb/get_in_tkt.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index c94d3c393..3056275e9 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,8 @@ +Sat May 2 21:46:02 1998 Tom Yu + + * get_in_tkt.c (krb5_get_in_tkt): Add missing argument to call to + make_preauth_list to avoid stack smashing. Pointed out by lxs. + Mon Mar 16 19:50:55 1998 Tom Yu * chk_trans.c (krb5_check_transited_list): Check lengths when diff --git a/src/lib/krb5/krb/get_in_tkt.c b/src/lib/krb5/krb/get_in_tkt.c index cbcbc7246..a2c8195a0 100644 --- a/src/lib/krb5/krb/get_in_tkt.c +++ b/src/lib/krb5/krb/get_in_tkt.c @@ -466,7 +466,7 @@ krb5_get_in_tkt(context, options, addrs, ktypes, ptypes, key_proc, keyseed, * preauth_to_use list. */ if (ptypes) { - retval = make_preauth_list(context, ptypes, &preauth_to_use); + retval = make_preauth_list(context, ptypes, -1, &preauth_to_use); if (retval) goto cleanup; } -- 2.26.2