Re: [pacman-dev] [PATCH] detect pkghash allocation failure

2018-01-09 Thread Allan McRae
On 08/01/18 10:30, Andrew Gregory wrote: > If rehash ever failed with a full hash it would return the old hash > that is already full. get_hash_position would then loop forever > because it would never find an empty bucket. > > Signed-off-by: Andrew Gregory > --- >

[pacman-dev] [PATCH] detect pkghash allocation failure

2018-01-07 Thread Andrew Gregory
If rehash ever failed with a full hash it would return the old hash that is already full. get_hash_position would then loop forever because it would never find an empty bucket. Signed-off-by: Andrew Gregory --- We still don't actually handle pkghash creation errors