]> git.proxmox.com Git - mirror_iproute2.git/commit
tc: m_action: check cookie hex string len
authorJiri Pirko <jiri@mellanox.com>
Mon, 27 Apr 2020 06:10:55 +0000 (08:10 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 27 Apr 2020 21:50:27 +0000 (14:50 -0700)
commit0149dabf2a1bad2f210ca2d987b29083247b7bd0
tree3f58b2bfa52e02e3c20ef06fde45babab74bc568
parentb831c5ffcc78a518dcd267717a299ce158b0475c
tc: m_action: check cookie hex string len

Check the cookie hex string len is dividable by 2 as the valid hex
string always should be.

Reported-by: Alex Kushnarov <alexanderk@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
tc/m_action.c