From: drath Date: Fri, 22 Aug 2008 12:08:47 +0000 (+0000) Subject: - fix a off-by-one error in the buffer read/write code that checks for a address... X-Git-Tag: v0.1.0~342 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2feac34e3fc27b22997d3a3794974192c345eb26;p=openocd - fix a off-by-one error in the buffer read/write code that checks for a address wrap git-svn-id: svn://svn.berlios.de/openocd/trunk@957 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- diff --git a/src/target/target.c b/src/target/target.c index 9f633ee1..d91928d1 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -870,7 +870,7 @@ int target_write_buffer(struct target_s *target, u32 address, u32 size, u8 *buff return ERROR_FAIL; } - if (address+size