diff options
| author | 2024-04-23 16:42:10 +0000 | |
|---|---|---|
| committer | 2024-04-23 16:42:24 +0000 | |
| commit | c3afd69e3d5a86256acfbb1ab78d4d3ebc829eb1 (patch) | |
| tree | cf1cd67e60aace42179e2b4fee5d71f3415a3bd4 /libs/androidfw/StringPool.cpp | |
| parent | 0bd59c0dea3fbb8b9e60049c4df277cf431d172f (diff) | |
ContextHubService: Start message sequence number randomly
This CL reduces the probability of the following
scenario:
1. A host endpoint sends a reliable message.
2. The service restarts.
3. A host endpoint sends a new reliable message with the
same message sequence number (always start with 0).
4. CHRE sends a response to the
message from (1).
5. The service completes the message in (3) incorrectly.
Bug: 333567700
Change-Id: Iecdb9e7492cb8ead71b8b3580c05018a4df4e463
Test: Presubmits
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions