]> git.sur5r.net Git - openocd/commit
gdb server: Fix buffer overrun - sprintf appends a terminating null to the data which...
authorEvan Hunter <ehunter@broadcom.com>
Tue, 2 Apr 2013 06:35:23 +0000 (17:35 +1100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Tue, 2 Apr 2013 15:05:44 +0000 (15:05 +0000)
commit0875e64ddb1cade43c7a56d8cc6e743364b65b58
tree9f481c1ea1b1311d0fccd1dd0b8d45c759f4fdd1
parent900f2998c8edeffa35f57696314caf0fb543a5af
gdb server: Fix buffer overrun - sprintf appends a terminating null to the data which was overrunning the supplied buffer.

Fixes regression introduced in commit 07dcd5648d146d38f9ffa619f0737587e592d0b6

Signed-off-by: Evan Hunter <ehunter@broadcom.com>
Change-Id: Iec64233c0da5a044fb984c4b1803309cb636efe9
Reviewed-on: http://openocd.zylin.com/1312
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/server/gdb_server.c