]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix another STACK-detected bug.
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Fri, 1 Nov 2013 18:21:42 +0000 (18:21 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Fri, 1 Nov 2013 18:21:42 +0000 (18:21 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11371 a1ca3aef-8c08-0410-bb20-df032aa958be

backend/ipp.c

index 8c297c5dfabf286c64480ed37911133a3e1e19de..fb9700b110440f7a8dc7ac7f0e323df5bbda72c7 100644 (file)
@@ -3009,7 +3009,7 @@ quote_string(const char *s,               /* I - String */
   {
     if (*s == '\\' || *s == '\"' || *s == '\'')
     {
-      if (q < (qend - 4))
+      if (qptr < (qend - 4))
       {
        *qptr++ = '\\';
        *qptr++ = '\\';