diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2024-04-16 17:15:51 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2024-04-16 17:15:51 +0000 |
commit | de09416351fa2fda06056876207d876697434f92 (patch) | |
tree | a3d760534fbc1527e5b89dab62f6bba70933c321 /bin/pax | |
parent | 35c4778446fc812105be4e14ad652e5a578c92d5 (diff) |
Prevent toctu issues in static file serving and auto index generation.
This fixes a problem in passing, reported by matthieu@ where httpd
would return 500 Internal Server Error when it could stat(2) but not
open(2) a file. The correct error code is 403.
testing matthieu
ok tobhe, tl;dr ok stsp
input & OK deraadt
Diffstat (limited to 'bin/pax')
0 files changed, 0 insertions, 0 deletions