Fixed OOB read/write possible when len equals sizeof array

OOB read/write possible in get_svc_hash() since it convert character until the string meets null terminated
Added null terminated character before calling it.

Bug: 261857862
Test: Checked with lldb

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