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 303602 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), 1.09 KB, created by
Ian Kent
on 2008-04-24 09:08:07 UTC
(
hide
)
Description:
Patch to handle zero length key returned from NIS
Filename:
MIME Type:
Creator:
Ian Kent
Created:
2008-04-24 09:08:07 UTC
Size:
1.09 KB
patch
obsolete
>diff --git a/CHANGELOG b/CHANGELOG >index dd66e95..c221c13 100644 >--- a/CHANGELOG >+++ b/CHANGELOG >@@ -10,6 +10,7 @@ > - fix unlink of mount tree incorrectly causing autofs mount fail. > - update kernel header file linux/auto_fs4.h. > - update fix expire working harder than needed. >+- add missing check for zero length NIS key (Wengang Wang). > > 14/01/2008 autofs-5.0.3 > ----------------------- >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