diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-07-26 23:08:29 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-07-26 23:08:29 +0000 |
commit | b4073a760205f6c341425fe5dd28313e3a12f567 (patch) | |
tree | ed22c69f356d8704f19318ef30124679f5e1f4f8 /socket.h | |
parent | Fixed compiler warnings in Windows build (MinGW). (diff) | |
download | openvpn-b4073a760205f6c341425fe5dd28313e3a12f567.tar.xz |
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 'socket.h')
-rw-r--r-- | socket.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -396,6 +396,7 @@ void link_socket_update_buffer_sizes (struct link_socket *ls, int rcvbuf, int sn #define OIA_IP 1 #define OIA_ERROR -1 int openvpn_inet_aton (const char *dotted_quad, struct in_addr *addr); +bool ip_addr_dotted_quad_safe (const char *dotted_quad); socket_descriptor_t create_socket_tcp (void); |