summaryrefslogtreecommitdiff
path: root/libs/ui/DebugUtils.cpp
diff options
context:
space:
mode:
author Andrei Homescu <ahomescu@google.com> 2023-05-05 03:21:43 +0000
committer Andrei Homescu <ahomescu@google.com> 2023-05-06 01:55:59 +0000
commit2b802f732009b09a27a57f8834124a93f0f8d81b (patch)
tree30a986e65cb1d1a37e98888b96ba2230fa6c2d96 /libs/ui/DebugUtils.cpp
parentc8338635e7dbc7a90c6ba434ef68c96967ffb12f (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
Diffstat (limited to 'libs/ui/DebugUtils.cpp')
0 files changed, 0 insertions, 0 deletions