[PATCH 0/3] musl fixes

Thomas Haller thaller at redhat.com
Thu Aug 25 08:55:48 PDT 2016


On Thu, 2016-08-25 at 13:14 +0100, git at andred.net wrote:
> After having switched to musl as a c library, I noticed that
> there are two versions of strerror_r()
>   -> the POSIX version (implemented by musl and glibc)
>   -> an incompatible GLIBC version (implemented by glibc only)
> 
> strerror_r() in general has been deprecated:
>   http://austingroupbugs.net/view.php?id=655
> 
> libnl uses strerror_r(), which basically causes printf() of
> *int* with *string format* specifiers on anything but glibc
>   https://www.infradead.org/~tgr/libnl/
>   git://git.infradead.org/users/tgr/libnl.git
> 
> In order to fix the musl problem, the attached series of patches
> switches libnl over to using strerror_l() as recommended by
> POSIX.
> 
> These patches apply on top of
> commit b3dfa79
> (nl-addr: avoid read-out-of-bound in nl_addr_fill_sockaddr())
> 
> Cheers,
> Andre'

Thanks!

applied:

https://github.com/thom311/libnl/commit/e1ca7733ef3d1f8444e37d7bd8e5e98184df721b


Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20160825/3b9e4840/attachment.sig>


More information about the libnl mailing list