• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

GoogleCloudPlatform / google-cloud-java / 4278
72%

Build:
DEFAULT BRANCH: master
Ran 27 Jul 2017 06:10PM UTC
Jobs 1
Files 495
Run time 24s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
4278

Pull #2283

travis-ci

web-flow
google-cloud-nio: CloudStorageReadChannel: fix critical bug that could cause the channel position to overflow

This fixes a critical bug in CloudStorageReadChannel in which the channel position
(a long) was getting down-cast to int in CloudStorageReadChannel.innerOpen(). This
could cause the channel position to become negative or a wildly incorrect positive
value if the channel position was greater than MAX_INT.

In practice, this bug would only manifest itself if the channel was constructed with
a non-zero initial position, or if the channel was reopened in response to an error.

Included a test case that fails without the fix, and passes with the fix.
Pull Request #2283: google-cloud-nio: CloudStorageReadChannel: fix critical bug that could cause the channel position to overflow

1 of 1 new or added line in 1 file covered. (100.0%)

19862 of 24956 relevant lines covered (79.59%)

46787.98 hits per line

Jobs
ID Job ID Ran Files Coverage
2 4278.2 27 Jul 2017 06:10PM UTC 0
79.59
Travis Job 4278.2
Source Files on build 4278
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4278
  • Pull Request #2283
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc