tag | a470a3c2c08b5d6a9e55d1f251aee00d3ffc8314 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Thu Apr 11 13:23:12 2024 -0700 |
object | 474c5e80e2c048df24570e7150a580a82e0439b8 |
Android 15 beta 1 release 0.4
commit | 474c5e80e2c048df24570e7150a580a82e0439b8 | [log] [tgz] |
---|---|---|
author | Nick Chung <nickchung@google.com> | Sun Feb 25 11:47:02 2024 +0800 |
committer | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | Tue Feb 27 18:39:48 2024 +0000 |
tree | 11790ca33f8aa91e3b2988db0c8c536367bfe6f1 | |
parent | c9fbdbf0f5252007b0aa2ea6df36414520226597 [diff] |
Transaction: Add overflow protection to read_entries Validates read_entries and read_buf_size to ensure they don't exceed reasonable limits that could trigger overflow. Adds explicit checks before the calculation to detect potential integer overflows. Bug: 322327963 Test: CTS/PTS, GCA_SMOKE TEST Change-Id: I1b2e99cc83cfd751d3a82e501dbd64ddfebd039f Signed-off-by: Nick Chung <nickchung@google.com> (cherry picked from commit e7a59eba1ba9c49d9500935907056fc69ce3a012)