Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0618fe6b authored by Lee Shombert's avatar Lee Shombert Committed by Android Build Coastguard Worker
Browse files

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
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9dc64621d896d05fcb0e6f45792a307fde130823)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5d82d11c8b55e3bbb9056cdc235c3b86921ec854)
Merged-In: I755240b0e3ba185c01036a5e00c8785d2e1ac11a
Change-Id: I755240b0e3ba185c01036a5e00c8785d2e1ac11a
parent e061bde6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment