]> sourceware.org Git - glibc.git/commit
Linux: Avoid calling malloc indirectly from __get_nprocs
authorFlorian Weimer <fweimer@redhat.com>
Wed, 30 Jun 2021 15:41:38 +0000 (17:41 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 30 Jun 2021 15:41:47 +0000 (17:41 +0200)
commiteb68d7d23cc411acdf68a60f194343a6774d6194
treef50e4c81f3c3d880a12627c9af27df44b8b3f372
parent38f58041baff897e595a957ddb04ecb4c83ab322
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: Carlos O'Donell <carlos@redhat.com>
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
sysdeps/unix/sysv/linux/getsysstats.c
This page took 0.042829 seconds and 5 git commands to generate.