summaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorGert Doering <gert@greenie.muc.de>2010-10-21 10:35:29 +0200
committerDavid Sommerseth <dazo@users.sourceforge.net>2010-10-21 20:56:48 +0200
commit59afc4a5f72e22b850cfa2845385172623a38e77 (patch)
tree1c86fd147e6dee2454952bcea21ef5f9e269c2c9 /options.c
parentd6b783a8ec505c8e158bd0304c5e195cff5bb8c3 (diff)
downloadopenvpn-59afc4a5f72e22b850cfa2845385172623a38e77.tar.gz
openvpn-59afc4a5f72e22b850cfa2845385172623a38e77.tar.xz
openvpn-59afc4a5f72e22b850cfa2845385172623a38e77.zip
Fix problem with special case route targets ('remote_host')
The init_route() function will leave &netlist untouched for get_special_addr() routes ("remote_host" being one of them). netlist is on stack, contains random garbage, and netlist.len will not be 0 - thus, random stack data is copied from netlist.data[] until the route_list is full. This issue has been reported several places lately: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=600166 http://thread.gmane.org/gmane.network.openvpn.devel/4083 https://forums.openvpn.net/viewtopic.php?f=1&t=7201&p=8168 Signed-off-by: Gert Doering <gert@greenie.muc.de> Acked-by: David Sommerseth <dazo@users.sourceforge.net> Acked-by: James Yonan <james@openvpn.net> Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Diffstat (limited to 'options.c')
0 files changed, 0 insertions, 0 deletions