Open chrisburr opened 4 months ago
I've seen a segfault in a larger application which I've managed to simplify down to this reproducer:
$ LD_PRELOAD=$PWD/target/release/libbytehound.so ldd /usr/bin/bash /usr/bin/ldd: line 98: 444613 Segmentation fault (core dumped) ( output=$(eval $add_env '"$@"' 2>&1; rc=$?; printf 'x'; exit $rc); rc=$?; printf '%s' "${output%x}"; return $rc ) fish: Job 1, 'LD_PRELOAD=$PWD/target/release/…' terminated by signal SIGSEGV (Address boundary error)
The use of /usr/bin/bash doesn't matter, passing anything here has a similar effect.
/usr/bin/bash
I've seen a segfault in a larger application which I've managed to simplify down to this reproducer:
The use of
/usr/bin/bash
doesn't matter, passing anything here has a similar effect.