kopia lustrzana https://gitlab.com/sane-project/backends
				
				
				
			bug 314037 use after free
- apply patch from Nickolai Zeldovich (nickolai-guest) to fix a use after free errormerge-requests/1/head
							rodzic
							
								
									10bd9ed2e5
								
							
						
					
					
						commit
						ac768dbd72
					
				|  | @ -3368,9 +3368,9 @@ sane_start (SANE_Handle handle) | |||
| 
 | ||||
|   s->buffer = malloc(s->dev->info.bufsize); | ||||
|   if (!s->buffer) { | ||||
|     free(s); | ||||
|     sanei_scsi_close(s->fd); | ||||
|     s->fd = -1; | ||||
|     free(s); | ||||
|     return SANE_STATUS_NO_MEM; | ||||
|   } | ||||
| 
 | ||||
|  |  | |||
		Ładowanie…
	
		Reference in New Issue
	
	 Stphane Voltz
						Stphane Voltz