[cups.bugs] [HIGH] STR #3078: Quotas not enforced

Jiri Popelka jpopelka at redhat.com
Fri Oct 23 03:29:52 PDT 2009


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR Closed w/Resolution]

I think there's a bug in str3078.patch
here
@@ -1284,7 +1258,7 @@
           cupsdLogMessage(CUPSD_LOG_ERROR,
 	                  "[Job %d] Ran out of memory for job file types!",
 			  job->id);
-	  return;
+	  return (1);
 	}

I think there should be
+	  return (0);
because cupsdLoadJob() returns 1 on success and 0 on failure.

Link: http://www.cups.org/str.php?L3078
Version: 1.3.9
Fix Version: 1.4-current (r8295)





More information about the cups-devel mailing list