FreeBSD Bugzilla – Attachment 13407 Details for
Bug 25544
[MFC] lprm - fails for remote printers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 404 bytes, created by
Andre Albsmeier
on 2001-03-05 16:40:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Andre Albsmeier
Created:
2001-03-05 16:40:01 UTC
Size:
404 bytes
patch
obsolete
>--- usr.sbin/lpr/common_source/rmjob.c.ORI Mon Mar 5 17:20:54 2001 >+++ usr.sbin/lpr/common_source/rmjob.c Mon Mar 5 17:21:58 2001 >@@ -338,6 +338,8 @@ > * us to process requests of indeterminate length without > * applying an arbitrary limit. Arbitrary Limits Are Bad (tm). > */ >+ if(users < 0) >+ users = 0; > niov = 4 + 2 * users + requests + 1; > iov = malloc(niov * sizeof *iov); > if (iov == 0)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 25544
: 13407