Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
erts: Fix memory corruption when reading topology info
If the number of processors actually found while reading sysfs is lower than the configured value, we realloc() the cpuinfo array to the smaller size, but we then iterate it using the original configured size, thus corrupting memory beyond the allocated block.
- Loading branch information