Skip to content

Commit 2afdb07

Browse files
author
git apple-llvm automerger
committed
Merge commit 'b35b720f5c95' from llvm.org/release/11.x into apple/stable/20200714
2 parents 7ca3e44 + b35b720 commit 2afdb07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler-rt/test/msan/strxfrm.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
#include <string.h>
88

99
int main(void) {
10-
char q[30];
10+
char q[10];
1111
size_t n = strxfrm(q, "abcdef", sizeof(q));
1212
assert(n < sizeof(q));
1313
__msan_check_mem_is_initialized(q, n + 1);
1414

15-
locale_t loc = newlocale(LC_ALL_MASK, "", (locale_t)0);
15+
locale_t loc = newlocale(LC_ALL_MASK, "C", (locale_t)0);
1616

1717
__msan_poison(&q, sizeof(q));
1818
n = strxfrm_l(q, "qwerty", sizeof(q), loc);

0 commit comments

Comments
 (0)