about summary refs log tree commit diff
path: root/nptl_db/td_ta_setconcurrency.c
diff options
context:
space:
mode:
authorJan Palus <jpalus@fastmail.com>2023-10-30 19:57:01 +0100
committerFlorian Weimer <fweimer@redhat.com>2023-11-20 15:03:29 +0100
commitf2aaf18af50109b0982723bdf4e0a3bca2f8d3d6 (patch)
tree60be5f0a2da51c42b0bdcd9acc69a7910579b1b1 /nptl_db/td_ta_setconcurrency.c
parentcfb5a97a93ea656e3b2263e42142a4032986d9ba (diff)
downloadglibc-f2aaf18af50109b0982723bdf4e0a3bca2f8d3d6.tar.gz
glibc-f2aaf18af50109b0982723bdf4e0a3bca2f8d3d6.tar.xz
glibc-f2aaf18af50109b0982723bdf4e0a3bca2f8d3d6.zip
resolv: free only initialized items from gai pool
pool_max_size denotes total allocated rows in pool but possibly not yet
initialized. it's pool_size that represents number of actually occupied
rows hence use it when freeing pool to avoid freeing random addresses.

Signed-off-by: Jan Palus <jpalus@fastmail.com>
Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'nptl_db/td_ta_setconcurrency.c')
0 files changed, 0 insertions, 0 deletions