зеркало из https://github.com/mono/mail-archives.git
150 строки
4.0 KiB
HTML
150 строки
4.0 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-bugs] [Bug 476952] New: UnixGroupInfo bad behavior
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20476952%5D%20New%3A%20UnixGroupInfo%20bad%20behavior&In-Reply-To=">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="086209.html">
|
|
<LINK REL="Next" HREF="086186.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-bugs] [Bug 476952] New: UnixGroupInfo bad behavior</H1>
|
|
<B>bugzilla_noreply at novell.com</B>
|
|
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20476952%5D%20New%3A%20UnixGroupInfo%20bad%20behavior&In-Reply-To="
|
|
TITLE="[Mono-bugs] [Bug 476952] New: UnixGroupInfo bad behavior">bugzilla_noreply at novell.com
|
|
</A><BR>
|
|
<I>Wed Feb 18 07:36:05 EST 2009</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="086209.html">[Mono-bugs] [Bug 476895] gmcs fails to find inner attribute type
|
|
</A></li>
|
|
<LI>Next message: <A HREF="086186.html">[Mono-bugs] [Bug 476952] UnixGroupInfo bad behavior
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#86185">[ date ]</a>
|
|
<a href="thread.html#86185">[ thread ]</a>
|
|
<a href="subject.html#86185">[ subject ]</a>
|
|
<a href="author.html#86185">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE><A HREF="https://bugzilla.novell.com/show_bug.cgi?id=476952">https://bugzilla.novell.com/show_bug.cgi?id=476952</A>
|
|
|
|
|
|
Summary: UnixGroupInfo bad behavior
|
|
Classification: Mono
|
|
Product: Mono: Class Libraries
|
|
Version: 2.0.x
|
|
Platform: Other
|
|
OS/Version: Other
|
|
Status: NEW
|
|
Severity: Normal
|
|
Priority: P5 - None
|
|
Component: Mono.POSIX
|
|
AssignedTo: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">miguel at novell.com</A>
|
|
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">dpenalba at codicesoftware.com</A>
|
|
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
|
|
Found By: ---
|
|
|
|
|
|
Description of Problem:
|
|
|
|
The UnixGroupInfo.GetMembers() method throws a exception if a group in the
|
|
“/etc/groups” file has a non-referenced user in the “/etc/passwd” file, so any
|
|
member is retrieved for this group. I have changed the functionality in order
|
|
to retrieve all valid users and ignore the others.
|
|
|
|
Steps to reproduce the problem:
|
|
1. Edit the /etc/groups file and add a non existing user.
|
|
2. Use the UnixGroupInfo.GetMembers() method for this group.
|
|
|
|
|
|
Actual Results:
|
|
A exception is trown and any member is loaded for that group.
|
|
|
|
Expected Results:
|
|
The group is loaded without the corrupted user.
|
|
|
|
How often does this happen?
|
|
Always
|
|
|
|
Additional Information:
|
|
Attached is a patch file with the proposed change.
|
|
|
|
--
|
|
Configure bugmail: <A HREF="https://bugzilla.novell.com/userprefs.cgi?tab=email">https://bugzilla.novell.com/userprefs.cgi?tab=email</A>
|
|
------- You are receiving this mail because: -------
|
|
You are the QA contact for the bug.
|
|
</PRE>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="086209.html">[Mono-bugs] [Bug 476895] gmcs fails to find inner attribute type
|
|
</A></li>
|
|
<LI>Next message: <A HREF="086186.html">[Mono-bugs] [Bug 476952] UnixGroupInfo bad behavior
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#86185">[ date ]</a>
|
|
<a href="thread.html#86185">[ thread ]</a>
|
|
<a href="subject.html#86185">[ subject ]</a>
|
|
<a href="author.html#86185">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
|
|
mailing list</a><br>
|
|
</body></html>
|