|  | @@ -3,9 +3,10 @@
 | 
	
		
			
				|  |  |  <sect2>
 | 
	
		
			
				|  |  |  <title>Installation of Gzip</title>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -<para>A buffer overflow may occur if <userinput>gzip</userinput>
 | 
	
		
			
				|  |  | -encounters a filename over 1020 characters in length. Apply the
 | 
	
		
			
				|  |  | -patch to fix this problem:</para>
 | 
	
		
			
				|  |  | +<para>The following patch fixes a buffer overflow that occurs when a
 | 
	
		
			
				|  |  | +filename is longer than 1020 characters. It does this by inserting a check
 | 
	
		
			
				|  |  | +that the buffer is large enough for the given filename. The program exits
 | 
	
		
			
				|  |  | +with the message "Filename too long" the buffer is not large enough.</para>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  <para><screen><userinput>patch -Np1 -i ../gzip-&gzip-patch-version;.patch</userinput></screen></para>
 | 
	
		
			
				|  |  |  
 |