[prev in list] [next in list] [prev in thread] [next in thread] 

List:       musl
Subject:    Re: [musl] BUG REPORT: Fault in src/malloc/oldmalloc/aligned_alloc.c leads to memory corruption
From:       Kent Mcleod <kent.mcleod72 () gmail ! com>
Date:       2022-05-03 20:01:10
Message-ID: CA+-ozWcJuYnQzrPv3=4eWYdaAGk7L_Dsu4iKKXnmPizZEjj4yA () mail ! gmail ! com
[Download RAW message or body]

> Is it possible that PAGE_SIZE is evaluating to nonsense (maybe
> libc.page_size ununitialized), resulting in the initial brk not
> getting aligned? It's an implicit assumption that page size is larger
> than SIZE_ALIGN.
>

Yes, libc.page_size being uninitialized is likely what's happening.
We departed from calling __init_libc at some point in the seL4 fork...

> Rich
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic