[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/29006] alloc(): invalid size (unsorted) with -fstack-prote
From: |
nickc at redhat dot com |
Subject: |
[Bug binutils/29006] alloc(): invalid size (unsorted) with -fstack-protector -lssp |
Date: |
Wed, 11 May 2022 13:12:25 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=29006
Nick Clifton <nickc at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|FIXED |---
Ever confirmed|0 |1
Last reconfirmed| |2022-05-11
Status|RESOLVED |REOPENED
--- Comment #6 from Nick Clifton <nickc at redhat dot com> ---
(In reply to Roland Schwingel from comment #5)
Hi Roland,
> I maybe have the same or very similar problem. I already have applied the
> patch to my binutils 2.38 but it still has the same problem.
No - this is a completely different bug, and a nasty one too.
The issue is that the dll_symname string is used by multiple functions
in ld/pe-dll.c, but it is only valid whilst the pe_process_import_defs()
function is active. Unfortunately the code in ld/emultemp/pep.em calls
the function pe_find_data_imports() after pe_process_import_defs has
finished, and this function ends up calling down several layers to a
function that uses dll_symname.
I am not sure at this point, of the correct way to fix this problem.
Whilst I am thinking about it, do you have a test case that I can use
to reproduce the bug ?
Cheers
Nick
--
You are receiving this mail because:
You are on the CC list for the bug.