summaryrefslogtreecommitdiffstats
path: root/sample/sample-plugins
diff options
context:
space:
mode:
authorGert Doering <gert@greenie.muc.de>2014-03-30 14:09:36 +0200
committerGert Doering <gert@greenie.muc.de>2014-03-30 15:35:29 +0200
commit1ba6f427d3ea361b9859cff9cbf4d1887240ed6f (patch)
tree8c3fceb3c78c58da959bcae8df1d39e23d13d8b3 /sample/sample-plugins
parentf1da227574c6b2e3a75a38ac6f9a196be0ad3071 (diff)
Fix crash when using --inetd.
Change "local" argument to socket_do_listen() to avoid calling "local->ai_addr" in the caller for the "do_listen == FALSE" case, in which case it could be NULL. Also, ensure "ai" is always initialized in socket_listen_accept() for the "!remote_dynamic" case - otherwise it will sometimes(!) crash in addrlist_match() later on. Get rid of spurious operator precedence warning concerning GETADDR_CACHE_MASK. Signed-off-by: Gert Doering <gert@greenie.muc.de> Acked-by: Arne Schwabe <arne@rfc2549.org> Message-Id: <1396181376-32022-1-git-send-email-gert@greenie.muc.de> URL: http://article.gmane.org/gmane.network.openvpn.devel/8412
Diffstat (limited to 'sample/sample-plugins')
0 files changed, 0 insertions, 0 deletions