[U-Boot-Users] PATCH for cmd_mem.c:do_mem_mtest()
ladis at linux-mips.org
Tue Sep 13 18:31:14 CEST 2005
On Tue, Sep 13, 2005 at 06:18:56PM +0200, Wolfgang Denk wrote:
> > ChangeLog:
> > * Patch by Andrew Dyer, 13 September 2005:
> > if CFG_ALT_MEMTEST is defined without
> > CFG_MEMTEST_SCRATCH, cmd_mem.c
> > code will dereference a null pointer. Change
> No, it does not. It just points to address 0x0000. This is a
> perfectly valid address on many systems.
I sent patch to mailing list few months ago which changes NULL to
0x00000000 and adds some comment to avoid such confusion (I burned
my fingers the same way :-)).
More information about the U-Boot