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

stouset / sodium / 176
100%

Build:
DEFAULT BRANCH: master
Ran 18 Jul 2013 10:58PM UTC
Jobs 7
Files 22
Run time 640833min
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
176

Pull #18

travis-ci

stouset
Rewrite Sodium::Buffer to use an FFI::Pointer rather than a String

This avoids nastiness like copying garbage collectors from copying our
memory all over, forcing us to lose control of it. More importantly, we
fix a nasty bug related to garbage collection. If you retain a pointer
to a Sodium::Buffer's bytes but not the buffer itself, the buffer can be
garbage collected at any time (clearing your bytes).

The new implementation removes Sodium::Buffer#to_str and replaces it
with Sodium::Buffer#to_ptr and Sodium::Buffer#to_s. to_ptr gives you the
actual memory pointer to do with as you like. to_s gives you the actual
String contents, at which point guarantees are no longer made as to our
ability to clear the memory pointed to by the string. It is the caller's
responsibility never to call to_s on sensitive data unless absolutely
necessary.
Pull Request #18: Rewrite Sodium::Buffer to use an FFI::Pointer rather than a String

50 of 50 new or added lines in 2 files covered. (100.0%)

593 of 600 relevant lines covered (98.83%)

258.82 hits per line

Jobs
ID Job ID Ran Files Coverage
2 176.2 (1.9.3, LIBSODIUM_MIRROR="http://download.dnscrypt.org/libsodium/releases/libsodium-%s.tar.gz" LIBSODIUM_VERSION=0.4.2 LIBSODIUM_DIGEST=1a7901cdd127471724e854a8eb478247dc0ca67be549345c75fc6f2d4e05ed39 ) 18 Jul 2013 10:58PM UTC 0
99.29
Travis Job 176.2
3 176.3 (2.0.0, LIBSODIUM_MIRROR="http://download.dnscrypt.org/libsodium/releases/libsodium-%s.tar.gz" LIBSODIUM_VERSION=0.4.2 LIBSODIUM_DIGEST=1a7901cdd127471724e854a8eb478247dc0ca67be549345c75fc6f2d4e05ed39 ) 18 Jul 2013 10:58PM UTC 0
99.29
Travis Job 176.3
4 176.4 (ruby-head, LIBSODIUM_MIRROR="http://download.dnscrypt.org/libsodium/releases/libsodium-%s.tar.gz" LIBSODIUM_VERSION=0.4.2 LIBSODIUM_DIGEST=1a7901cdd127471724e854a8eb478247dc0ca67be549345c75fc6f2d4e05ed39 ) 06 Oct 2014 11:31PM UTC 0
94.12
Travis Job 176.4
7 176.7 (jruby-19mode, LIBSODIUM_MIRROR="http://download.dnscrypt.org/libsodium/releases/libsodium-%s.tar.gz" LIBSODIUM_VERSION=0.4.2 LIBSODIUM_DIGEST=1a7901cdd127471724e854a8eb478247dc0ca67be549345c75fc6f2d4e05ed39 ) 18 Jul 2013 11:00PM UTC 0
99.28
Travis Job 176.7
8 176.8 (jruby-head, LIBSODIUM_MIRROR="http://download.dnscrypt.org/libsodium/releases/libsodium-%s.tar.gz" LIBSODIUM_VERSION=0.4.2 LIBSODIUM_DIGEST=1a7901cdd127471724e854a8eb478247dc0ca67be549345c75fc6f2d4e05ed39 ) 18 Jul 2013 11:01PM UTC 0
99.28
Travis Job 176.8
10 176.10 (rbx-19mode, LIBSODIUM_MIRROR="http://download.dnscrypt.org/libsodium/releases/libsodium-%s.tar.gz" LIBSODIUM_VERSION=0.4.2 LIBSODIUM_DIGEST=1a7901cdd127471724e854a8eb478247dc0ca67be549345c75fc6f2d4e05ed39 ) 18 Jul 2013 11:01PM UTC 0
99.6
Travis Job 176.10
11 176.11 (2.0.0, LIBSODIUM_MIRROR="https://github.com/jedisct1/libsodium/tarball/%s" LIBSODIUM_VERSION="master" ) 18 Jul 2013 11:01PM UTC 0
99.29
Travis Job 176.11
Source Files on build 176
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #176
  • Pull Request #18
  • PR Base - master (#168)
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