diff options
author | Robert Morell <rmorell@nvidia.com> | 2023-03-07 10:14:45 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2023-03-08 10:13:31 -0300 |
commit | 6a734e62f1557de3449c689effd2b37066ea34eb (patch) | |
tree | e9b45a5372df8f86d16f320c6905eb1600462d00 /malloc/scratch_buffer_set_array_size.c | |
parent | 0b7bf0e0a486da6be7c5dde742a80c1138f9cc89 (diff) | |
download | glibc-6a734e62f1557de3449c689effd2b37066ea34eb.tar.gz glibc-6a734e62f1557de3449c689effd2b37066ea34eb.tar.xz glibc-6a734e62f1557de3449c689effd2b37066ea34eb.zip |
malloc: Fix transposed arguments in sysmalloc_mmap_fallback call
git commit 0849eed45daa ("malloc: Move MORECORE fallback mmap to sysmalloc_mmap_fallback") moved a block of code from sysmalloc to a new helper function sysmalloc_mmap_fallback(), but 'pagesize' is used for the 'minsize' argument and 'MMAP_AS_MORECORE_SIZE' for the 'pagesize' argument. Fixes: 0849eed45daa ("malloc: Move MORECORE fallback mmap to sysmalloc_mmap_fallback") Signed-off-by: Robert Morell <rmorell@nvidia.com> Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'malloc/scratch_buffer_set_array_size.c')
0 files changed, 0 insertions, 0 deletions