Fixed the GDB reg write command from going out of bounds.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1287 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
skidau 2015-04-02 14:53:37 +00:00
parent e997f69808
commit 43c14fc2e9
1 changed files with 1 additions and 1 deletions

View File

@ -3317,7 +3317,7 @@ void remoteWriteRegister(char *p)
int i = 0;
while(c != '#') {
while(i < 4) {
u8 b = 0;
if(c <= '9')
b = (c - '0') << 4;