patches for easier mirroring, to eliminate a special copy, to make www.freebsd.org/security a full copy of security.freebsd.org and be eventually be the same. For now files are just sitting there. The symlinks are missing. Discussed on: www (repository location) Discussed with: simon (so)
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			421 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			421 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
--- crypto/heimdal/kadmin/version4.c	Thu Oct  9 14:44:32 2003
 | 
						|
+++ crypto/heimdal/kadmin/version4.c	Thu Apr 29 07:29:23 2004
 | 
						|
@@ -965,6 +965,8 @@
 | 
						|
 	if(term_flag)
 | 
						|
 	    exit(0);
 | 
						|
 	if(first) {
 | 
						|
+	    if (len < 2)
 | 
						|
+		krb5_errx(context, 1, "received too short len (%d < 2)", len);
 | 
						|
 	    /* first time around, we have already read len, and two
 | 
						|
                bytes of the version string */
 | 
						|
 	    krb5_data_alloc(&message, len);
 |