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
Loading
Please register or sign in to comment