diff options
| author | 2025-03-14 10:02:08 -0700 | |
|---|---|---|
| committer | 2025-03-14 10:41:20 -0700 | |
| commit | 9dc64621d896d05fcb0e6f45792a307fde130823 (patch) | |
| tree | 3ad74964d7acbb016e4aeed568a5a3f61531efee /libs/androidfw/FileStream.cpp | |
| parent | 69001a0a44c062b299f2fe0e8499cdbeb808a323 (diff) | |
Zero-initialize CursorWindow buffer
Zero-initialize mData in CursorWindow::create(). The caller might not
fully fill that buffer before sending it to the remote end. It is not
necessary to zero-initialize in CursorWindow::createFromParcel(),
since the buffer is immediately filled from the far end.
Flag: EXEMPT bug-fix
Bug: 309407957
Test: atest
* libandroidfw_tests
* FrameworksCoreTests:android.database
* CtsDatabaseTestCases
Change-Id: I755240b0e3ba185c01036a5e00c8785d2e1ac11a
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions