diff options
author | Gert Doering | 2013-05-30 13:31:24 +0200 |
---|---|---|
committer | Gert Doering | 2013-05-30 20:52:14 +0200 |
commit | 02d027fd797a2ebfe846bd70d10cb4234cad957a (patch) | |
tree | e9ef5e3abb495ee5a713ae4f87400550525d89b6 /config-version.h.in | |
parent | eed9b8eec911a26a952f07ad18d4397c334ac089 (diff) | |
download | openvpn-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