Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <DBV9XN7II904.21B08CCFB2K5P@posteo.net>
Date: Wed, 06 Aug 2025 10:31:18 +0000
From: "Sertonix" <sertonix@...teo.net>
To: <musl@...ts.openwall.com>
Subject: Always false #ifdef using undefined function get_page_size()

Hi,

I noticed that following code inside of src/malloc/mallocng/malloc.c:
#ifndef PAGESIZE
		ctx.pagesize = get_page_size();
#endif

But the function get_page_size() doesn't exist and has never existed as
far as I can tell. The file includes meta.h which includes glue.h which
ensures that PAGESIZE is always define so as far as I can tell this
code has never been compiled.

Now my question is if that code should be used or if that code (and also
ctx.pagesize from the struct) should be removed?

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.