summaryrefslogtreecommitdiffstats
path: root/route.h
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-07-26 23:08:29 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-07-26 23:08:29 +0000
commitb4073a760205f6c341425fe5dd28313e3a12f567 (patch)
treeed22c69f356d8704f19318ef30124679f5e1f4f8 /route.h
parentc373382c1edabd134c938e3c272ee40b5ee590b6 (diff)
downloadopenvpn-b4073a760205f6c341425fe5dd28313e3a12f567.tar.gz
openvpn-b4073a760205f6c341425fe5dd28313e3a12f567.tar.xz
openvpn-b4073a760205f6c341425fe5dd28313e3a12f567.zip
Perform additional input validation on options pulled
by client from server. Fixes --iproute vulnerability. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3126 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'route.h')
-rw-r--r--route.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/route.h b/route.h
index e57db75..674d200 100644
--- a/route.h
+++ b/route.h
@@ -150,6 +150,8 @@ void delete_routes (struct route_list *rl,
void setenv_routes (struct env_set *es, const struct route_list *rl);
+bool is_special_addr (const char *addr_str);
+
#if AUTO_USERID
bool get_default_gateway_mac_addr (unsigned char *macaddr);
#endif