Netd: overwrite dangling stack pointers

These functions leave elements of `iov` initialized to point to freed
stack memory. It doesn't seem this is ever _used_, but this CL points
the gun farther away from our feet by NULL'ing out the pointers prior to
the pointees being deallocated.

Bug: 206470603
Test: TreeHugger
Change-Id: I30dcaa3acacd91e4c830d49df77a1e40704099c2
2 files changed
tree: b3cc9cd62636f66e0bbb18a7e121f8ab6cf31cb5
  1. bpf_progs/
  2. client/
  3. include/
  4. libnetdbpf/
  5. netutils_wrappers/
  6. server/
  7. tests/
  8. .editorconfig
  9. Android.bp
  10. NOTICE
  11. OWNERS
  12. PREUPLOAD.cfg
  13. TEST_MAPPING