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

GoogleCloudPlatform / google-cloud-java / 4278 / 2
72%
master: 72%

Build:
DEFAULT BRANCH: master
Ran 27 Jul 2017 06:10PM UTC
Files 495
Run time 22s
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

27 Jul 2017 05:58PM UTC coverage: 79.588%. First build
4278.2

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

19862 of 24956 relevant lines covered (79.59%)

46787.98 hits per line

Source Files on job 4278.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4278
  • Travis Job 4278.2
  • c531f8c8 on github
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

© 2026 Coveralls, Inc