apple / cups

Apple CUPS Sources
https://www.cups.org
Apache License 2.0
1.95k stars 464 forks source link

cupsPrintFiles sometimes returns zero as a job ID without any last error code. #538

Closed michaelrsweet closed 20 years ago

michaelrsweet commented 20 years ago

Version: 1.1.20 CUPS.org User: tora

Under the high-load situation, the "cupsPrintFiles" function sometimes returns zero without being set any error code into the last_error. Around the line #1419 of cups/util.c, when the "ippFindAttribute" function returns a NULL pointer, I guess, the last_error should be set, however no error code isn't set to it.

michaelrsweet commented 20 years ago

CUPS.org User: mike

Thanks, looking into this...

michaelrsweet commented 20 years ago

CUPS.org User: mike

Fixed in CVS - the anonymous CVS repository will be updated at midnight EST.