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

Robbepop / string-interner / 701
97%
master: 33%

Build:
Build:
LAST BUILD BRANCH: v0.12.1
DEFAULT BRANCH: master
Ran 03 Sep 2019 11:47PM UTC
Jobs 3
Files 3
Run time 5min
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
701

push

travis-ci

Robbepop
<a href="https://github.com/Robbepop/string-interner/commit/<a class=hub.com/Robbepop/string-interner/commit/8d24e66d5f138e158105a5f28f1b41fe478665c4">8d24e66d5<a href="https://github.com/Robbepop/string-interner/commit/8d24e66d5f138e158105a5f28f1b41fe478665c4">&quot;&gt;Backport clone bugfix on top of 0.6.3 (#14)

* backport use-after-free bugfix in `StringInterner::clone()` onto 0.6.3

Backported by Pat Hickey &amp;lt;phickey@fastly.com&amp;gt;

In master branch and 0.7.1 release as </a><a class="double-link" href="https://github.com/Robbepop/string-interner/commit/<a class="double-link" href="https://github.com/Robbepop/string-interner/commit/d91dac0cfe42512526879cdfaac0b81beff54089">d91dac0cf</a>">d91dac0cf</a><a href="https://github.com/Robbepop/string-interner/commit/8d24e66d5f138e158105a5f28f1b41fe478665c4">

Original PR: https://github.com/Robbepop/string-interner/pull/10

From original commit message:

&gt; * Add a test which may fail for use after free bug #9
&gt;
&gt; * Implement `Clone` manually for `StringInterner`
&gt;
&gt; New `clone()` implementation recreates `HashMap` to update key
&gt; `InternalStrRef`s with pointer to newly cloned strings.

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

&gt; Fixes #9.

* Backport: Add a test to ensure that interners have no dangling pointers

From https://github.com/Robbepop/string-interner/pull/12/commits/eb54ae076">eb54ae076</a>

188 of 193 relevant lines covered (97.41%)

4.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 701.1 03 Sep 2019 11:47PM UTC 0
94.39
Travis Job 701.1
2 701.2 03 Sep 2019 11:48PM UTC 0
94.41
Travis Job 701.2
3 701.3 03 Sep 2019 11:52PM UTC 0
94.6
Travis Job 701.3
Source Files on build 701
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #701
  • 8d24e66d on github
  • Prev Build on v0.6.4 (#700)
  • Next Build on v0.6.4 (#702)
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