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

puppetlabs / leatherman / 1033
94%
master: 68%

Build:
Build:
LAST BUILD BRANCH: 1.6.x
DEFAULT BRANCH: master
Ran 01 Dec 2016 09:27PM UTC
Jobs 1
Files 112
Run time 8s
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
1033

Pull #218

travis-ci

web-flow
(LTH-116) Handle null characters in JSON strings

Before this patch leatherman could not handle null characters (`\u0000`)
in JSON keys/values because it used the single argument `std::string`
constructor to create `std::string` representations of those keys/values.
The problem was that the null character is treated as the end of the
string by that constructor, so any key/value containing the null character
was truncated at that character when represented as the `std::string`.
The fix is to use the two argument constructor of `std::string` where the
second argument specifies the length of the value to store in the string.
The respective length is readily obtainable from the JSON parsing library.
Pull Request #218: (LTH-116) Handle null characters in JSON strings

5128 of 5447 relevant lines covered (94.14%)

27166.82 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
4
100.0
execution/src/posix/execution.cc
Jobs
ID Job ID Ran Files Coverage
4 1033.4 (TRAVIS_TARGET=DEBUG) 01 Dec 2016 09:27PM UTC 0
94.14
Travis Job 1033.4
Source Files on build 1033
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1033
  • Pull Request #218
  • PR Base - LTS-1.7 (#1010)
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