openocd/src/svf
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
..
Makefile.am build: add common.mk 2010-11-18 14:05:56 +00:00
svf.c svf: off-by-one error; do not access after the allocated memory 2013-09-13 19:34:46 +00:00
svf.h update files to correct FSF address 2013-06-05 19:52:42 +00:00