summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2019-12-02 17:25:28 +0900
committerLorenzo Colitti <lorenzo@google.com>2019-12-02 17:37:39 +0900
commita9027581bdb6af73fbd2e3702bc79bee782b95cf (patch)
treeab5d05dddf737bfcd60746fa4fcdaa0331fd0110 /trusty/coverage/coverage_test.cpp
parentc3d38969cae89a8433aa286bbbb3960a42e99475 (diff)
Properly size response buffer in ifc_act_on_address
Currently, any netlink error reported in ifc_act_on_address is reported as EINVAL, because the receive buffer is too short and the NLMSG_OK check fails on it. Make the buffer long enough so the function can return the correct netlink error to the caller. Test: new test coverage in other CL in this topic Change-Id: Ica752db834a0fd614312b800d88721826be08d56
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions