diff options
author | Chiachang Wang <chiachangwang@google.com> | 2019-11-27 21:53:39 +0800 |
---|---|---|
committer | Chiachang Wang <chiachangwang@google.com> | 2019-11-28 10:36:29 +0800 |
commit | c46b981ef03366f1171aead5cf1c5a6026404420 (patch) | |
tree | 77d66e1db6d95be0153501e5084e2132848edc09 /common/networkstackclient | |
parent | 4336b91fb41df54e6dcb855e4b30ab1f30dd3409 (diff) |
Avoid incorrect nlmsg_type in returned INetDiagMessage
The target parsing mechanism focuses on SOCK_DIAG_BY_FAMILY.
The returned message with unexpected messages will cause
the parsing mechanism does not work as intended. Thus,
skip parsing on incorrect message.
Bug: 145275899
Bug: 142035706
Test: atest NetworkStackTests NetworkStackNextTests
Change-Id: I73ab979c735268551a54b0a88de18c6d1a2068c4
Diffstat (limited to 'common/networkstackclient')
0 files changed, 0 insertions, 0 deletions