diff options
author | Carsten Schlote <c.schlote@konzeptpark.de> | 2008-02-20 16:44:34 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2008-02-20 20:41:57 +0100 |
commit | 7538c063002864ca5237ba4bbf96174b7057998d (patch) | |
tree | 3c8e16f75fc45ce6c37a7feb3b9ee33823297811 /README | |
parent | 0dd247729a7b59e9b064600ae11981fd31cd3752 (diff) | |
download | barebox-7538c063002864ca5237ba4bbf96174b7057998d.tar.gz barebox-7538c063002864ca5237ba4bbf96174b7057998d.tar.xz |
[general] Fixed crash in memory allocator
Fixed a bug in sbrk(). When the new mem_brk value returned by
sbrk_no_zero() returns NULL to indicate 'out of memory', sbrk()
still memset()s innocent memory at address NULL.
For some architectures this memory might be empty, so this never
causes a problem. Anyway on Coldfire I still have my vector table
there. Nuking them isn't really a good idea :-)
Signed-off-by: Carsten Schlote <c.schlote@konzeptpark.de>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions