diff options
Diffstat (limited to 'meta/recipes-core/glibc/glibc/0002-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch')
-rw-r--r-- | meta/recipes-core/glibc/glibc/0002-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-core/glibc/glibc/0002-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch b/meta/recipes-core/glibc/glibc/0002-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch index b568fc6bdc..473b89449d 100644 --- a/meta/recipes-core/glibc/glibc/0002-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch +++ b/meta/recipes-core/glibc/glibc/0002-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 086b65d9aacffc47fcd8df68818a476a5ae76fa1 Mon Sep 17 00:00:00 2001 | 1 | From 179dc5f1e13c3ff96d5f21a2a78c089cf120ceb8 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Wed, 18 Mar 2015 01:50:00 +0000 | 3 | Date: Wed, 18 Mar 2015 01:50:00 +0000 |
4 | Subject: [PATCH 02/27] nativesdk-glibc: Fix buffer overrun with a relocated | 4 | Subject: [PATCH 02/24] nativesdk-glibc: Fix buffer overrun with a relocated |
5 | SDK | 5 | SDK |
6 | 6 | ||
7 | When ld-linux-*.so.2 is relocated to a path that is longer than the | 7 | When ld-linux-*.so.2 is relocated to a path that is longer than the |
@@ -22,10 +22,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
22 | 1 file changed, 12 insertions(+) | 22 | 1 file changed, 12 insertions(+) |
23 | 23 | ||
24 | diff --git a/elf/dl-load.c b/elf/dl-load.c | 24 | diff --git a/elf/dl-load.c b/elf/dl-load.c |
25 | index f45085a..f1eb5ed 100644 | 25 | index ee3d1e6..c4a42e9 100644 |
26 | --- a/elf/dl-load.c | 26 | --- a/elf/dl-load.c |
27 | +++ b/elf/dl-load.c | 27 | +++ b/elf/dl-load.c |
28 | @@ -1765,7 +1765,19 @@ open_path (const char *name, size_t namelen, int mode, | 28 | @@ -1793,7 +1793,19 @@ open_path (const char *name, size_t namelen, int mode, |
29 | given on the command line when rtld is run directly. */ | 29 | given on the command line when rtld is run directly. */ |
30 | return -1; | 30 | return -1; |
31 | 31 | ||
@@ -46,5 +46,5 @@ index f45085a..f1eb5ed 100644 | |||
46 | { | 46 | { |
47 | struct r_search_path_elem *this_dir = *dirs; | 47 | struct r_search_path_elem *this_dir = *dirs; |
48 | -- | 48 | -- |
49 | 2.1.4 | 49 | 2.6.4 |
50 | 50 | ||