SHA256
3
0
forked from pool/binutils

Accepting request 928530 from home:marxin:branches:devel:gcc

- Update binutils-skip-rpaths.patch with contained a memory corruption
  (boo#1191473).

OBS-URL: https://build.opensuse.org/request/show/928530
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=375
This commit is contained in:
Richard Biener 2021-11-02 07:01:50 +00:00 committed by Git OBS Bridge
parent a362b336fe
commit d2d702311e
24 changed files with 142 additions and 2 deletions

View File

@ -56,7 +56,7 @@ index 2e27cf48a8..7162d0cf91 100644
asection *sinterp;
bfd *abfd;
struct bfd_link_hash_entry *ehdr_start = NULL;
@@ -1572,7 +1597,65 @@ ldelf_before_allocation (char *audit, char *depaudit,
@@ -1608,7 +1633,67 @@ ldelf_before_allocation (char *audit, char *depaudit,
by dynamic linking. */
rpath = command_line.rpath;
if (rpath == NULL)
@ -73,12 +73,14 @@ index 2e27cf48a8..7162d0cf91 100644
+ fseek (ldso, 0, SEEK_END);
+ endcur = ftell (ldso);
+ fseek (ldso, 0, SEEK_SET);
+ dirs = xmalloc (endcur);
+ dirs = xmalloc (endcur + 1);
+ if (fread (dirs, 1, endcur, ldso) != (size_t) endcur)
+ {
+ free (dirs);
+ dirs = NULL;
+ }
+ else
+ dirs[endcur] = '\0';
+ }
+ if (dirs)
+ {

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 1 09:34:38 UTC 2021 - Martin Liška <mliska@suse.cz>
- Update binutils-skip-rpaths.patch with contained a memory corruption
(boo#1191473).
-------------------------------------------------------------------
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 1 09:34:38 UTC 2021 - Martin Liška <mliska@suse.cz>
- Update binutils-skip-rpaths.patch with contained a memory corruption
(boo#1191473).
-------------------------------------------------------------------
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 1 09:34:38 UTC 2021 - Martin Liška <mliska@suse.cz>
- Update binutils-skip-rpaths.patch with contained a memory corruption
(boo#1191473).
-------------------------------------------------------------------
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 1 09:34:38 UTC 2021 - Martin Liška <mliska@suse.cz>
- Update binutils-skip-rpaths.patch with contained a memory corruption
(boo#1191473).
-------------------------------------------------------------------
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 1 09:34:38 UTC 2021 - Martin Liška <mliska@suse.cz>
- Update binutils-skip-rpaths.patch with contained a memory corruption
(boo#1191473).
-------------------------------------------------------------------
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 1 09:34:38 UTC 2021 - Martin Liška <mliska@suse.cz>
- Update binutils-skip-rpaths.patch with contained a memory corruption
(boo#1191473).
-------------------------------------------------------------------
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 1 09:34:38 UTC 2021 - Martin Liška <mliska@suse.cz>
- Update binutils-skip-rpaths.patch with contained a memory corruption
(boo#1191473).
-------------------------------------------------------------------
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 1 09:34:38 UTC 2021 - Martin Liška <mliska@suse.cz>
- Update binutils-skip-rpaths.patch with contained a memory corruption
(boo#1191473).
-------------------------------------------------------------------
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 1 09:34:38 UTC 2021 - Martin Liška <mliska@suse.cz>
- Update binutils-skip-rpaths.patch with contained a memory corruption
(boo#1191473).
-------------------------------------------------------------------
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 1 09:34:38 UTC 2021 - Martin Liška <mliska@suse.cz>
- Update binutils-skip-rpaths.patch with contained a memory corruption
(boo#1191473).
-------------------------------------------------------------------
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 1 09:34:38 UTC 2021 - Martin Liška <mliska@suse.cz>
- Update binutils-skip-rpaths.patch with contained a memory corruption
(boo#1191473).
-------------------------------------------------------------------
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 1 09:34:38 UTC 2021 - Martin Liška <mliska@suse.cz>
- Update binutils-skip-rpaths.patch with contained a memory corruption
(boo#1191473).
-------------------------------------------------------------------
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 1 09:34:38 UTC 2021 - Martin Liška <mliska@suse.cz>
- Update binutils-skip-rpaths.patch with contained a memory corruption
(boo#1191473).
-------------------------------------------------------------------
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 1 09:34:38 UTC 2021 - Martin Liška <mliska@suse.cz>
- Update binutils-skip-rpaths.patch with contained a memory corruption
(boo#1191473).
-------------------------------------------------------------------
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 1 09:34:38 UTC 2021 - Martin Liška <mliska@suse.cz>
- Update binutils-skip-rpaths.patch with contained a memory corruption
(boo#1191473).
-------------------------------------------------------------------
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 1 09:34:38 UTC 2021 - Martin Liška <mliska@suse.cz>
- Update binutils-skip-rpaths.patch with contained a memory corruption
(boo#1191473).
-------------------------------------------------------------------
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 1 09:34:38 UTC 2021 - Martin Liška <mliska@suse.cz>
- Update binutils-skip-rpaths.patch with contained a memory corruption
(boo#1191473).
-------------------------------------------------------------------
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 1 09:34:38 UTC 2021 - Martin Liška <mliska@suse.cz>
- Update binutils-skip-rpaths.patch with contained a memory corruption
(boo#1191473).
-------------------------------------------------------------------
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 1 09:34:38 UTC 2021 - Martin Liška <mliska@suse.cz>
- Update binutils-skip-rpaths.patch with contained a memory corruption
(boo#1191473).
-------------------------------------------------------------------
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 1 09:34:38 UTC 2021 - Martin Liška <mliska@suse.cz>
- Update binutils-skip-rpaths.patch with contained a memory corruption
(boo#1191473).
-------------------------------------------------------------------
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 1 09:34:38 UTC 2021 - Martin Liška <mliska@suse.cz>
- Update binutils-skip-rpaths.patch with contained a memory corruption
(boo#1191473).
-------------------------------------------------------------------
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 1 09:34:38 UTC 2021 - Martin Liška <mliska@suse.cz>
- Update binutils-skip-rpaths.patch with contained a memory corruption
(boo#1191473).
-------------------------------------------------------------------
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 1 09:34:38 UTC 2021 - Martin Liška <mliska@suse.cz>
- Update binutils-skip-rpaths.patch with contained a memory corruption
(boo#1191473).
-------------------------------------------------------------------
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>