|
|
DescriptionFix buffer underflow bug in tab save state.
For Android JellyBean and older, there was a bug in
MappedByteBufferAdapter that caused ByteBuffer#rewind() to not be
propagated to the underlying buffer, causing buffer underflow when
the same buffer was read completely again to save the state. Fix is
to manually read the buffer rather than rely on rewind/remaining.
BUG=635744
Committed: https://crrev.com/cf9ab49008ec04279f157b4fa68f3ec814cc59dd
Cr-Commit-Position: refs/heads/master@{#422910}
Patch Set 1 #Patch Set 2 : Test Patch. #Patch Set 3 : Revert testing patch. #Messages
Total messages: 24 (17 generated)
The CQ bit was checked by wnwen@chromium.org to run a CQ dry run
wnwen@chromium.org changed reviewers: + andrhung@amazon.com
Please take a look at this fix.
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
On 2016/10/04 15:13:39, Peter Wen wrote: > Please take a look at this fix. lgtm
The CQ bit was checked by wnwen@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
The CQ bit was checked by wnwen@chromium.org to run a CQ dry run
wnwen@chromium.org changed reviewers: + dfalcantara@chromium.org
+dfalcantara for OWNERS.
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
lgtm
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by wnwen@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from andrhung@amazon.com Link to the patchset: https://codereview.chromium.org/2395493002/#ps40001 (title: "Revert testing patch.")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Committed patchset #3 (id:40001)
Message was sent while issue was closed.
Description was changed from ========== Fix buffer underflow bug in tab save state. For Android JellyBean and older, there was a bug in MappedByteBufferAdapter that caused ByteBuffer#rewind() to not be propagated to the underlying buffer, causing buffer underflow when the same buffer was read completely again to save the state. Fix is to manually read the buffer rather than rely on rewind/remaining. BUG=635744 ========== to ========== Fix buffer underflow bug in tab save state. For Android JellyBean and older, there was a bug in MappedByteBufferAdapter that caused ByteBuffer#rewind() to not be propagated to the underlying buffer, causing buffer underflow when the same buffer was read completely again to save the state. Fix is to manually read the buffer rather than rely on rewind/remaining. BUG=635744 Committed: https://crrev.com/cf9ab49008ec04279f157b4fa68f3ec814cc59dd Cr-Commit-Position: refs/heads/master@{#422910} ==========
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/cf9ab49008ec04279f157b4fa68f3ec814cc59dd Cr-Commit-Position: refs/heads/master@{#422910} |