From: Øyvind H. <go...@us...> - 2010-07-05 09:38:03
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via 1e0f89841575de2b8b6313825ec8edd8bc7910a0 (commit) from db8b99aed6b4e6c046bf51853dacd8d511607984 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 1e0f89841575de2b8b6313825ec8edd8bc7910a0 Author: Stacey Sheldon <st...@so...> Date: Sun Jul 4 16:19:02 2010 -0400 transport: fix segfault in setup_command_handler() Commit 93f2afa45f4c dropped the sentinel off the end of the command_registrants[] array. The loop immediately following the initialization will walk right off the end. Signed-off-by: Stacey Sheldon <st...@so...> diff --git a/src/openocd.c b/src/openocd.c index bba1e0b..04a6307 100644 --- a/src/openocd.c +++ b/src/openocd.c @@ -235,6 +235,7 @@ struct command_context *setup_command_handler(Jim_Interp *interp) &nand_register_commands, &pld_register_commands, &mflash_register_commands, + NULL }; for (unsigned i = 0; NULL != command_registrants[i]; i++) { ----------------------------------------------------------------------- Summary of changes: src/openocd.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) hooks/post-receive -- Main OpenOCD repository |