Received: from smtp1.Stanford.EDU (smtp1.Stanford.EDU [171.67.16.123]) by krbdev.mit.edu (8.9.3p2) with ESMTP id TAA17071; Thu, 10 Feb 2005 19:35:27 -0500 (EST) Received: from localhost (Gibson-Mount-pbdsl1.Stanford.EDU [171.66.182.82]) by smtp1.Stanford.EDU (8.12.11/8.12.11) with ESMTP id j1B0ZPnd013323 for ; Thu, 10 Feb 2005 16:35:26 -0800 Date: Thu, 10 Feb 2005 16:35:25 -0800 From: Quanah Gibson-Mount To: rt-comment@krbdev.mit.edu Subject: Re: [krbdev.mit.edu #2914] size change in cache breaks alpha-dux40 for krb5-1.3, krb5-1.4 Message-Id: <4A15655756843C9D3D82DBA6@cadabra-dsl.stanford.edu> In-Reply-To: <9299FD5379F4564FC718D70D@cadabra-dsl.stanford.edu> References: <9299FD5379F4564FC718D70D@cadabra-dsl.stanford.edu> X-Mailer: Mulberry/4.0.0a4 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline RT-Send-Cc: X-RT-Original-Encoding: us-ascii Content-Length: 1467 --On Thursday, February 10, 2005 3:55 PM -0800 Quanah Gibson-Mount wrote: > > > --On Friday, February 04, 2005 6:55 PM -0500 Ken Raeburn via RT > wrote: > >> In the 1.2.7 sources I have lying around, and a 1.2.8 tree I just >> checked out, the last thing written to the file by tf_save_cred in >> lib/krb4/tf_util.c is one of the arguments declared "long issue_date", >> and written using sizeof(long). So I'm surprised that last field looks >> like a four-byte timestamp. > > Ken, > > My 1.2.8 tree doesn't agree with you then. > > In diff'ing 1.2.8 with 1.3.6, I find: > > 527c519 > < KRB4_32 issue_date; > --- >> long issue_date; > > I bet on alpha this changed the size somehow. > > I'll poke further at that. Looking at the des.h from 1.2.8, it appears that on alpha, the size is "int" not long: #ifndef __alpha #ifdef __sparcv9 /* On 64bit solaris long's are 64 bits, doh... */ #define KRB4_32 int #else #define KRB4_32 long #endif #else #define KRB4_32 int #endif --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/Shared Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html "These censorship operations against schools and libraries are stronger than ever in the present religio-political climate. They often focus on fantasy and sf books, which foster that deadly enemy to bigotry and blind faith, the imagination." -- Ursula K. Le Guin