9833 elfedit dumps core on incorrect file

Review Request #1272 - Created Nov. 6, 2018 and submitted

Information
Andy Fiddaman
illumos-gate
master
9833
ca09d1b...
Reviewers
general
9833 elfedit dumps core on incorrect file

Before:

build:illumos:elfedit% elfedit -re dyn:rpath libunbound.so
     index  tag                value
      [10]  RUNPATH           0x8882              /opt/libev/lib
      [11]  RPATH             0x8882              /opt/libev/lib
build:illumos:elfedit% elfedit -re dyn:rpath openbios-ppc
zsh: segmentation fault (core dumped)  elfedit -re dyn:rpath openbios-ppc

and after:

build:illumos:elfedit% /data/omnios-build/omniosorg/bloody/illumos/proto/root_i386-nd/usr/bin/elfedit -re dyn:runpath libunbound.so
     index  tag                value
      [10]  RUNPATH           0x8882              /opt/libev/lib
      [11]  RPATH             0x8882              /opt/libev/lib
build:illumos:elfedit% /data/omnios-build/omniosorg/bloody/illumos/proto/root_i386-nd/usr/bin/elfedit -re dyn:runpath openbios-ppc
elfedit: ELF object does not have a dynamic section
Igor Kozhukhov
Alexander Pyhalov
Michal Nowak
Jason King
Andy Fiddaman
Andy Fiddaman
Andy Fiddaman
Review request changed

Status: Closed (submitted)

Loading...