check for bin == NULL
This commit is contained in:
		
							
								
								
									
										3
									
								
								sent.c
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								sent.c
									
									
									
									
									
								
							| @ -173,7 +173,8 @@ Image *ffopen(char *filename) | |||||||
| 		            REG_NOSUB | REG_EXTENDED | REG_ICASE)) | 		            REG_NOSUB | REG_EXTENDED | REG_ICASE)) | ||||||
| 			continue; | 			continue; | ||||||
| 		if (!regexec(®ex, filename, 0, NULL, 0)) { | 		if (!regexec(®ex, filename, 0, NULL, 0)) { | ||||||
| 			bin = filters[i].bin; | 			if (!(bin = filters[i].bin)) | ||||||
|  | 				return NULL; | ||||||
| 			break; | 			break; | ||||||
| 		} | 		} | ||||||
| 	} | 	} | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user