Import of pkgsrc-2015Q1

This commit is contained in:
2015-04-22 14:34:26 +02:00
committed by Lionel Sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870550 additions and 795435 deletions

View File

@@ -0,0 +1,36 @@
$NetBSD: patch-mcs_class_System.Web_System.Web_WebROCollection.cs,v 1.1 2014/11/30 21:51:44 spz Exp $
patch for CVE-2012-3543 from
https://github.com/mono/mono/commit/c3e088bf2fc22d66d0f17b74676de366f661c3eb
part 3
--- mcs/class/System.Web/System.Web/WebROCollection.cs.orig 2011-11-15 17:22:42.000000000 +0000
+++ mcs/class/System.Web/System.Web/WebROCollection.cs
@@ -5,6 +5,7 @@
// Gonzalo Paniagua Javier (gonzalo@novell.com)
//
// (c) 2005-2009 Novell, Inc. (http://www.novell.com)
+// Copyright 2012 Xamarin, Inc (http://xamarin.com)
//
//
// Permission is hereby granted, free of charge, to any person obtaining
@@ -26,8 +27,10 @@
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Collections;
using System.Collections.Specialized;
using System.Text;
+using System.Web.Util;
namespace System.Web
{
@@ -36,7 +39,7 @@ namespace System.Web
bool got_id;
int id;
- public WebROCollection () : base (StringComparer.OrdinalIgnoreCase) { }
+ public WebROCollection () : base (SecureHashCodeProvider.DefaultInvariant, CaseInsensitiveComparer.DefaultInvariant) { }
public bool GotID {
get { return got_id; }
}