On Sun, Oct 10, 2021 at 9:11 PM Eli Schwartz <eschwa...@archlinux.org> wrote: > So I wonder, if bash already in this exact case attempts to open() the > file and read() it to look for a shebang, what's the harm in assuming > (or checking) that it exists in this patch?
i guess, you are right. i, on the other hand wonder, if exec could return ELIBBAD. regards, Dmitry