Skip to content
Commit eb68d7d2 authored by Florian Weimer's avatar Florian Weimer
Browse files

Linux: Avoid calling malloc indirectly from __get_nprocs



malloc initialization depends on __get_nprocs, so using
scratch buffers in __get_nprocs may result in infinite recursion.

Reviewed-by: default avatarCarlos O'Donell <carlos@redhat.com>
Reviewed-by: default avatarSiddhesh Poyarekar <siddhesh@sourceware.org>
parent 38f58041
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment