Philipp Rosenberger
596380db28
malloc_simple: fix malloc_ptr calculation
...
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: Philipp Rosenberger <ilu@linutronix.de>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
2015-09-28 10:15:48 -04:00
..
2015-08-18 13:46:05 -04:00
2015-06-08 17:32:40 -04:00
2015-08-28 11:46:35 -04:00
2015-08-13 07:19:36 -04:00
2015-08-28 11:46:35 -04:00
2015-05-28 08:18:21 -04:00
2015-08-12 20:47:13 -04:00
2015-09-15 15:04:53 -04:00
2015-08-18 13:46:05 -04:00
2015-06-11 08:29:14 -04:00
2015-06-10 19:26:54 -06:00
2015-05-28 08:18:21 -04:00
2015-07-14 18:03:15 -06:00
2015-07-14 18:03:16 -06:00
2015-09-07 13:41:05 +02:00
2015-08-05 08:44:07 -06:00
2015-09-21 08:29:48 -07:00
2015-07-22 08:57:53 +02:00
2015-07-20 07:21:47 -06:00
2015-09-07 13:41:05 +02:00
2015-08-31 07:57:28 -06:00
2015-06-04 02:39:39 -06:00
2015-05-28 08:18:21 -04:00
2015-07-28 11:56:29 +02:00
2015-06-30 00:40:11 +05:30
2015-06-30 00:40:11 +05:30
2015-06-19 16:46:47 -04:00
2015-07-27 15:53:48 -07:00
2015-08-05 21:06:13 -06:00
2015-07-11 08:01:54 -04:00
2015-08-17 23:29:14 +05:30
2015-08-12 20:47:56 -04:00
2015-06-30 00:40:11 +05:30
2015-08-31 07:57:29 -06:00
2015-08-31 07:57:29 -06:00
2015-07-21 17:39:38 -06:00
2015-09-11 17:15:16 -04:00
2015-09-11 17:15:20 -04:00
2015-08-28 11:46:35 -04:00
2015-07-21 17:39:22 -06:00
2015-09-11 17:15:20 -04:00
2015-09-21 08:29:47 -07:00
2015-09-11 17:15:20 -04:00
2015-09-11 17:15:20 -04:00
2015-08-17 23:29:14 +05:30
2015-09-11 17:15:20 -04:00
2015-07-20 11:44:37 -07:00
2015-07-20 07:21:47 -06:00
2015-06-08 17:32:40 -04:00
2015-08-13 07:19:37 -04:00
2015-06-06 09:30:20 -04:00
2015-09-02 21:28:23 -06:00
2015-08-31 07:57:29 -06:00
2015-07-23 18:10:58 +02:00
2015-08-13 07:19:34 -04:00
2015-09-07 13:41:05 +02:00
2015-09-21 08:29:47 -07:00
2015-09-28 10:15:48 -04:00
2015-09-07 13:41:05 +02:00
2015-09-11 17:15:20 -04:00
2015-09-11 17:15:20 -04:00
2015-09-11 17:15:20 -04:00
2015-09-11 17:15:20 -04:00