9833 elfedit dumps core on incorrect file

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

citrus
illumos-gate
master
9833
ca09d1b...
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
igork
  1. Ship It!
  2. 
      
alp
  1. Ship It!
  2. 
      
mno-hime
  1. Ship It!
  2. 
      
jbk
  1. Ship It!
  2. 
      
citrus
citrus
citrus
Review request changed

Status: Closed (submitted)

Loading...