From: Michael R Sweet Date: Tue, 7 Mar 2017 20:46:51 +0000 (-0500) Subject: Also escape " in regex paths. X-Git-Tag: v2.2.3~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8a984948f397a37afd08fda673c9284b34309ecc;p=thirdparty%2Fcups.git Also escape " in regex paths. --- diff --git a/scheduler/process.c b/scheduler/process.c index cf67e74f3..27e8010f8 100644 --- a/scheduler/process.c +++ b/scheduler/process.c @@ -1,7 +1,7 @@ /* * Process management routines for the CUPS scheduler. * - * Copyright 2007-2015 by Apple Inc. + * Copyright 2007-2017 by Apple Inc. * Copyright 1997-2007 by Easy Software Products, all rights reserved. * * These coded instructions, statements, and computer programs are the @@ -874,7 +874,7 @@ cupsd_requote(char *dst, /* I - Destination buffer */ if (ch == '/' && !*src) break; /* Don't add trailing slash */ - if (strchr(".?*()[]^$\\", ch)) + if (strchr(".?*()[]^$\\\"", ch)) *dstptr++ = '\\'; *dstptr++ = (char)ch;