When exporting static routes configured for VPN connection, export_ip4 function uses num_dns instead of num_routes variable, which may cause out-of-bounds access to routes array.
This issue surfaces itself as double free or corruption error in my case.
When exporting static routes configured for VPN connection,
export_ip4
function usesnum_dns
instead ofnum_routes
variable, which may cause out-of-bounds access toroutes
array.This issue surfaces itself as
double free or corruption
error in my case.