openocd/src
Paul Fertser 8b3f0f3f69 svf: off-by-one error; do not access after the allocated memory
Keep the promise and ensure there're at least 3 bytes available after
the current position.

This eliminates the errors reported by Valgrind.

Change-Id: I1d0640e904c750eed808b2b4caf419b4d7619845
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/1615
Tested-by: jenkins
Reviewed-by: Peter Stuge <peter@stuge.se>
2013-09-13 19:34:46 +00:00
..
flash fm3: add Fujitsu MB9Ax family support 2013-09-08 16:24:08 +00:00
helper build: remove clang warning about global var 'match' 2013-09-08 16:22:11 +00:00
jtag sysfsgpio: fix a typo in the informational output 2013-09-10 22:08:22 +00:00
pld update files to correct FSF address 2013-06-05 19:52:42 +00:00
rtos rtos: Do not dereference null pointers 2013-09-08 16:11:29 +00:00
server gdb server: do not free tdesc_filename early 2013-08-29 13:02:42 +00:00
svf svf: off-by-one error; do not access after the allocated memory 2013-09-13 19:34:46 +00:00
target target: Rewrite read/write buffer default implementations 2013-09-13 19:33:40 +00:00
transport update files to correct FSF address 2013-06-05 19:52:42 +00:00
xsvf update files to correct FSF address 2013-06-05 19:52:42 +00:00
hello.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
hello.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
main.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
Makefile.am automake: Don't install libopenocd 2013-07-15 10:06:18 +00:00
openocd.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
openocd.h update files to correct FSF address 2013-06-05 19:52:42 +00:00