commit | a810284b165943041afbbd4e920b8997ae88fdef | [log] [tgz] |
---|---|---|
author | Przemyslaw Szczepaniak <pszczepaniak@google.com> | Thu Feb 02 17:05:02 2017 +0000 |
committer | Przemyslaw Szczepaniak <pszczepaniak@google.com> | Thu Feb 02 17:14:50 2017 +0000 |
tree | a3cc4287f587c7695adbba26641ec01a9d6843ab | |
parent | e241c1f47d0a6b515fe7a313271b86518e465e6a [diff] |
Fix CharArrayReader/StringBufferInputStream overflow Port from openJdk80u112: changeset: 11858:02d89bf02553 user: igerasim date: Thu Aug 11 19:17:36 2016 +0300 summary: 8163518: Integer overflow in StringBufferInputStream.read() and CharArrayReader.read/skip() Added test for skip overflow, no test for read overflow because it's not possible due to memory constrains. Test: vogar on affected tests Bug: 31028374 Change-Id: I0fb9acdddd8376aed5f5e39d7f924cf4a5d0fce8