commit | ebdaa682fcfd4fffde1cfb6dbac111fd8868a8b4 | [log] [tgz] |
---|---|---|
author | Jonathan Basseri <misterikkit@google.com> | Thu Sep 14 16:33:08 2017 -0700 |
committer | Jonathan Basseri <misterikkit@google.com> | Thu Sep 14 16:36:12 2017 -0700 |
tree | 9daf45f1cc756b987ccf258d0f3e4a47aaa92b65 | |
parent | 4c8002457bd897bb9d3a6d35a7f5086217c5f98d [diff] |
Zero-initialize struct which contains kernel structs. This one struct initialization results in two uninitialized xfrm_address_t objects. Those objects are then filled in with correctly initialized values. There is no bug here, but we should maintain struct hygiene. Bug: 65693875 Test: runtest -x system/netd/server/netd_unit_test.cpp Change-Id: Ie61971f0965ce7054d5194ac8ca7991eee214a3e