parent
							
								
									895a74a814
								
							
						
					
					
						commit
						0a7ca24c26
					
				
					 1 changed files with 1 additions and 4 deletions
				
			
		|  | @ -48,10 +48,7 @@ static ref<std::string> decompressXZ(const std::string & in) | ||||||
|             return res; |             return res; | ||||||
| 
 | 
 | ||||||
|         if (ret != LZMA_OK) |         if (ret != LZMA_OK) | ||||||
|             throw CompressionError("error while decompressing xz file"); |             throw CompressionError("error %d while decompressing xz file", ret); | ||||||
| 
 |  | ||||||
|         if (strm.avail_in == 0) |  | ||||||
|             throw CompressionError("xz data ends prematurely"); |  | ||||||
|     } |     } | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue