catgets crashes on openWRT
As reported by an ISC DCHP user, a segfault occurs in the call to catgets() on openWRT in this issue:
It seems that catopen() returns -1 as the catalogs are not present. Subsequent calls to catgets() with an invalid pointer value of -1 cause it to segfault. Preliminary testing under Ubuntu 18.04 shows the catopen() returns 0 (contrary to the man page) but that catgets() handles a null pointer value safely.
This is present in 9.1.14.