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

stouset / sodium / 169 / 7
99%
master: 100%

Build:
Build:
LAST BUILD BRANCH: travis-support
DEFAULT BRANCH: master
Ran 12 Jul 2013 12:28AM UTC
Files 15
Run time –
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

12 Jul 2013 12:22AM UTC coverage: 99.751%. First build
jruby-19mode, LIBSODIUM_MIRROR="http://download.dnscrypt.org/libsodium/releases/libsodium-%s.tar.gz" LIBSODIUM_VERSION=0.4.2 LIBSODIUM_DIGEST=1a7901cdd127471724e854a8eb478247dc0ca67be549345c75fc6f2d4e05ed39

push

travis-ci

stouset
Prevent Buffer bytes from being garbage collected prematurely

Clients can request access to the internal bytes held onto by a
buffer. It is possible for a user to still be holding onto the bytes
when the Buffer goes out of scope and thus eligible for garbage
collection. This would immediately clear the bytes held onto by the
user.

To prevent serious data-loss bugs, the bytes now hold on to a pointer to
their parent Buffer. This prevents the Buffer from being garbage
collected (and thus the bytes from being cleared) as long as there still
exists a pointer to the bytes themselves.

400 of 401 relevant lines covered (99.75%)

10.84 hits per line

Source Files on job 169.7 (jruby-19mode, LIBSODIUM_MIRROR="http://download.dnscrypt.org/libsodium/releases/libsodium-%s.tar.gz" LIBSODIUM_VERSION=0.4.2 LIBSODIUM_DIGEST=1a7901cdd127471724e854a8eb478247dc0ca67be549345c75fc6f2d4e05ed39 )
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 169
  • Travis Job 169.7
  • c1c6d5f3 on github
  • Next Job for jruby-19mode, LIBSODIUM_MIRROR="http://download.dnscrypt.org/libsodium/releases/libsodium-%s.tar.gz" LIBSODIUM_VERSION=0.4.2 LIBSODIUM_DIGEST=1a7901cdd127471724e854a8eb478247dc0ca67be549345c75fc6f2d4e05ed39 on garbage-collection-safety (#170.7)
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