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

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

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

02 Aug 2016 01:47PM UTC coverage: 95.421% (-0.002%) from 95.423%
BUILD_TYPE=coverage

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.

3605 of 3778 relevant lines covered (95.42%)

3688.38 hits per line

Source Files on job 223.3 (BUILD_TYPE=coverage)
  • Tree
  • List 0
  • Changed 11
  • Source Changed 1
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 223
  • Travis Job 223.3
  • 0a6801d1 on github
  • Prev Job for BUILD_TYPE=coverage on issue60 (#222.3)
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