On 09.02.23 17:36, Petr Štetiar wrote:
Server can crash on systems using musl libc when client with comma in
commonName tries to connect:

  ifconfig_pool_read(), in='VPN Client, abc,192.168.1.2,'
  RESOLVE: Cannot parse IP address:  abc: (Name does not resolve)

I also would like to empathize what exactly leads to the crash. It clearly tried to parse a part of client certificate's Common Name as an IP address. As I understand it, this IP address was supposed to be used to restore client's previous IP address. This is another bug, different from trying to "free" NULL pointer.

Mykhailo



_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to