Open
Description
Describe the bug
The program produces a core dump (crashes).
Steps To Reproduce
patchelf --set-interpreter /path-to/ld-linux.so BinaryWithEmptyInterpreter.binary
produces a core dump.
The binary with empty interpreter that triggered the issue for me can be found in zipped form at https://ufile.io/y3pvil2z (38MB zipped, 136MB unzipped).
Expected behavior
Not a program crash. Maybe a no-op with an informative message.
patchelf --version
output
patchelf 0.14.5
Additional context