[Reproducers] Don't use VLA in SBReproducer redirect

This should unbreak the Windows bot.

llvm-svn: 355518
This commit is contained in:
Jonas Devlieghere 2019-03-06 16:33:48 +00:00
parent cdf95f8f07
commit 9ebe71a4e1
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ static bool GetDefaultArchitectureRedirect(char *arch_name,
size_t arch_name_len) {
// The function is writing to its argument. Without the redirect it would
// write into the replay buffer.
char buffer[arch_name_len];
char buffer[1024];
return SBDebugger::GetDefaultArchitecture(buffer, arch_name_len);
}