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

Robbepop / string-interner / 681
33%

Build:
DEFAULT BRANCH: master
Ran 25 Aug 2019 04:02PM UTC
Jobs 3
Files 2
Run time 1min
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
681

push

travis-ci

Robbepop
Fix use after free bug around `StringInterner::clone()` (#10)

* Add a test which may fail for use after free bug #9

* Implement `Clone` manually for `StringInterner`

New `clone()` implementation recreates `HashMap` to update key
`InternalStrRef`s with pointer to newly cloned strings.

`#[derive(Clone)]` requires `S: Clone` automatically, and the new
`Clone` implementation does not require it explicitly.
However, `S: Symbol` trait bound indirectly requires `S: Clone`, so
the restriction for `S` is actually not changed.

Fixes #9.

361 of 378 relevant lines covered (95.5%)

2.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 681.1 25 Aug 2019 04:02PM UTC 0
95.5
Travis Job 681.1
2 681.2 25 Aug 2019 04:02PM UTC 0
95.5
Travis Job 681.2
3 681.3 25 Aug 2019 04:03PM UTC 0
95.92
Travis Job 681.3
Source Files on build 681
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #681
  • d91dac0c on github
  • Prev Build on master (#677)
  • Next Build on master (#687)
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