mailing list of musl libc
 help / color / mirror / code / Atom feed
* [musl] Typo in atexit.c (?)
@ 2021-01-20 13:54 Yuriy Chernyshov
  2021-01-20 15:45 ` [musl] " Yuriy Chernyshov
  0 siblings, 1 reply; 3+ messages in thread
From: Yuriy Chernyshov @ 2021-01-20 13:54 UTC (permalink / raw)
  To: musl

[-- Attachment #1: Type: text/plain, Size: 483 bytes --]

 Hello everyone,
34952fe5de44a833370cbe87b63fb8eec61466d7 introduced safeguard for using of
undefined memory (de)allocation functions:
https://git.musl-libc.org/cgit/musl/commit/?id=34952fe5de44a833370cbe87b63fb8eec61466d7

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.

[-- Attachment #2: Type: text/html, Size: 778 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-01-20 17:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-20 13:54 [musl] Typo in atexit.c (?) Yuriy Chernyshov
2021-01-20 15:45 ` [musl] " Yuriy Chernyshov
2021-01-20 17:51   ` Rich Felker

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).