https://sourceware.org/bugzilla/show_bug.cgi?id=31002
Bug ID: 31002
Summary: objcopy segfault in coff_apply_checksum
Product: binutils
Version: 2.41
Status: NEW
Severity: normal
Priority: P2
Component: binutils
https://sourceware.org/bugzilla/show_bug.cgi?id=31002
--- Comment #1 from Sam James ---
Valgrind says:
```
==627627== Using Valgrind-3.22.0.RC2 and LibVEX; rerun with -h for copyright
info
==627627== Command: objcopy --add-section .osrel=os-release
--change-section-vma .osrel=0x14dfb4000 --add-se
https://sourceware.org/bugzilla/show_bug.cgi?id=31002
--- Comment #2 from Sam James ---
Reproducer:
http://dev.gentoo.org/~sam/bugs/sourceware/31002/binutils-objcopy-crash-PR31002.tar.xz
Command: objcopy --add-section .osrel=os-release --change-section-vma
.osrel=0x14dfb4000 --add-section .cmdlin
https://sourceware.org/bugzilla/show_bug.cgi?id=31002
--- Comment #3 from Sam James ---
Reproducer:
https://dev.gentoo.org/~sam/bugs/sourceware/31002/binutils-objcopy-crash-PR31002.tar.xz
Command: objcopy --add-section .osrel=os-release --change-section-vma
.osrel=0x14dfb4000 --add-section .cmdli
https://sourceware.org/bugzilla/show_bug.cgi?id=31002
Sam James changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---