MFC: 1.46: Don't go beyond the provided string when parsing `\'.

PR:		bin/99985
Approved by:	re (hrs)
This commit is contained in:
ru 2006-10-16 11:51:18 +00:00
parent 93cf3d7327
commit cc327e7e5e

View File

@ -260,8 +260,10 @@ brk_string(ArgArray *aa, const char str[], Boolean expand)
}
} else {
*arg++ = str[0];
++str;
*arg++ = str[0];
if (str[1] != '\0') {
++str;
*arg++ = str[0];
}
}
break;
default: