summaryrefslogtreecommitdiffstats
path: root/lib/utils.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-10-23 08:54:10 (GMT)
committerThomas Haller <thaller@redhat.com>2017-10-23 10:10:30 (GMT)
commitbe550df10993c89e9367a860d5060c632ed9afbf (patch)
treef0ae6a3b6a095b0e5d7d4459290a3b7719400352 /lib/utils.c
parent7ec0fae0df54d4bff4a45bae9a18519e8c03fa89 (diff)
downloadlibnl-be550df10993c89e9367a860d5060c632ed9afbf.zip
libnl-be550df10993c89e9367a860d5060c632ed9afbf.tar.gz
libnl-be550df10993c89e9367a860d5060c632ed9afbf.tar.bz2
route/vlan: add capability to indicate heap overflow fix in rtnl_link_vlan_set_egress_map()
Without this fix/capablity, adding more then 4 mappings in rtnl_link_vlan_set_egress_map() overflows the heap.
Diffstat (limited to 'lib/utils.c')
-rw-r--r--lib/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils.c b/lib/utils.c
index 544feda..eefe802 100644
--- a/lib/utils.c
+++ b/lib/utils.c
@@ -1221,7 +1221,7 @@ int nl_has_capability (int capability)
NL_CAPABILITY_XFRM_SP_SEC_CTX_LEN,
NL_CAPABILITY_VERSION_3_3_0,
NL_CAPABILITY_VERSION_3_4_0,
- 0,
+ NL_CAPABILITY_ROUTE_FIX_VLAN_SET_EGRESS_MAP,
0,
0,
0),