summaryrefslogtreecommitdiff
path: root/src/target/embeddedice.c
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-31 06:00:28 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-31 06:00:28 +0000
commit678519311834fd7a1126f8d217c734d4f5ffbb3d (patch)
treea7648d09dc00a1cb2a57aa6645d5bf90fbdf05e9 /src/target/embeddedice.c
parent55f21192b0e0ae82cee6b69eb87b501acf414751 (diff)
downloadopenocd_libswd-678519311834fd7a1126f8d217c734d4f5ffbb3d.tar.gz
openocd_libswd-678519311834fd7a1126f8d217c734d4f5ffbb3d.tar.bz2
openocd_libswd-678519311834fd7a1126f8d217c734d4f5ffbb3d.tar.xz
openocd_libswd-678519311834fd7a1126f8d217c734d4f5ffbb3d.zip
Simplify the handle_md_command routine in target.c:
- fix buffer overrun in mdw; final '\0' would overflow the output buffer. - return ERROR_COMMAND_SYNTAX_ERROR instead of ERROR_OK if: - less than one argument is provided - the command is called with a name other than mdb, mdh, or mdw. - factor all command output into new handle_md_output function git-svn-id: svn://svn.berlios.de/openocd/trunk@1958 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/embeddedice.c')
0 files changed, 0 insertions, 0 deletions