mirror of
				https://git.proxmox.com/git/libgit2
				synced 2025-11-04 14:08:17 +00:00 
			
		
		
		
	sha1-lookup: This assert was correct
This commit is contained in:
		
							parent
							
								
									c87bf86cd7
								
							
						
					
					
						commit
						1e94df08da
					
				@ -124,7 +124,7 @@ int sha1_entry_pos(const void *table,
 | 
			
		||||
			lov = (lov << 8) | lo_key[ofs_0+1];
 | 
			
		||||
			kyv = (kyv << 8) | key[ofs_0+1];
 | 
			
		||||
		}
 | 
			
		||||
		assert(lov <= hiv);
 | 
			
		||||
		assert(lov < hiv);
 | 
			
		||||
 | 
			
		||||
		if (kyv < lov)
 | 
			
		||||
			return -1 - lo;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user