FreeBSD Bugzilla – Attachment 8222 Details for
Bug 17310
[nis] [patch] NIS host name resolving may loop forever
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 432 bytes, created by
Pavlin Ivanov Radoslavov
on 2000-03-11 06:00:02 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Pavlin Ivanov Radoslavov
Created:
2000-03-11 06:00:02 UTC
Size:
432 bytes
patch
obsolete
>--- yplib.c.org Fri Mar 6 21:06:10 1998 >+++ yplib.c Fri Mar 10 16:17:02 2000 >@@ -623,6 +623,7 @@ > struct timeval tv; > struct ypreq_key yprk; > int r; >+ int retries = 0; > > *outval = NULL; > *outvallen = 0; >@@ -657,6 +658,11 @@ > #endif > > again: >+ retries++; >+ if (retries > MAX_RETRIES) { >+ xdr_free(xdr_ypresp_val, (char *)&yprv); >+ return YPERR_YPERR; >+ } > if( _yp_dobind(indomain, &ysd) != 0) > return YPERR_DOMAIN;
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 17310
: 8222