summaryrefslogtreecommitdiffstats
path: root/tree.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-07-19 13:15:11 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-07-19 13:15:11 +0000
commit28d7e7b9d246e8eb2a7500e0f10b1c56e146c901 (patch)
tree9bbf2aaa4a1f727690da47a64c04186afaa3ec49 /tree.c
parenta96928e9475061fac88468b762b3335bb8af06f2 (diff)
downloadmandoc-28d7e7b9d246e8eb2a7500e0f10b1c56e146c901.tar.gz
Security fix:
Validate the manpath up front and report a Bad Request if it is not listed in manpath.conf, such that clients can't probe which directories exist on the server. In case of configuration errors, consistently report Internal Server Error without disclosing any further information. Partially based on a patch from Sebastien Marie <semarie-openbsd at latrappe dot fr>, but avoiding a couple of issues with that patch and approaching the issue in a somewhat more rigorous way.
Diffstat (limited to 'tree.c')
0 files changed, 0 insertions, 0 deletions