Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1f9dcd33 authored by Jooyung Han's avatar Jooyung Han
Browse files

binder_ndk: sanitize binder descriptor for logging

Invalid char in a string causes "implicit-conversion" ubsan error.
So, when printing "read" binder descriptor for log, sanitize it by
replacing invalid char with '?'.

Bug: n/a
Test: binder_parcel_fuzzer
Change-Id: I51f806ff28ccc52f9b3da328ace4ca8c348483ba
parent 3b31ccac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment