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

twaugh.redhat twaugh at redhat.com
Wed Jan 28 06:01:57 PST 2009


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

[STR New]

Quotas are not enforced because the current quota usage is not correctly
calculated.

When a job is not loaded in memory, job->attrs is NULL and so
time-at-completion, time-at-processing, and time-at-creation attributes
will not be found.  This causes cupsdUpdateQuota to break out of the quota
recalculation loop having reset the current usage to 0.

Here is a patch to attempt to load the job first.

Link: http://www.cups.org/str.php?L3078
Version: 1.3.9
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Load-job-attributes-when-recalculating-quotas.patch
URL: <https://lists.cups.org/pipermail/cups/attachments/20090128/e6400e9d/attachment.ksh>


More information about the cups mailing list