commit | 7ee6feee9f21ee803f10341d6901c59f6fd4c5fd | [log] [tgz] |
---|---|---|
author | Kevin Rocard <krocard@google.com> | Tue Feb 27 10:56:32 2018 -0800 |
committer | Kevin Rocard <krocard@google.com> | Thu Mar 01 22:29:58 2018 -0800 |
tree | cbdb96419160c5d291404b2e1a584a8ee7851f72 | |
parent | b3f36c07376acc07eb8f6144bd15e27d8ec6d6fc [diff] |
Fix potential missing '\0' when wrapping to legacy The HAL API for port name is a C++ string of arbitrary length. Nevertheless the legacy API name had a maximum length. Thus when wrapping from the new to legacy, the string was truncated but no '\0' was added. Bug: 38184704 Test: compile Change-Id: I482363809718281e022041c2d5042e5800c5a617 Signed-off-by: Kevin Rocard <krocard@google.com>