View | Details | Raw Unified | Return to bug 25544
Collapse All | Expand All

(-)usr.sbin/lpr/common_source/rmjob.c (+2 lines)
Lines 338-343 Link Here
338
	 * us to process requests of indeterminate length without
338
	 * us to process requests of indeterminate length without
339
	 * applying an arbitrary limit.  Arbitrary Limits Are Bad (tm).
339
	 * applying an arbitrary limit.  Arbitrary Limits Are Bad (tm).
340
	 */
340
	 */
341
	if(users < 0)
342
		users = 0;
341
	niov = 4 + 2 * users + requests + 1;
343
	niov = 4 + 2 * users + requests + 1;
342
	iov = malloc(niov * sizeof *iov);
344
	iov = malloc(niov * sizeof *iov);
343
	if (iov == 0)
345
	if (iov == 0)

Return to bug 25544