Summary: | integer overflow in display_debug_ranges | ||
---|---|---|---|
Product: | binutils | Reporter: | skysider <luanjunchao> |
Component: | binutils | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jeremip11, nickc |
Priority: | P2 | ||
Version: | 2.31 | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: |
Description
skysider
2018-03-01 03:08:52 UTC
The master branch has been updated by Nick Clifton <nickc@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d11ae95ea3403559f052903ab053f43ad7821e37 commit d11ae95ea3403559f052903ab053f43ad7821e37 Author: Nick Clifton <nickc@redhat.com> Date: Thu Mar 1 16:14:08 2018 +0000 Prevent illegal memory accesses triggerd by intger overflow when parsing corrupt DWARF information on a 32-bit host. PR 22905 * dwarf.c (display_debug_ranges): Check that the offset loaded from the range_entry structure is valid. Hi Skysider, Thanks for reporting this bug. I have checked in a small patch to add a check for an integer overflow at the point you indicated. Cheers Nick |