Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Date: Mon, 1 May 2023 23:47:32 -0400
From: Rich Felker <>
Subject: musl 1.2.4 released

This release adds TCP fallback to the DNS stub resolver, fixing the
longstanding inability to query large DNS records and incompatibility
with recursive nameservers that don't give partial results in
truncated UDP responses. It also makes a number of other bug fixes and
improvements in DNS and related functionality, including making both
the modern and legacy API results differentiate between NODATA and
NxDomain conditions so that the caller can handle them differently.

On the API level, the legacy "LFS64" ("large file support")
interfaces, which were provided by macros remapping them to their
standard names (#define stat64 stat and similar) have been deprecated
and are no longer provided under the _GNU_SOURCE feature profile, only
under explicit _LARGEFILE64_SOURCE. The latter will also be removed in
a future version. Builds broken by this change can be fixed short-term
by adding -D_LARGEFILE64_SOURCE to CFLAGS, but should be fixed to use
the standard interfaces.

The dynamic linker (and static-PIE entry point code) adds support for
the new compact "RELR" format for relative relocations which recent
linkers can generate. Use of this linker feature for dynamic-linked
programs will make them depend on having musl 1.2.4 or later available
at runtime. Static-linkied PIE binaries using it, as always, are
self-contained and have no such dependency.

A large number of bugs have been fixed, including many in the wide
printf family of functions, incorrect ordering of digits vs non-digits
in strverscmp, and several rare race-condition corner cases in thread
synchronization logic at thread exit time, in multi-threaded fork,
pthread_detach, and POSIX semaphores.

Special thanks goes out to musl's release sponsors for supporting the
project financially via Patreon and GitHub Sponsors at the $32/month
level or higher:

* Andrew Kelley / ziglang
* Danny McClanahan
* enduser
* Eric Pruitt
* Evan Phoenix
* Greg Krimer
* Hurricane Labs
* Justin Cormack
* Kentik
* Laurent Bercot
* Michael Sartain
* Mirza Prasovic
* Moinak Bhattacharyya
* Nabu Casa
* Nathan Hoad
* Neal Gompa
* Stackhero
* Tyler James Frederick

For information on becoming a sponsor, visit one of:

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.