mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-03 20:22:59 -05:00 
			
		
		
		
	fixed segmentation fault
This commit is contained in:
		
							parent
							
								
									c150f0d050
								
							
						
					
					
						commit
						020c823f62
					
				@ -85,6 +85,9 @@ static const x509_attr_descriptor_t *x509_at_oid_from_name( const char *name, si
 | 
				
			|||||||
            strncmp( cur->name, name, name_len ) == 0 )
 | 
					            strncmp( cur->name, name, name_len ) == 0 )
 | 
				
			||||||
            break;
 | 
					            break;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if ( cur->name == NULL )
 | 
				
			||||||
 | 
					        return( NULL );
 | 
				
			||||||
 | 
					        
 | 
				
			||||||
    return( cur );
 | 
					    return( cur );
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user