Skip to content
Commit 18b36460 authored by Jin Seok Park's avatar Jin Seok Park
Browse files

Prevent skipBytes from infinitely looping

Skipping bytes on a stream may return 0 forever (e.g. network
stream is disconnected), so need to break out of while loop if that
happens.

Bug: 175808980
Test: N/A (difficult to reproduce this case)
Change-Id: Ic6ed131cc4bbff3c01d7d577e8fc1d6d5804c598
parent f57116d8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment