Skip to content
Snippets Groups Projects
Commit 7e1e9fe2 authored by David Bauer's avatar David Bauer
Browse files

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: default avatarMatthias Schiffer <mschiffer@universe-factory.net>
Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
parent 867b18de
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment