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

c-ares / c-ares / 24313359540
92%
main: 92%

Build:
Build:
LAST BUILD BRANCH: nameoffset-14bit-ptr
DEFAULT BRANCH: main
Ran 12 Apr 2026 06:35PM 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.726% (-0.002%) from 91.728%
24313359540

push

github

bradh352
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%)

4 existing lines in 4 files now uncovered.

22793 of 24849 relevant lines covered (91.73%)

12950.38 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
1
95.55
-0.4% src/lib/ares_init.c
1
86.67
-0.61% src/lib/dsa/ares_array.c
1
87.56
-0.1% src/lib/record/ares_dns_record.c
1
76.47
-1.53% src/lib/util/ares_math.c
Jobs
ID Job ID Ran Files Coverage
1 24313359540.1 12 Apr 2026 06:35PM UTC 935
61.33
GitHub Action Run
Source Files on build 24313359540
  • Tree
  • List 177
  • Changed 60
  • Source Changed 0
  • Coverage Changed 60
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 66a56075 on github
  • Prev Build on v1.34 (#24313324764)
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