malformed json can trigger a ph_panic() and abort the process

The macro l_isxdigit in corelib/variant/json-load.c fails to ensure c is a valid hexadecimal character