Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(667)

Issue 665303002: Check SkStream::isAtEnd before attempting to read. (Closed)

Created:
6 years, 2 months ago by scroggo
Modified:
6 years, 2 months ago
Reviewers:
mtklein
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Check SkStream::isAtEnd before attempting to read. In FrontBufferedStream, when attempting to read and buffer more data, do not try to read if the underlying stream is at the end. Prevents a bug where we continue trying to read a stream that has nothing more to read. Committed: https://skia.googlesource.com/skia/+/dd5a1e094c19fa10202c37c50a1f799e5af5dac0

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M src/utils/SkFrontBufferedStream.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (2 generated)
scroggo
6 years, 2 months ago (2014-10-21 14:58:04 UTC) #2
mtklein
lgtm
6 years, 2 months ago (2014-10-21 14:58:31 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/665303002/1
6 years, 2 months ago (2014-10-21 14:59:20 UTC) #5
commit-bot: I haz the power
6 years, 2 months ago (2014-10-21 15:06:09 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) as dd5a1e094c19fa10202c37c50a1f799e5af5dac0

Powered by Google App Engine
This is Rietveld 408576698