ref: 7ddd76f77e6b016f374fc3284fd4468a27969a23
parent: 5de9fb918c669dc71b0c21e2ee3092bab5529060
author: Thierry Foucu <[email protected]>
date: Fri Sep 28 07:42:59 EDT 2018
Fixed MemorySanitizer: use-of-uninitialized-value
--- a/src/x86/cpu.c
+++ b/src/x86/cpu.c
@@ -33,7 +33,7 @@
uint64_t dav1d_cpu_xgetbv(int xcr);
static unsigned get_cpu_flags(void) {
- uint32_t info[4], n_ids;
+ uint32_t info[4] = {0}, n_ids;
unsigned flags = 0;
dav1d_cpu_cpuid(info, 0);