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

c-ares / c-ares / #1295 / 1
88%
main: 92%

Build:
Build:
LAST BUILD BRANCH: overflow-safe-allocation
DEFAULT BRANCH: main
Ran 22 Jul 2024 07:55PM UTC
Files 158
Run time 5s
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

22 Jul 2024 07:51PM UTC coverage: 88.26% (-0.02%) from 88.277%
#1295.1

push

travis-ci

bradh352
mem leak due to `ares__hosts_entry_to_hostent()` allocation strategy (#824)

`ares__hosts_entry_to_hostent()` would allocate a separate buffer for
each address, but `ares_free_hostent()` expects a single allocation to
hold all addresses.

This PR fixes this issue and simplifies the logic by using the
already-existing `ares__addrinfo2hostent()` to write the hostent instead
of coming up with yet another way to write the structure.

Fixes #823 
Fix By: Brad House (@bradh352)

9247 of 10477 relevant lines covered (88.26%)

6088.32 hits per line

Source Files on job #1295.1
  • Tree
  • List 0
  • Changed 36
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1295
  • 4524a0cd on github
  • Prev Job for on v1.32 (##1287.1)
  • Next Job for on v1.32 (##1313.1)
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