Opened 11 years ago
Closed 11 years ago
#258 closed Bug / Defect (fixed)
segfault after extracting dhcp gateway
Reported by: | mbakhoff | Owned by: | Gert Döring |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Networking | Version: | OpenVPN 2.3.0 (Community Ed) |
Severity: | Not set (select this one, unless your'e a OpenVPN developer) | Keywords: | |
Cc: |
Description
I get a segfault after "Extracted DHCP router address" when connecting to remote server in TAP mode. This is because of a nullpointer dereference in route_list_add_vpn_gateway.
I'm running gentoo ~amd64, openvpn-2.3.0 and will gladly answer any questions. Attaching logs and stacktrace.
Attachments (3)
Change History (9)
Changed 11 years ago by
comment:1 Changed 11 years ago by
To be precise - the connection establishment works fine. The crash occurs after I run "dhcpcd tap0".
comment:2 follow-up: 3 Changed 11 years ago by
so if I understand this right, you use OpenVPN to set up a tap connection, which is not assigned IP addresses from the server, and then you run "dhcpcd tap0" on the client, leading the OpenVPN client to crash?
comment:3 Changed 11 years ago by
Correct.
Replying to cron2:
so if I understand this right, you use OpenVPN to set up a tap connection, which is not assigned IP addresses from the server, and then you run "dhcpcd tap0" on the client, leading the OpenVPN client to crash?
comment:4 Changed 11 years ago by
Owner: | set to Gert Döring |
---|---|
Status: | new → accepted |
comment:5 Changed 11 years ago by
tested the same setup with trac-281-fix.patch applied. did not crash and everything seems to be working :) thanks!
comment:6 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Thanks for testing.
I have applied the patch to the git tree today (master and release/2.3 branch), and we'll release 2.3.2 "real soon" with this fix.
stacktrace to route_list_add_vpn_gateway