diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-10-08 19:45:00 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2016-10-25 16:32:50 +0200 |
commit | 577c20c5f780a241d526b16345cf42ea81b675ab (patch) | |
tree | 1c5601c22ebdfc0147474db064a3d7d0a512c682 /plugin.h | |
parent | c0b5444b533e7177394ceaa247de4495307f72d6 (diff) |
cgi: allow conf.cgi_docroot_path to be NULL
The check_cgi_path() function would segfault if we ever support running
uhttpd without any CGI prefix.
Add a check to prevent running uh_patch_match() when the prefix is unset.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'plugin.h')
0 files changed, 0 insertions, 0 deletions