[AWARE] Protect string copy against buffer overflow

Fixes: 143789898
Test: (Unit) atest com.android.server.wifi
Test: ACTS ThroughputTest:test_iperf_single_ndp_aware_only_ib
Test: (VTS) atest VtsHalWifiApV1_4TargetTest
Change-Id: I5b8aa1d9a6388fe20cb7e1cd6a76d5e59e14d099
1 file changed
tree: c19dfb0674cede17d12378965e2d62c6c171f0cb
  1. biometrics/
  2. camera/
  3. cryptfshw/
  4. light/
  5. livedisplay/
  6. nfc/
  7. power/
  8. touch/
  9. trust/
  10. usb/
  11. vibrator/
  12. wifi/
  13. Android.bp
  14. update-makefiles.sh