Skip to content
Snippets Groups Projects
Commit c8d351b1 authored by Paul Fertser's avatar Paul Fertser
Browse files

target/image: fix undefined behaviour when loading with GDB


The image struct is malloc'd and hence base_address_set doesn't have a
defined value.

Caught by Valgrind.

Change-Id: Ice15b2299fc768e44e8034eeb93e035076eacd03
Signed-off-by: default avatarPaul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/2524


Tested-by: jenkins
Reviewed-by: default avatarStian Skjelstad <stian@nixia.no>
Reviewed-by: default avatarSpencer Oliver <spen@spen-soft.co.uk>
parent 7f000f82
Branches
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment