]> git.pld-linux.org Git - packages/binutils.git/blob - binutils-build-id.patch
- rel 4
[packages/binutils.git] / binutils-build-id.patch
1 --- bfd/compress.c.jj   2010-12-24 11:40:19.000000000 +0100
2 +++ bfd/compress.c      2011-01-28 15:40:19.869777126 +0100
3 @@ -174,7 +174,7 @@ bfd_get_full_section_contents (bfd *abfd
4      case COMPRESS_SECTION_NONE:
5        if (p == NULL)
6         {
7 -         p = (bfd_byte *) bfd_malloc (sz);
8 +         p = (bfd_byte *) bfd_zmalloc (sz);
9           if (p == NULL)
10             return FALSE;
11         }
12 @@ -214,7 +214,7 @@ bfd_get_full_section_contents (bfd *abfd
13        if (!ret)
14         goto fail_compressed;
15  
16 -      uncompressed_buffer = (bfd_byte *) bfd_malloc (uncompressed_size);
17 +      uncompressed_buffer = (bfd_byte *) bfd_zmalloc (uncompressed_size);
18        if (uncompressed_buffer == NULL)
19         goto fail_compressed;
20  
21
This page took 0.022058 seconds and 3 git commands to generate.