HomeFreeBSD

net/echoping: fix the segmentation fault at dns.c:111

Description

net/echoping: fix the segmentation fault at dns.c:111

Add missing prototype for to_upper() which returns char *. Without it,
compiler assumed that it returns an int, which results in segmentation
fault in init() at dns.c when trying process its result which had been
cast to char *, albeit needlessly (this code does lots of bogus casts).

PR: 220294

Details

Provenance
danfeAuthored on Jul 13 2021, 9:47 AM
Parents
R11:dbb8d98297cc: sysutils/gdu: Add CONFLICTS_INSTALL
Branches
Unknown
Tags
Unknown