HAL: Added null terminated string to nan_reason after memcpy

len could be sizeof(pub_term_event.nan_reason) and null terminated string could be overwritten. It may cause oob read.
Added null terminated string to reason after memcpy

Bug: 258535606
Test: build done

Signed-off-by: Dennis Jeon <dennis.jeon@broadcom.corp-partner.google.com>
Change-Id: I4d13b4e69a751352ebba4d370f7dbdeafa7d4787
1 file changed
tree: 8cb6c2fdfeb215213fbbb5e43fc497f24aaaacab
  1. bcmdhd/
  2. .gitignore
  3. CleanSpec.mk
  4. METADATA
  5. OWNERS