Skip to content
Snippets Groups Projects
user avatar
Philipp Rosenberger authored
The gd->malloc_ptr and the gd->malloc_limit are offsets to gd->malloc_base.
But the addr variable contains the absolute address. The new_ptr must be:
addr + bytes - gd->malloc_base.

Signed-off-by: default avatarPhilipp Rosenberger <ilu@linutronix.de>
Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
596380db
History
Name Last commit Last update
..