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

daviddrysdale / c-ares
95%
master: 89%

Build:
Build:
LAST BUILD BRANCH: double-free
DEFAULT BRANCH: master
Repo Added 06 Oct 2015 02:42PM UTC
Files 122
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

LAST BUILD ON BRANCH issue60
branch: issue60
CHANGE BRANCH
x
Reset
  • issue60
  • acountry-fix
  • bradh352-master
  • cleanup
  • contrib
  • distcheck
  • dns-dump
  • docfix
  • docs
  • double-free
  • fix-coverage
  • fix33
  • fixes
  • fixlets
  • fuzz
  • fuzzname
  • fuzztest
  • iterative-free
  • man-fix
  • manfix
  • manpage
  • master
  • max-indirs
  • naptr
  • newer-cmake
  • norotate
  • nschroot
  • oldwin
  • temp
  • temp-force-appveyor
  • temp-init
  • temp-ports
  • temp64
  • tempfuzz
  • tempios
  • temppatch
  • test
  • test-for-merge
  • travis
  • utf-8
  • win-suffix
  • windump
  • winfix

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

Relevant lines Covered
Build:
Build:
3778 RELEVANT LINES 3605 COVERED LINES
3688.38 HITS PER LINE
Source Files on issue60
  • List 0
  • Changed 11
  • Source Changed 1
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
223 issue60 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 sp... push 02 Aug 2016 01:57PM UTC daviddrysdale travis-ci pending completion  
222 issue60 test: missing resolv.conf falls back to defaults push 01 Aug 2016 07:28AM UTC daviddrysdale travis-ci pending completion  
See All Builds (261)
  • Repo on GitHub
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

© 2025 Coveralls, Inc