svn rev #19111: branches/krb5-1-6/ src/lib/krb5/os/

tlyu@MIT.EDU tlyu at MIT.EDU
Wed Jan 24 16:35:31 EST 2007


Commit By: tlyu
Log Message: 
ticket: 5394
version_fixed: 1.6.1

pull up r19065 from trunk

 r19065 at cathode-dark-space:  jaltman | 2007-01-18 06:35:33 -0500
 ticket: 5394
 tags: pullup
 
   	sendto_kdc.c: use of a variable index into a dynamically 
 	allocated array to determine the sizeof() an object makes
 	it unclear what type of object is involved.  It also requires
 	a runtime check instead of a compile time replacement.  
 	Not to mention that it could lead to the evaluation of an 
 	uninitialized variable as was done in this case.  Replace
 	sizeof(array index variable) with sizeof(type). 
 
 	memset() the correct data structure.  
 
 




Changed Files:
_U  branches/krb5-1-6/
U   branches/krb5-1-6/src/lib/krb5/os/sendto_kdc.c



More information about the cvs-krb5 mailing list