Module Name: src Committed By: mrg Date: Wed Nov 21 09:37:02 UTC 2018
Modified Files: src/libexec/httpd: CHANGES auth-bozo.c bozohttpd.c bozohttpd.h src/libexec/httpd/testsuite: Makefile html_cmp test-bigfile test-simple Log Message: - move special files defines into bozohttpd.h, so we can ... - consolidate all the special file checks into bozo_check_special_files() so that all builds check the same list of special files, regardless of build options. - convert "(void)bozo_http_error(...); return -1;" into plain "return bozo_http_error(...);" - fix the call to bozo_check_special_files() to be used on all input types. part of the fixes for failure to reject access to /.htpasswd as reported by JP on tech-security. - use warn_unused_result attribute on bozo_check_special_files(), and fix the failures to return failure. second part of the htpasswd access fix. - update testsuite to use a fixed fake hostname. call this bozohttpd 20181121. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/libexec/httpd/CHANGES cvs rdiff -u -r1.20 -r1.21 src/libexec/httpd/auth-bozo.c cvs rdiff -u -r1.90 -r1.91 src/libexec/httpd/bozohttpd.c cvs rdiff -u -r1.54 -r1.55 src/libexec/httpd/bozohttpd.h cvs rdiff -u -r1.10 -r1.11 src/libexec/httpd/testsuite/Makefile cvs rdiff -u -r1.5 -r1.6 src/libexec/httpd/testsuite/html_cmp cvs rdiff -u -r1.4 -r1.5 src/libexec/httpd/testsuite/test-bigfile \ src/libexec/httpd/testsuite/test-simple Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.