diff options
author | Luca BRUNO <lucab@debian.org> | 2013-08-22 16:22:31 +0200 |
---|---|---|
committer | Andreas Fritiofson <andreas.fritiofson@gmail.com> | 2013-12-01 12:44:09 +0000 |
commit | bb8c0d55d4fa72fe48ef70f17ee40324a355b73f (patch) | |
tree | 15ebd6a3cfca163160c65e190c1b15310b865df5 /src/flash/nor/stm32lx.c | |
parent | 4516eebabac0df24f00f40ff97ff570fdd39b2db (diff) |
NULL check before dereferencing
Check reg_list[i]->feature for NULL pointers before checking feature->name
in order to avoid NULL access.
Change-Id: If20401a6c5aa5e1e29f0fcf9bb95585b49658832
Signed-off-by: Luca BRUNO <lucab@debian.org>
Reviewed-on: http://openocd.zylin.com/1809
Tested-by: jenkins
Reviewed-by: Peter Stuge <peter@stuge.se>
Reviewed-by: Jens Bauer <jens@gpio.dk>
Diffstat (limited to 'src/flash/nor/stm32lx.c')
0 files changed, 0 insertions, 0 deletions