Skip to content
  • Nick Clifton's avatar
    7296a62a
    readelf: fix out of range subtraction, seg fault from a NULL pointer and... · 7296a62a
    Nick Clifton authored
    readelf: fix out of range subtraction, seg fault from a NULL pointer and memory exhaustion, all from parsing corrupt binaries.
    
    	PR binutils/21379
    	* readelf.c (process_dynamic_section): Detect over large section
    	offsets in the DT_SYMTAB entry.
    
    	PR binutils/21345
    	* readelf.c (process_mips_specific): Catch an unfeasible memory
    	allocation before it happens and print a suitable error message.
    7296a62a
    readelf: fix out of range subtraction, seg fault from a NULL pointer and...
    Nick Clifton authored
    readelf: fix out of range subtraction, seg fault from a NULL pointer and memory exhaustion, all from parsing corrupt binaries.
    
    	PR binutils/21379
    	* readelf.c (process_dynamic_section): Detect over large section
    	offsets in the DT_SYMTAB entry.
    
    	PR binutils/21345
    	* readelf.c (process_mips_specific): Catch an unfeasible memory
    	allocation before it happens and print a suitable error message.
Loading