Control: severity -1 important
Control: tag -1 upstream fixed-upstream patch

On Wednesday, 26 January 2022 21:12:35 CET Maximilian Engelhardt wrote:
> Control: found -1 2.37.90.20220123-2
> Control: affects -1 src:xen

User 'ChmEarl' on IRC noted the following commit
https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=07c9f243b3a12cc6749bc02ee7b165859979348b

Title: PR28826 x86_64 ld segfaults building xen

It would be *very* welcome if the following patch is included ASAP,
as currently (almost) all Xen builds fail.


And the patch from that commit is the following:

diff --git a/bfd/coffgen.c b/bfd/coffgen.c
index 
293fce2baf34952efd63479a4eb28f17ad6d1f69..bec1a424831131a4559858745d8dbf5969eaee64
 
100644 (file)
--- a/bfd/coffgen.c
+++ b/bfd/coffgen.c
@@ -1092,6 +1092,7 @@ coff_write_alien_symbol (bfd *abfd,
        memset (isym, 0, sizeof (*isym));
       return true;
     }
+  memset (dummy, 0, sizeof dummy);
   native = dummy;
   native->is_sym = true;
   native[1].is_sym = false;

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to