FreeBSD Bugzilla – Attachment 128947 Details for
Bug 172856
[patch] security/munge: munged is uninterruptible and consumes cpu
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 945 bytes, created by
loic-freebsd
on 2012-10-18 16:00:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
loic-freebsd
Created:
2012-10-18 16:00:00 UTC
Size:
945 bytes
patch
obsolete
>diff -ruN munge.orig/Makefile munge/Makefile >--- munge.orig/Makefile 2012-10-18 16:39:17.000000000 +0200 >+++ munge/Makefile 2012-10-18 16:41:12.000000000 +0200 >@@ -7,6 +7,7 @@ > > PORTNAME= munge > PORTVERSION= 0.5.10 >+PORTREVISION= 1 > CATEGORIES= security > MASTER_SITES= GOOGLE_CODE > >diff -ruN munge.orig/files/patch-src-munged-xgetgrent.c munge/files/patch-src-munged-xgetgrent.c >--- munge.orig/files/patch-src-munged-xgetgrent.c 1970-01-01 01:00:00.000000000 +0100 >+++ munge/files/patch-src-munged-xgetgrent.c 2012-10-18 16:43:51.000000000 +0200 >@@ -0,0 +1,11 @@ >+--- src/munged/xgetgrent.c.orig 2012-10-18 16:42:46.000000000 +0200 >++++ src/munged/xgetgrent.c 2012-10-18 16:43:17.000000000 +0200 >+@@ -194,7 +194,7 @@ >+ >+ #if HAVE_GETGRENT_R_GNU >+ rv = getgrent_r (gr, buf, buflen, &gr_ptr); >+- if (rv == ENOENT) { >++ if (((rv == ENOENT) || (rv == 0)) && (gr_ptr == NULL)) { >+ got_eof = 1; >+ } >+ else if (rv != 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 172856
: 128947