diff options
author | Sergey A. Borshch <sb-sf@users.sourceforge.net> | 2013-10-03 16:05:15 +0300 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2013-10-07 19:27:00 +0000 |
commit | 9b3e7fb888b6c913e0d2544a14c02d14c9293663 (patch) | |
tree | c45c854261768f8d95c3e84423bfb99c18336efa /NEWS-0.5.0 | |
parent | bc7837007c0b1e2a194429a88e53dc23ec567be8 (diff) |
fix lpc2000 flash programming fail.
some members of lpc2000_info structure sometimes used uninitialized
(cmd51_can_64b for all LPC except LPC800 as example).
Init allocated lpc2000_info structure with zeros to avoid this and similar bugs in the future.
Note: maybe discarding all cmd51_can_XXXb fields and using cmd51_dst_boundary instead will be a better solution.
Signed-off-by: Sergey A. Borshch <sb-sf@users.sourceforge.net>
Change-Id: Idf116a5b0bf4ea1c39ea0ce308ec2c13bfbd4d8c
Reviewed-on: http://openocd.zylin.com/1676
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-by: Nemui Trinomius <nemuisan_kawausogasuki@live.jp>
Diffstat (limited to 'NEWS-0.5.0')
0 files changed, 0 insertions, 0 deletions