Add test to verify parsing multiple netlink messages in one buffer.
Currently the netlink parsing code doesn't advance to the end of message
if it doesn't consume the entire message, that results in the remaining
attributes will be considered as a new netlink message, parsing the
attributes will fail and return null. Have a testcase to verify this case.
Bug: 163492391
Test: atest NetworkStaticLibsTests
Change-Id: I2719cd917f9932d5e77002e615845076784139a2
1 file changed
tree: 2fcbad89eadab03ddf50542f72c9836f3511ddb7
- staticlibs/