Fix an uninitialized variable read in xallocx().
This commit is contained in:
parent
0a8696658f
commit
0405312921
@ -1625,6 +1625,9 @@ je_xallocx(void *ptr, size_t size, size_t extra, int flags)
|
||||
}
|
||||
if (iralloct(ptr, size, extra, alignment, zero, true,
|
||||
try_tcache_alloc, try_tcache_dalloc, arena) == NULL) {
|
||||
if (config_stats == false && (config_valgrind == false
|
||||
|| opt_valgrind == false))
|
||||
old_usize = isalloc(ptr, false);
|
||||
usize = old_usize;
|
||||
goto label_not_moved;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user