]> git.sur5r.net Git - openocd/commit
svf: fix segfaults exposed by some SVF
authorPaul Fertser <fercerpav@gmail.com>
Tue, 11 Aug 2015 22:03:02 +0000 (01:03 +0300)
committerSpencer Oliver <spen@spen-soft.co.uk>
Wed, 30 Sep 2015 21:01:47 +0000 (22:01 +0100)
commit874f0157eb01f8486b8e739244b4429a92a8182e
treece00157e78829691a3585d96f379e7e0756571f9
parent4b0477abc196d1488628131c18de742c092ad289
svf: fix segfaults exposed by some SVF

The problem was reported by jstefanop on IRC, the SVF was generated with
Xilinx ISE 14.7.

Found and investigated with Valgrind's vgdb service.

Change-Id: I32b0e77e0380ce4a391661f97449f9c2a5f83625
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/2933
Tested-by: jenkins
src/svf/svf.c