a6734c7a91
The list can contain (reuable) NULL entries, so the max - current_size doesn't indicate how many can be allocated.