aboutsummaryrefslogtreecommitdiff
path: root/config-version.h.in
diff options
context:
space:
mode:
authorGert Doering2013-05-30 13:31:24 +0200
committerGert Doering2013-05-30 20:52:14 +0200
commit02d027fd797a2ebfe846bd70d10cb4234cad957a (patch)
treee9ef5e3abb495ee5a713ae4f87400550525d89b6 /config-version.h.in
parenteed9b8eec911a26a952f07ad18d4397c334ac089 (diff)
downloadopenvpn-02d027fd797a2ebfe846bd70d10cb4234cad957a.zip
openvpn-02d027fd797a2ebfe846bd70d10cb4234cad957a.tar.gz
Fix problem with UDP tunneling due to mishandled pktinfo structures.
In link_socket_write_udp_posix_sendmsg(), pktinfo structures for ipv4 and ipv6 are going out of scope before actually calling sendmsg(), so depending on compiler optimization, garbage is passed to sendmsg() - fix by using "union openvpn_pktinfo" and having that in scope all the time. Problem reported and patch provided by "danta" in trac#297 Signed-off-by: Gert Doering <gert@greenie.muc.de> Acked-by: Gert Doering <gert@greenie.muc.de> Acked-by: Arne Schwabe <arne@rfc2549.org> URL: https://community.openvpn.net/openvpn/ticket/297 Message-ID: <20130530184427.GP20843@greenie.muc.de> URL: http://article.gmane.org/gmane.network.openvpn.devel/7629 (cherry picked from commit 8c431f960357d776cfd0961192214ad1b0942bfb)
Diffstat (limited to 'config-version.h.in')
0 files changed, 0 insertions, 0 deletions