]> git.pld-linux.org Git - packages/binutils.git/blob - binutils-CVE-2019-9077.patch
- up to 2.32 (pax disabled - we have no grsec kernels anymore; info patch disabled...
[packages/binutils.git] / binutils-CVE-2019-9077.patch
1 --- binutils.orig/binutils/readelf.c    2019-02-26 11:17:12.414525772 +0000
2 +++ binutils-2.31.1/binutils/readelf.c  2019-02-26 12:11:40.642876742 +0000
3 @@ -16009,6 +16009,13 @@ process_mips_specific (Filedata * fileda
4           return FALSE;
5         }
6  
7 +      /* PR 24243  */
8 +      if (sect->sh_size < sizeof (* eopt))
9 +       {
10 +         error (_("The MIPS options section is too small.\n"));
11 +         return FALSE;
12 +       }
13 +
14        eopt = (Elf_External_Options *) get_data (NULL, filedata, options_offset, 1,
15                                                  sect->sh_size, _("options"));
16        if (eopt)
This page took 0.247145 seconds and 3 git commands to generate.