diff options
author | Hoang Le <[email protected]> | 2020-12-15 10:31:51 +0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2020-12-16 12:45:02 -0800 |
commit | c32c928d29deb2636e5889f59305cc15b004909f (patch) | |
tree | 0a502fc7b5170e2c3ccdb823e43825e6cb5983fd /lib/test_overflow.c | |
parent | 023cae857b347b6f5577eebade21a843f3621f85 (diff) |
tipc: do sanity check payload of a netlink message
When we initialize nlmsghdr with no payload inside tipc_nl_compat_dumpit()
the parsing function returns -EINVAL. We fix it by making the parsing call
conditional.
Acked-by: Jon Maloy <[email protected]>
Signed-off-by: Hoang Le <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions