]> git.pld-linux.org Git - packages/binutils.git/blob - binutils-build-id.patch
up to 2.42
[packages/binutils.git] / binutils-build-id.patch
1 --- binutils-2.28/bfd/compress.c.orig   2017-03-02 09:23:53.000000000 +0100
2 +++ binutils-2.28/bfd/compress.c        2017-06-06 05:39:38.755628152 +0200
3 @@ -290,7 +290,7 @@ bfd_get_full_section_contents (bfd *abfd
4         goto fail_compressed;
5  
6        if (p == NULL)
7 -       p = (bfd_byte *) bfd_malloc (sz);
8 +       p = (bfd_byte *) bfd_zmalloc (sz);
9        if (p == NULL)
10         goto fail_compressed;
11  
12 @@ -319,7 +319,7 @@ bfd_get_full_section_contents (bfd *abfd
13         return FALSE;
14        if (p == NULL)
15         {
16 -         p = (bfd_byte *) bfd_malloc (sz);
17 +         p = (bfd_byte *) bfd_zmalloc (sz);
18           if (p == NULL)
19             return FALSE;
20           *ptr = p;
This page took 0.081365 seconds and 3 git commands to generate.