Kevin Rocard 2b275704bc 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
Merged-In: I482363809718281e022041c2d5042e5800c5a617
Cherry-picked from master
Signed-off-by: Kevin Rocard <krocard@google.com>
2018-03-06 11:30:51 -08:00
2018-02-26 14:51:26 -08:00
2018-02-21 13:04:33 -08:00
2017-05-02 16:45:27 -07:00
2017-11-28 17:19:46 -08:00
2018-03-05 20:30:18 +00:00
2016-08-30 11:28:36 -07:00
2016-08-30 11:28:36 -07:00
2017-06-12 13:20:12 -07:00
Description
No description provided
134 MiB
Languages
C++ 56.3%
AIDL 41.2%
C 1.5%
Rust 0.4%
Java 0.4%
Other 0.1%