diff options
Diffstat (limited to 'meta/recipes-core/musl/musl/out_of_bounds_read.patch')
-rw-r--r-- | meta/recipes-core/musl/musl/out_of_bounds_read.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/meta/recipes-core/musl/musl/out_of_bounds_read.patch b/meta/recipes-core/musl/musl/out_of_bounds_read.patch deleted file mode 100644 index a681cc284e..0000000000 --- a/meta/recipes-core/musl/musl/out_of_bounds_read.patch +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | Fix out of bounds read | ||
2 | |||
3 | self->dtv hasn't been extended yet | ||
4 | |||
5 | Upstream-Status: Pending | ||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
7 | |||
8 | diff --git a/ldso/dynlink.c b/ldso/dynlink.c | ||
9 | index e2c3259f..b23ea0df 100644 | ||
10 | --- a/ldso/dynlink.c | ||
11 | +++ b/ldso/dynlink.c | ||
12 | @@ -1374,7 +1376,7 @@ static void install_new_tls(void) | ||
13 | } | ||
14 | /* Install new dtls into the enlarged, uninstalled dtv copies. */ | ||
15 | for (p=head; ; p=p->next) { | ||
16 | - if (!p->tls_id || self->dtv[p->tls_id]) continue; | ||
17 | + if (p->tls_id <= old_cnt) continue; | ||
18 | unsigned char *mem = p->new_tls; | ||
19 | for (j=0; j<i; j++) { | ||
20 | unsigned char *new = mem; | ||