riscv-openocd/src
Andrey Yurovsky 4efb3ebb76 stm32lx: don't allow part_info to be uninitialized
It's possible for us to fail to read the part ID code so make sure that
part_info is initialized to NULL before attempting to do so, otherwise
we could proceed and use it uninitialized and then segfault.

Change-Id: I0a3f3d3947690b66f0981b5046340449521e0b33
Signed-off-by: Jack Peel <jack.peel@synapse.com>
Signed-off-by: Andrey Yurovsky <yurovsky@gmail.com>
Reviewed-on: http://openocd.zylin.com/2276
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2014-09-15 08:23:12 +00:00
..
flash stm32lx: don't allow part_info to be uninitialized 2014-09-15 08:23:12 +00:00
helper Removed limit on lenght of command line options. 2014-08-12 21:04:27 +00:00
jtag jtag/drivers/libusb0_common: fix FTBFS (libusb_device_descriptor error) 2014-09-08 20:23:15 +00:00
pld update files to correct FSF address 2013-06-05 19:52:42 +00:00
rtos Don't cast return value of [cm]alloc 2014-03-30 03:53:45 +00:00
server openrisc: add support for JTAG Serial Port 2014-06-22 08:39:08 +00:00
svf Openocd: svf: Add ability to ignore svf_check_tdo errors 2014-07-03 18:08:48 +00:00
target cortex_m: Check return value from cortex_m_dcc_read. 2014-09-15 08:22:56 +00:00
transport transport: emit a warning when a user tries to reselect a transport 2014-08-19 20:19:58 +00:00
xsvf update files to correct FSF address 2013-06-05 19:52:42 +00:00
Makefile.am Fix some problems with the bin2char utility 2014-08-02 09:01:32 +00:00
hello.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
hello.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
main.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
openocd.c Fix some problems with the bin2char utility 2014-08-02 09:01:32 +00:00
openocd.h Fix some problems with the bin2char utility 2014-08-02 09:01:32 +00:00