gluon/package/gluon-mesh-vpn-core
David Bauer bb1932c927 gluon-mesh-vpn-core: avoid reading null pointer
In case the limit_ingress or limit_egress options are not present in
gluon's mesh_vpn section the respondd provider compares a string literal
with a NULL pointer, crashing respondd.

Check both pointers prior to comparing them in order to mitigate this
issue.

Suggested-by: Matthias Schiffer <mschiffer@universe-factory.net>
Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 7e1e9fe2bd)
2021-06-21 15:33:56 +02:00
..
files/lib/gluon/mesh-vpn Refactor common parts of gluon-mesh-vpn-fastd into a gluon-mesh-vpn-core package 2017-03-10 19:45:34 +01:00
luasrc mesh-vpn: fully abstract VPN methods 2021-05-22 06:54:23 +02:00
src gluon-mesh-vpn-core: avoid reading null pointer 2021-06-21 15:33:56 +02:00
check_site.lua gluon-mesh-vpn-core: add public key to nodeinfo response 2018-02-04 20:47:53 +01:00
Makefile gluon-mesh-vpn-core: Add dependency for KERNEL_NET_ACT_POLICE 2019-08-21 18:37:53 +02:00