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

c-ares / c-ares / 24313351165
92%

Build:
DEFAULT BRANCH: main
Ran 12 Apr 2026 06:34PM UTC
Jobs 1
Files 177
Run time 1min
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

12 Apr 2026 06:24PM UTC coverage: 91.687%. Remained the same
24313351165

push

github

web-flow
Fix zero-length RAW_RR losing type metadata during parsing (#1129)

ares_dns_parse_rr_raw_rr() returned early when rdlength==0 without
setting ARES_RR_RAW_RR_TYPE, so the record's type was lost (left as 0).
Move the type assignment to the top of the function so it is set
unconditionally, before the zero-length early return.

Add test with a hand-crafted DNS packet containing a zero-length RAW_RR
with type 65432, verifying the type survives the parse.

---------

Signed-off-by: David Hotham (@dimbleby)

14 of 15 new or added lines in 2 files covered. (93.33%)

6 existing lines in 2 files now uncovered.

22808 of 24876 relevant lines covered (91.69%)

13052.9 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
83.74
0.32% src/lib/record/ares_dns_parse.c

Coverage Regressions

Lines Coverage ∆ File
5
89.06
-1.89% src/lib/record/ares_dns_name.c
1
87.75
-0.1% src/lib/record/ares_dns_record.c
Jobs
ID Job ID Ran Files Coverage
1 24313351165.1 12 Apr 2026 06:34PM UTC 935
61.32
GitHub Action Run
Source Files on build 24313351165
  • Tree
  • List 177
  • Changed 58
  • Source Changed 0
  • Coverage Changed 58
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • bd7d871e on github
  • Prev Build on main (#24313314138)
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