4 ms·
FreeBSD did not require non null argv[0] until 9 days ago. https://github.com/freebsd/freebsd-src/commit/773fa8cd136a5775241c3e3a70f1997633ebeedf https://githu
by tedunangst 5y ago
FreeBSD did not require non null argv[0] until 9 days ago.
https://github.com/freebsd/freebsd-src/commit/773fa8cd136a5775241c3e3a70f1997633ebeedf https://github.com/freebsd/freebsd-src/commit/773fa8cd136a57...
- kevans91 5y agoOnly a number of years too late... It's worth noting that as far as changes in FreeBSD forbidding long-standing permitted behavior goes, this one was notably very uncontroversial.
- ComputerGuru 5y agoIt doesn't matter what was technically allowed; the very commit message you linked to says it was by contract disallowed for 31 years: > The manpage has contained the following verbiage on the matter for just > under 31 years: > > "At least one argument must be present in the array"
- tedunangst 5y agoIt certainly matters to the pkexec exploit.