This is an automated email from Gerrit.

Franck Jullien ([email protected]) just uploaded a new patch set to 
Gerrit, which you can find at http://openocd.zylin.com/1681

-- gerrit

commit 05107b19dc52d3d65ab8f85f3f7865134ec2e1d0
Author: Franck Jullien <[email protected]>
Date:   Thu Oct 3 21:12:10 2013 +0200

    gdb_server: fix use of uninitialized pointer
    
    Change-Id: I90ad92c71f3f45ef1625c79ac7c8d83a8236fb5e
    Signed-off-by: Franck Jullien <[email protected]>

diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c
index 97cf26f..2e76b19 100644
--- a/src/server/gdb_server.c
+++ b/src/server/gdb_server.c
@@ -3009,7 +3009,7 @@ COMMAND_HANDLER(handle_gdb_target_description_command)
 
 COMMAND_HANDLER(handle_gdb_save_tdesc_command)
 {
-       char *tdesc;
+       char *tdesc = NULL;
        uint32_t tdesc_length;
        struct target *target = get_current_target(CMD_CTX);
        char *tdesc_filename;

-- 

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to