Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 20 Jan 2021 18:45:23 +0300
From: Yuriy Chernyshov <>
Subject: Re: Typo in atexit.c (?)

As I see, this turned out to be a combination of a local patch applied to

The patch introduces cleanup of additionally allocated fl chunks allocated
by calloc calls in __cxa_atexit.
I think I can upstream the patch upon a brief adaptation to match the

What do you think?

NB: I am not a subscriber of this list and would like to be cc'd with any
Thanks in advance.


On Wed, 20 Jan 2021 at 16:54, Yuriy Chernyshov <>

> Hello everyone,
> 34952fe5de44a833370cbe87b63fb8eec61466d7 introduced safeguard for using of
> undefined memory (de)allocation functions:
> However, in src/exit/atexit.c either this commit or the code is buggy, as
> it has:
> #define free undef
> ... free(something)
> This results in linkage error of every program being linked to musl.
> Could you, please, advice me on how to fix this?
> Regards,
> Yuriy.

Content of type "text/html" skipped

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.