[prev in list] [next in list] [prev in thread] [next in thread]
List: strongswan-announce
Subject: Re: [strongSwan-dev] set_address function in tun_device.c file is throwing buffer overflow error
From: Tobias Brunner <tobias () strongswan ! org>
Date: 2015-03-09 9:38:02
Message-ID: 54FD69FA.7030806 () strongswan ! org
[Download RAW message or body]
> set_address API in the tun_device.c is throwing buffer overflow error
> when assigning ipv6 ip address to the virtual interface.
>
> Kindly help provide a fix for this issue.
tun_device_t does currently not provide support for IPv6 (the ioctls for
IPv6 are quire different, and different for each platform - I did some
experiments a year ago in the tun-device-ipv6 branch). To avoid the
buffer overflow, you could add a check for the address family in
set_address() and return FALSE if it is AF_INET6.
Regards,
Tobias
_______________________________________________
Dev mailing list
Dev@lists.strongswan.org
https://lists.strongswan.org/mailman/listinfo/dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic