commit | e6e7fdfda69c44f67a7ce4c20ff8937d5232d46e | [log] [tgz] |
---|---|---|
author | ramindani <ramindani@google.com> | Thu May 25 22:07:04 2023 +0000 |
committer | ramindani <ramindani@google.com> | Thu May 25 22:07:04 2023 +0000 |
tree | 51116ac88ddcb5290312d0f6a0121f07e5c33d9c | |
parent | 2a9d6f61385608290be80a93c07ed4ac63a867b9 [diff] |
[VTS 2.3] Add length check before reading blob Adding a length check prevents the read() from reading outside the bounds and prevents OOB crash. Test: atest VtsHalGraphicsComposerV2_3TargetTest && atest VtsHalGraphicsComposerV2_4TargetTest BUG: 252764300 Change-Id: I6231e340a925127f9c32ccb76768286f7292df58