commit | 2b802f732009b09a27a57f8834124a93f0f8d81b | [log] [tgz] |
---|---|---|
author | Andrei Homescu <ahomescu@google.com> | Fri May 05 03:21:43 2023 +0000 |
committer | Andrei Homescu <ahomescu@google.com> | Sat May 06 01:55:59 2023 +0000 |
tree | 30a986e65cb1d1a37e98888b96ba2230fa6c2d96 | |
parent | c8338635e7dbc7a90c6ba434ef68c96967ffb12f [diff] |
libbinder_rs: Remove Vec<MaybeUninit<T>> from parcelable.rs Vec<MaybeUninit<T>> leaks elements if it was partially initialized and we got an error. Replace it with a safer Vec<UninitType<T>> which uses either Default or Option::None to initialize elements. Bug: 278648274 Test: atest atest_integration_test Change-Id: I2ec97a17b215cb875a48e894eb04832e8a967fca