On Thu, Nov 25, 2021 at 02:22:46AM +1100, Daniel Axtens wrote:
> When iterating through the singly linked list of free blocks,
> grub_real_malloc uses p and q for the current and previous blocks
> respectively. This isn't super clear, so swap to using prev and cur.
>
> This makes another quirk
When iterating through the singly linked list of free blocks,
grub_real_malloc uses p and q for the current and previous blocks
respectively. This isn't super clear, so swap to using prev and cur.
This makes another quirk more obvious. The comment at the top of
grub_real_malloc might lead you to