fr_strerror_printf_push(..., fr_strerror_pop()) now crashes
in the address sanitizer. It's not clear what's going on in
strerror.c, so it's easier to just avoid the issue.
The errors are still printed, just a bit less clearly.
if (argc == 0) continue;
if (argc == 1) {
- fr_strerror_printf_push("Invalid entry");
+ fr_strerror_printf("Invalid entry");
error:
- fr_strerror_printf_push("Error in %s[%d] - %s",
- fn, line, fr_strerror_pop());
+ fr_strerror_printf_push("Error reading %s[%d]", fn, line);
fclose(fp);
return -1;
}