diff --git a/ppd/libcups2.c b/ppd/libcups2.c index ad4f7146..e819d8fb 100644 --- a/ppd/libcups2.c +++ b/ppd/libcups2.c @@ -115,6 +115,10 @@ ppd_unquote(char *d, // O - Unquoted string if (*s == '\\') { s ++; + + if (!*s) + break; + if (isdigit(*s)) { *d = 0;