platform_system_core/libnetutils
Lorenzo Colitti a9027581bd 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
2019-12-02 17:37:39 +09:00
..
include/netutils Move checksum code from clatd to libnetutils. 2019-01-30 12:33:29 +09:00
Android.bp Move checksum code from clatd to libnetutils. 2019-01-30 12:33:29 +09:00
checksum.c Move checksum code from clatd to libnetutils. 2019-01-30 12:33:29 +09:00
dhcpclient.c liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
dhcpmsg.c
dhcpmsg.h
dhcptool.c libnetutils: Rename dhcptool to dhcpdbg 2017-05-17 10:47:28 -07:00
ifc_utils.c Properly size response buffer in ifc_act_on_address 2019-12-02 17:37:39 +09:00
NOTICE
OWNERS Refactor OWNERS files for Android Core Networking 2019-02-12 13:25:13 +08:00
packet.c libnetutil: Check dhcp respose packet length am: 61f25d4a36 am: cee6d38c55 am: 29d054046f am: c29049f4f8 am: 3de04e9840 am: 19702dc499 am: 8191e9ba87 am: 804323c195 am: 4f5f00d879 am: 3a1ff1ad71 2017-11-02 03:23:59 +00:00
packet.h