mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-03 20:22:59 -05:00 
			
		
		
		
	Widens test bounds on memory alloc tests
This commit is contained in:
		
							parent
							
								
									80119c5d28
								
							
						
					
					
						commit
						a557cfb9ad
					
				@ -212,7 +212,7 @@ void memory_buffer_alloc_oom_test()
 | 
			
		||||
    TEST_ASSERT( ptr_c == NULL );
 | 
			
		||||
 | 
			
		||||
    mbedtls_memory_buffer_alloc_cur_get( &reported_bytes, &reported_blocks );
 | 
			
		||||
    TEST_ASSERT( reported_bytes == 864 );
 | 
			
		||||
    TEST_ASSERT( reported_bytes >= 864 && reported_bytes <= sizeof(buf) );
 | 
			
		||||
 | 
			
		||||
    mbedtls_free( ptr_a );
 | 
			
		||||
    ptr_a = NULL;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user