summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2023-05-02 23:56:58 +0000
committer Steven Moreland <smoreland@google.com> 2023-05-03 00:02:56 +0000
commita13a7622f05aafcdab5d8769ee0946b37afaf4bf (patch)
tree942ca132964cd1055629ff33d9be4a7cc8518971
parent39f3f87adf18bdf4b9ad78c3f53016452dd25066 (diff)
libbinder: keep uninit descriptor empty
Java users creating custom binder interfaces may rely on empty descriptors. Bug: 278655444 Test: binderAllocationLimits Change-Id: I8bba68a3906517dff060853fc6224b5b5d7d37ab Merged-In: I8bba68a3906517dff060853fc6224b5b5d7d37ab
-rw-r--r--libs/binder/BpBinder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/binder/BpBinder.cpp b/libs/binder/BpBinder.cpp
index 53852d88ed..8d9955dd6b 100644
--- a/libs/binder/BpBinder.cpp
+++ b/libs/binder/BpBinder.cpp
@@ -47,7 +47,7 @@ std::atomic_bool BpBinder::sCountByUidEnabled(false);
binder_proxy_limit_callback BpBinder::sLimitCallback;
bool BpBinder::sBinderProxyThrottleCreate = false;
-static StaticString16 kDescriptorUninit(u"<uninit descriptor>");
+static StaticString16 kDescriptorUninit(u"");
// Arbitrarily high value that probably distinguishes a bad behaving app
uint32_t BpBinder::sBinderProxyCountHighWatermark = 2500;