]> git.ipfire.org Git - thirdparty/openvpn.git/commit
For all accesses to "struct route_list * rl", check first that rl is non-NULL
authorGert Doering <gert@greenie.muc.de>
Tue, 16 Aug 2011 18:05:13 +0000 (20:05 +0200)
committerDavid Sommerseth <davids@redhat.com>
Wed, 24 Aug 2011 12:24:56 +0000 (14:24 +0200)
commitf0257abb14423de5ee24444360fbb474555ef3cf
tree8462fbd8a4f2126ecb3507a9f250466c469b44bd
parentca18a638aa7cf316611f893127ba44131e57083c
For all accesses to "struct route_list * rl", check first that rl is non-NULL

In IPv4-only mode, this cannot happen, but if IPv6 is enabled
and a servers pushes IPv6 routes and no IPv4 routes -> crash boom.

Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-By: David Sommerseth <davids@redhat.com>
Signed-off-by: David Sommerseth <davids@redhat.com>
route.c
route.h