Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 13 Feb 2020 11:02:08 +0100
From: Micha Nelissen <>
To:, Rich Felker <>
Subject: Re: execvp() behaviour with unrecognized file header

On 12-02-2020 15:27, Rich Felker wrote:
>> Since this is non-conformant to POSIX, Adélie integrated quinq's patch:
> Note that this patch has multiple problems which is why it's not

For execlp, what about 'return execvp("/bin/sh", &file);' in case of
ENOEXEC? Too ugly? Assumes right-to-left push order with top-down stack
(or left-to-right in case of bottom-up stack).

Doesn't work for execvp itself though.

Gr, Micha

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.