Files
heimdal/lib/krb5
Love Hörnquist Åstrand ba2127c788 The "kaserver" part of Heimdal occasionally issues invalid AFS tokens
(here "occasionally" means for certain users in certain realms).

In lib/krb5/v4_glue.c, in the routine storage_to_etext the ticket is
padded to a multiple of 8 bytes. If it is already a multiple of 8
bytes, 8 additional 0-bytes are added.

This catches the AFS krb4 ticket decoder by surprise: unless the
ticket is exactly 56 bytes, it only supports the minimum necessary
padding.  It detects the superfluous padding by comparing the ticket
length decoded to the advertised ticket length.

Hence a 7-letter userid in "cern.ch" which resulted in a ticket of 40
bytes, got "padded" to 48 bytes which the rxkad decoder rejected.

From Rainer Toebbicke.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23475 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-28 15:01:05 +00:00
..
2008-06-23 04:32:32 +00:00
2008-07-27 12:11:16 +00:00
2008-02-21 18:44:57 +00:00
2008-06-23 04:32:32 +00:00
2008-06-23 03:25:00 +00:00
2008-07-26 18:36:33 +00:00
2008-07-27 12:08:03 +00:00
2008-06-23 03:26:18 +00:00
2008-04-17 10:02:03 +00:00
2008-06-23 03:26:18 +00:00
2008-06-23 03:26:18 +00:00
2008-04-07 18:49:55 +00:00
2008-06-23 03:26:18 +00:00
2008-06-23 03:26:18 +00:00
2008-06-23 03:25:58 +00:00
2007-11-11 16:41:06 +00:00
2008-06-23 03:26:18 +00:00
2005-05-18 10:06:16 +00:00
2008-06-23 03:26:18 +00:00
2008-06-23 03:26:18 +00:00
2008-06-23 03:26:18 +00:00
2008-06-23 03:26:18 +00:00
2008-06-23 04:32:32 +00:00
2008-06-23 04:32:32 +00:00
2008-06-23 03:26:58 +00:00
2008-06-23 04:32:32 +00:00
2004-02-13 16:23:40 +00:00
2008-06-23 04:32:32 +00:00
2008-06-23 04:32:32 +00:00
2008-07-27 12:08:37 +00:00
2008-03-25 12:20:55 +00:00
2005-10-03 14:24:36 +00:00
2008-06-23 04:32:32 +00:00
2008-06-23 04:32:32 +00:00
2008-06-23 03:28:22 +00:00
2008-06-23 04:32:32 +00:00
2003-09-03 00:13:07 +00:00
2003-05-26 14:09:04 +00:00
2005-05-25 13:47:58 +00:00
2006-05-01 07:09:16 +00:00
2008-04-28 10:56:32 +00:00
2003-05-26 14:09:04 +00:00
2007-01-23 20:35:12 +00:00
2007-02-17 23:49:54 +00:00
2008-07-15 11:23:34 +00:00
2004-03-21 13:17:41 +00:00
2003-05-26 14:09:04 +00:00
2008-04-27 19:32:33 +00:00
2006-05-29 14:55:18 +00:00
2007-02-18 10:41:10 +00:00
2007-01-17 18:06:33 +00:00
2003-05-26 14:09:04 +00:00
2007-06-21 04:36:31 +00:00
2007-06-12 17:52:46 +00:00
2004-07-15 14:39:06 +00:00
2006-07-10 14:28:01 +00:00
2006-12-28 20:48:50 +00:00
2006-09-16 09:27:28 +00:00
2003-05-26 14:09:04 +00:00
2006-11-21 07:55:20 +00:00
2007-07-16 07:44:54 +00:00
2006-10-03 10:39:35 +00:00
2008-04-28 18:01:53 +00:00
2008-04-17 10:02:03 +00:00
2005-10-08 15:39:42 +00:00
2005-05-25 13:19:16 +00:00
2007-07-15 20:49:46 +00:00
2008-07-24 20:04:22 +00:00
2008-07-27 12:09:05 +00:00
2008-07-27 12:09:39 +00:00
2008-07-27 12:07:25 +00:00
2008-07-15 11:23:46 +00:00
2008-06-23 04:32:32 +00:00
2005-06-16 21:16:40 +00:00
2008-06-23 03:28:53 +00:00
2008-06-23 04:32:32 +00:00
2007-01-08 13:35:49 +00:00
2008-06-23 04:32:32 +00:00
2008-06-23 03:29:22 +00:00
2008-07-27 12:10:10 +00:00
2008-07-27 12:10:30 +00:00
2008-06-23 04:32:32 +00:00
2005-06-17 04:29:41 +00:00
2008-06-23 04:32:32 +00:00
2008-06-23 04:32:32 +00:00
2007-07-31 20:42:20 +00:00
2008-06-23 03:29:56 +00:00
2008-06-23 04:32:32 +00:00
2008-06-23 04:32:32 +00:00
2008-07-27 12:16:37 +00:00
2008-06-23 04:32:32 +00:00
2008-07-27 12:09:22 +00:00
2008-06-23 04:32:32 +00:00
2008-06-23 03:30:41 +00:00
2008-06-23 04:32:32 +00:00
2007-04-11 11:16:28 +00:00
2007-11-14 20:04:50 +00:00
2005-04-30 15:19:58 +00:00
2005-04-30 15:19:58 +00:00
2005-06-17 04:48:02 +00:00
2008-06-24 23:49:39 +00:00
2005-04-30 15:19:58 +00:00
2006-10-22 07:11:43 +00:00
2005-06-17 04:48:02 +00:00
2008-07-15 11:25:19 +00:00
2005-04-30 15:15:38 +00:00
2005-08-12 13:43:46 +00:00
2006-10-22 07:11:43 +00:00
2008-04-09 13:07:19 +00:00
2007-11-03 21:36:55 +00:00
2007-06-03 14:23:20 +00:00
2006-10-22 07:11:43 +00:00
2008-06-23 03:30:49 +00:00
2008-06-23 04:32:32 +00:00
2008-06-23 03:26:18 +00:00
2004-12-08 17:52:41 +00:00
2008-01-27 11:55:30 +00:00
2008-06-23 03:26:18 +00:00
1999-12-02 17:05:13 +00:00
2008-05-29 02:13:41 +00:00
2008-06-23 03:26:18 +00:00