forked from OSchip/llvm-project
[Reproducers] Don't use VLA in SBReproducer redirect
This should unbreak the Windows bot. llvm-svn: 355518
This commit is contained in:
parent
cdf95f8f07
commit
9ebe71a4e1
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue