Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 303610 Details for
Bug 443933
automount segfaults upon start
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to handle zero length key returned from NIS
autofs-5.0.3-handle-zero-length-nis-key.patch (text/plain), 722 bytes, created by
Ian Kent
on 2008-04-24 10:39:47 UTC
(
hide
)
Description:
Patch to handle zero length key returned from NIS
Filename:
MIME Type:
Creator:
Ian Kent
Created:
2008-04-24 10:39:47 UTC
Size:
722 bytes
patch
obsolete
>diff --git a/modules/lookup_yp.c b/modules/lookup_yp.c >index f5097dc..0fc84f8 100644 >--- a/modules/lookup_yp.c >+++ b/modules/lookup_yp.c >@@ -168,6 +168,10 @@ int yp_all_master_callback(int status, char *ypkey, int ypkeylen, > if (status != YP_TRUE) > return status; > >+ /* Ignore zero length keys */ >+ if (ypkeylen == 0) >+ return 0; >+ > /* > * Ignore keys beginning with '+' as plus map > * inclusion is only valid in file maps. >@@ -263,6 +267,10 @@ int yp_all_callback(int status, char *ypkey, int ypkeylen, > if (status != YP_TRUE) > return status; > >+ /* Ignore zero length keys */ >+ if (ypkeylen == 0) >+ return 0; >+ > /* > * Ignore keys beginning with '+' as plus map > * inclusion is only valid in file maps.
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 443933
:
303602
| 303610