mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Kent Mcleod <kent.mcleod72@gmail.com>
To: musl@lists.openwall.com
Cc: WILLIAMS Stephen <stephen.williams@capgemini.com>
Subject: Re: [musl] BUG REPORT: Fault in src/malloc/oldmalloc/aligned_alloc.c leads to memory corruption
Date: Wed, 4 May 2022 06:01:10 +1000	[thread overview]
Message-ID: <CA+-ozWcJuYnQzrPv3=4eWYdaAGk7L_Dsu4iKKXnmPizZEjj4yA@mail.gmail.com> (raw)
In-Reply-To: <20220503154709.GV7074@brightrain.aerifal.cx>

> 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

      reply	other threads:[~2022-05-03 20:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-03 10:51 WILLIAMS Stephen
2022-05-03 12:59 ` Rich Felker
2022-05-03 15:14   ` WILLIAMS Stephen
2022-05-03 15:47     ` Rich Felker
2022-05-03 20:01       ` Kent Mcleod [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+-ozWcJuYnQzrPv3=4eWYdaAGk7L_Dsu4iKKXnmPizZEjj4yA@mail.gmail.com' \
    --to=kent.mcleod72@gmail.com \
    --cc=musl@lists.openwall.com \
    --cc=stephen.williams@capgemini.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).