mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-10-30 11:11:12 -04:00 
			
		
		
		
	Fix potential memory leak in RSASSA-PSS verify
This commit is contained in:
		
							parent
							
								
									b29a7ba3f2
								
							
						
					
					
						commit
						88aa6e0b58
					
				| @ -1204,6 +1204,7 @@ int rsa_rsassa_pss_verify_ext( rsa_context *ctx, | ||||
|     if( expected_salt_len != RSA_SALT_LEN_ANY && | ||||
|         slen != (size_t) expected_salt_len ) | ||||
|     { | ||||
|         md_free_ctx( &md_ctx ); | ||||
|         return( POLARSSL_ERR_RSA_INVALID_PADDING ); | ||||
|     } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Manuel Pégourié-Gonnard
						Manuel Pégourié-Gonnard