]> git.sur5r.net Git - openocd/commit
mpsse: Add missing read buffer checks
authorAndreas Fritiofson <andreas.fritiofson@gmail.com>
Wed, 10 Jul 2013 17:22:42 +0000 (19:22 +0200)
committerSpencer Oliver <spen@spen-soft.co.uk>
Thu, 1 Aug 2013 10:31:14 +0000 (10:31 +0000)
commit209e0beed384a5401158cd0c06add3590e0109dc
tree2f4fabc5d863a64a5d0c2b9d1ffd00fe8ad6800d
parentc979a08144ddea266fbf626182b5a06ad90e9ea8
mpsse: Add missing read buffer checks

These two unused functions added reads without checking for available
space.

Change-Id: I17dbbe9988b057e5a3a1768f405fc9d1027d1c01
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/1500
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/jtag/drivers/mpsse.c