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:
parent
a362b336fe
commit
d2d702311e
@ -56,7 +56,7 @@ index 2e27cf48a8..7162d0cf91 100644
|
|||||||
asection *sinterp;
|
asection *sinterp;
|
||||||
bfd *abfd;
|
bfd *abfd;
|
||||||
struct bfd_link_hash_entry *ehdr_start = NULL;
|
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. */
|
by dynamic linking. */
|
||||||
rpath = command_line.rpath;
|
rpath = command_line.rpath;
|
||||||
if (rpath == NULL)
|
if (rpath == NULL)
|
||||||
@ -73,12 +73,14 @@ index 2e27cf48a8..7162d0cf91 100644
|
|||||||
+ fseek (ldso, 0, SEEK_END);
|
+ fseek (ldso, 0, SEEK_END);
|
||||||
+ endcur = ftell (ldso);
|
+ endcur = ftell (ldso);
|
||||||
+ fseek (ldso, 0, SEEK_SET);
|
+ fseek (ldso, 0, SEEK_SET);
|
||||||
+ dirs = xmalloc (endcur);
|
+ dirs = xmalloc (endcur + 1);
|
||||||
+ if (fread (dirs, 1, endcur, ldso) != (size_t) endcur)
|
+ if (fread (dirs, 1, endcur, ldso) != (size_t) endcur)
|
||||||
+ {
|
+ {
|
||||||
+ free (dirs);
|
+ free (dirs);
|
||||||
+ dirs = NULL;
|
+ dirs = NULL;
|
||||||
+ }
|
+ }
|
||||||
|
+ else
|
||||||
|
+ dirs[endcur] = '\0';
|
||||||
+ }
|
+ }
|
||||||
+ if (dirs)
|
+ if (dirs)
|
||||||
+ {
|
+ {
|
||||||
|
@ -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>
|
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>
|
||||||
|
|
||||||
|
@ -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>
|
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>
|
||||||
|
|
||||||
|
@ -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>
|
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>
|
||||||
|
|
||||||
|
@ -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>
|
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>
|
||||||
|
|
||||||
|
@ -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>
|
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>
|
||||||
|
|
||||||
|
@ -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>
|
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>
|
||||||
|
|
||||||
|
@ -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>
|
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>
|
||||||
|
|
||||||
|
@ -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>
|
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>
|
||||||
|
|
||||||
|
@ -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>
|
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>
|
||||||
|
|
||||||
|
@ -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>
|
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>
|
||||||
|
|
||||||
|
@ -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>
|
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>
|
||||||
|
|
||||||
|
@ -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>
|
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>
|
||||||
|
|
||||||
|
@ -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>
|
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>
|
||||||
|
|
||||||
|
@ -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>
|
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>
|
||||||
|
|
||||||
|
@ -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>
|
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>
|
||||||
|
|
||||||
|
@ -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>
|
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>
|
||||||
|
|
||||||
|
@ -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>
|
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>
|
||||||
|
|
||||||
|
@ -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>
|
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>
|
||||||
|
|
||||||
|
@ -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>
|
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>
|
||||||
|
|
||||||
|
@ -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>
|
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>
|
||||||
|
|
||||||
|
@ -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>
|
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>
|
||||||
|
|
||||||
|
@ -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>
|
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>
|
||||||
|
|
||||||
|
@ -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>
|
Fri Oct 8 14:11:44 UTC 2021 - Michael Matz <matz@suse.com>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user