The fmt_ipinfo() returns variable from stack. In order a stack variable to
point to NULL there has to go so much things wrong that the program cannot
run - effectively this can happen when system memory is so low that even
global variables cannot be allocated.
#ifdef IPINFO
if(!ipinfo_no) {
char* fmtinfo = fmt_ipinfo(addr);
- if (fmtinfo != NULL) fmtinfo = trim(fmtinfo);
+ fmtinfo = trim(fmtinfo);
printf("MTR.%s,%lld,%s,%s,%d,%s,%s", MTR_VERSION, (long long)now, "OK", Hostname,
at+1, name, fmtinfo);
} else