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

daviddrysdale / c-ares / 223
95%
master: 89%

Build:
Build:
LAST BUILD BRANCH: double-free
DEFAULT BRANCH: master
Ran 02 Aug 2016 01:57PM UTC
Jobs 1
Files 252
Run time 14s
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
223

push

travis-ci

daviddrysdale
ares_init_options: only propagate init failures from options

Commit 46bb820be3a8 ("ares_init_options: don't lose init failure")
changed init behaviour so that earlier errors in initialization
weren't lost.  In particular, if the user passes in specific
options but they are not applied (e.g. because of an allocation
failure), that failure needs to be reported back to the user; this
also applies when duplicating a channel with ares_dup().

However, other initialization failures can be ignored and
overridden -- in particular, if init_by_resolv_conf() or
init_by_environment() fail, then falling back to default values
is OK.

So only preserve failures from the init_by_options() stage, not
from all initialization stages.

Fixes issue 60.

9 of 9 new or added lines in 1 file covered. (100.0%)

3605 of 3778 relevant lines covered (95.42%)

3688.38 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
32
100.0
ares_init.c
Jobs
ID Job ID Ran Files Coverage
3 223.3 (BUILD_TYPE=coverage) 02 Aug 2016 01:57PM UTC 0
95.42
Travis Job 223.3
Source Files on build 223
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #223
  • 0a6801d1 on github
  • Prev Build on issue60 (#222)
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