diff options
author | Thomas Haller <thaller@redhat.com> | 2017-10-23 08:54:10 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2017-10-23 10:10:30 (GMT) |
commit | be550df10993c89e9367a860d5060c632ed9afbf (patch) | |
tree | f0ae6a3b6a095b0e5d7d4459290a3b7719400352 /lib/utils.c | |
parent | 7ec0fae0df54d4bff4a45bae9a18519e8c03fa89 (diff) | |
download | libnl-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.c | 2 |
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), |