u-boot/arch/sandbox/cpu
Stephen Warren 9c38c07008 sandbox: terminate os_dirent_ls() result list
Each node in the linked-list that os_dirent_ls() returns has its next
pointer set only when the next node is created. For the last node in the
list, there is no next node, so this never happens, and the next pointer
is never initialized. Explicitly initialize the next pointer so that it
isn't dangling. Without this, "sb ls" might crash.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
2014-06-23 15:37:24 -06:00
..
cpu.c Use a const pointer for map_to_sysmem() 2014-03-17 20:05:45 -06:00
Makefile sandbox: Add SDL library for LCD, keyboard, audio 2014-03-17 20:05:48 -06:00
os.c sandbox: terminate os_dirent_ls() result list 2014-06-23 15:37:24 -06:00
sdl.c sandbox: Add SDL library for LCD, keyboard, audio 2014-03-17 20:05:48 -06:00
start.c sandbox: Add options to clean up temporary files 2014-03-17 20:05:49 -06:00
state.c sandbox: Add options to clean up temporary files 2014-03-17 20:05:49 -06:00
u-boot.lds Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00