Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 65283 Details for
Bug 96370
mountd crashes with Assertion 'len > 0' failed on empty NIS netgroup
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
glibc-cvs-allow-empty-nis-groups.patch
glibc-cvs-allow-empty-nis-groups.patch (text/plain), 685 bytes, created by
SpanKY
on 2005-08-06 21:16:22 UTC
(
hide
)
Description:
glibc-cvs-allow-empty-nis-groups.patch
Filename:
MIME Type:
Creator:
SpanKY
Created:
2005-08-06 21:16:22 UTC
Size:
685 bytes
patch
obsolete
>Index: nis/nss_nis/nis-netgrp.c >=================================================================== >RCS file: /cvs/glibc/libc/nis/nss_nis/nis-netgrp.c,v >retrieving revision 1.12 >diff -u -p -r1.12 nis-netgrp.c >--- nis/nss_nis/nis-netgrp.c 14 Aug 2004 04:20:34 -0000 1.12 >+++ nis/nss_nis/nis-netgrp.c 7 Aug 2005 04:15:29 -0000 >@@ -75,7 +75,7 @@ _nss_nis_setnetgrent (const char *group, > which is one byte larger than the value in LEN specifies > and the last byte is filled with NUL. So we can simply > use that buffer. */ >- assert (len > 0); >+ assert (len >= 0); > assert (malloc_usable_size (netgrp->data) >= len + 1); > assert (netgrp->data[len] == '\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 96370
: 65283