commit | a8bfe75958bca32db6f3dbe534a66cfd168c4f8a | [log] [tgz] |
---|---|---|
author | Dennis Jeon <dennis.jeon@broadcom.corp-partner.google.com> | Tue Dec 20 19:55:19 2022 +0900 |
committer | chenpaul <chenpaul@google.com> | Thu Dec 29 09:17:37 2022 +0800 |
tree | 99a47e1c9540912ae5e54eb3e47216244176ce55 | |
parent | 15500502b794953e025f7543b3bb1b0ed5aecf87 [diff] |
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>