Fix a potential integer overflow when adding together section sizes for the AVR port...
authorNick Clifton <nickc@redhat.com>
Wed, 24 Feb 2021 14:14:45 +0000 (14:14 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 24 Feb 2021 14:14:45 +0000 (14:14 +0000)
commit9d3fcfe06896afd0ef1df4b22355d3822ca89e08
treed42f62dbc16be9264996689809bb4cfdc08c9b0a
parentc74147bbe00a74b95365fb7fd6631924b1a3d11d
Fix a potential integer overflow when adding together section sizes for the AVR port of objdump.

PR 27285
* od-elf32_avr.c (elf32_avr_get_memory_usage): Check for overflows
when adding together the section sizes.
binutils/ChangeLog
binutils/od-elf32_avr.c