mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-04 04:32:24 -05:00 
			
		
		
		
	Don't print uninitialized buffer in ssl_mail_client
This commit is contained in:
		
							parent
							
								
									9a6b442cee
								
							
						
					
					
						commit
						42cc641159
					
				@ -5,6 +5,7 @@ Bugfix
 | 
				
			|||||||
   * Support escaping of commas in x509_string_to_names()
 | 
					   * Support escaping of commas in x509_string_to_names()
 | 
				
			||||||
   * Fix compile error in ssl_pthread_server (found by Julian Ospald).
 | 
					   * Fix compile error in ssl_pthread_server (found by Julian Ospald).
 | 
				
			||||||
   * Fix net_accept() regarding non-blocking sockets (found by Luca Pesce).
 | 
					   * Fix net_accept() regarding non-blocking sockets (found by Luca Pesce).
 | 
				
			||||||
 | 
					   * Don't print uninitialised buffer in ssl_mail_client (found by Marc Abel).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Changes
 | 
					Changes
 | 
				
			||||||
   * Ciphersuites using SHA-256 or SHA-384 now require TLS 1.x (there is no
 | 
					   * Ciphersuites using SHA-256 or SHA-384 now require TLS 1.x (there is no
 | 
				
			||||||
 | 
				
			|||||||
@ -352,7 +352,7 @@ static int write_and_get_response( int sock_fd, unsigned char *buf, size_t len )
 | 
				
			|||||||
int main( int argc, char *argv[] )
 | 
					int main( int argc, char *argv[] )
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    int ret = 0, len, server_fd;
 | 
					    int ret = 0, len, server_fd;
 | 
				
			||||||
    unsigned char buf[1024];
 | 
					    unsigned char buf[1024] = { 0 };
 | 
				
			||||||
#if defined(POLARSSL_BASE64_C)
 | 
					#if defined(POLARSSL_BASE64_C)
 | 
				
			||||||
    unsigned char base[1024];
 | 
					    unsigned char base[1024];
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user