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

schweikert / fping / 44811115672
94%
master: 80%

Build:
Build:
LAST BUILD BRANCH: push-ykwtxzqskzsm
DEFAULT BRANCH: master
Ran 20 Nov 2026 08:27PM UTC
Jobs 5
Files 8
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

20 Nov 2026 08:24PM UTC coverage: 94.571% (-0.06%) from 94.632%
44811115672

push

github

schweikert
fping: pass actual received packet length to decode_icmp_ipv4 and decode_icmp_ipv6

wait_for_reply() previously passed sizeof(buffer) instead of the actual
recvmsg() byte count, bypassing packet-length checks on short or malformed
packets and allowing reads of stale/uninitialized buffer bytes.

- Pass clamped recv_buf_len to decode_icmp_ipv4() and decode_icmp_ipv6(),
  and align the receive buffer to 8 bytes.
- Validate outer and embedded IPv4 header lengths (using a shared
  ipv4_header_len() helper) and check sent_ip->ip_p == IPPROTO_ICMP.
- Increase Linux RECV_BUFSIZE from 128 to 160 bytes (max IPv4+options
  ICMP error headers are 136 bytes) and restrict MSG_TRUNC to Linux.

14 of 16 new or added lines in 1 file covered. (87.5%)

1 existing line in 1 file now uncovered.

1916 of 2026 relevant lines covered (94.57%)

746.59 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
94.68
-0.09% src/fping.c

Coverage Regressions

Lines Coverage ∆ File
1
94.68
-0.09% src/fping.c
Jobs
ID Job ID Ran Files Coverage
1 ubuntu-26.04 - 44811115672.1 20 Nov 2026 08:27PM UTC 8
92.83
GitHub Action Run
2 ubuntu-24.04 - 44811115672.2 20 Nov 2026 08:27PM UTC 8
92.83
GitHub Action Run
3 ubuntu-22.04 - 44811115672.3 20 Nov 2026 08:27PM UTC 8
92.83
GitHub Action Run
4 ubuntu-26.04-arm - 44811115672.4 20 Nov 2026 08:27PM UTC 8
92.83
GitHub Action Run
5 macos - 44811115672.5 20 Nov 2026 08:27PM UTC 8
83.38
GitHub Action Run
Source Files on build 44811115672
  • Tree
  • List 8
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #44811115672
  • 8320a6ee on github
  • Prev Build on develop (#44808618224)
  • Next Build on develop (#44811382478)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc