[Nearby] Fix device name tests by null-terminating test string
Verified that local device data manager unit tests failed with an ASAN build before this change and pass after the change. Fixed: 1133295 Change-Id: I51dfd183948c967aefff77defa36e689afa16a59 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2438167 Commit-Queue: Josh Nohle <nohle@chromium.org> Commit-Queue: James Vecore <vecore@google.com> Auto-Submit: Josh Nohle <nohle@chromium.org> Reviewed-by:James Vecore <vecore@google.com> Cr-Commit-Position: refs/heads/master@{#811762}
Showing
Please register or sign in to comment