+++ /dev/null
-Fix out of bounds read
-
-self->dtv hasn't been extended yet
-
-Upstream-Status: Pending
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
-diff --git a/ldso/dynlink.c b/ldso/dynlink.c
-index e2c3259f..b23ea0df 100644
---- a/ldso/dynlink.c
-+++ b/ldso/dynlink.c
-@@ -1374,7 +1376,7 @@ static void install_new_tls(void)
- }
- /* Install new dtls into the enlarged, uninstalled dtv copies. */
- for (p=head; ; p=p->next) {
-- if (!p->tls_id || self->dtv[p->tls_id]) continue;
-+ if (p->tls_id <= old_cnt) continue;
- unsigned char *mem = p->new_tls;
- for (j=0; j<i; j++) {
- unsigned char *new = mem;
require musl.inc
inherit linuxloader
-SRCREV = "6516282d2adfad2c7e66d854cde3357120c75dbd"
+SRCREV = "43e7efb46555f13a556d92944ac05c19b8929b60"
BASEVER = "1.1.21"
SRC_URI = "git://git.musl-libc.org/musl \
file://0001-Make-dynamic-linker-a-relative-symlink-to-libc.patch \
file://0002-ldso-Use-syslibdir-and-libdir-as-default-pathes-to-l.patch \
- file://out_of_bounds_read.patch \
"
S = "${WORKDIR}/git"