Permalink
Switch branches/tags
Commits on Mar 23, 2011
Commits on Mar 22, 2011
  1. Fix randomly failing unit test

    Sebastien Pouliot committed with grendello Nov 30, 2010
    * MachineKeySectionUtilsTest.cs: Do not assume xor will change a byte
  2. [asp.net] Part of fix for bug #649546. A partial rewrite of the web/s…

    grendello committed Dec 1, 2010
    …cript resource handler.
    
        Backport of commit a9cb57c
    
        * System.Web/System.Web.Handlers/AssemblyResourceLoader.cs: AssemblyResourceLoader/ScriptResourceHandler must
          always generate the same URL for every assembly+resource pair, or otherwise the browser would re-fetch
          the resource in situations where it is not desired (e.g. during an async request to the server to update
          a panel).
          The generated URLs are not encrypted using real encryption, just hashed.
          In addition, the handler code got modernized a bit.
    
        * System.Web.Extensions/System.Web.UI/ScriptManager.cs: scriptStartupBlock is a 3.5+ thing
    
        * System.Web.Extensions_1.0/Makefile: use the 1.0 Microsoft AJAX library for this compat assembly
    
        * System.Web/System.Web.Util/MachineKeySectionUtils.cs: made GetValidationKey public
  3. [asp.net] make sure the string we pass to DecryptAssemblyResource is …

    grendello committed Dec 1, 2010
    …a valid Base64 string
    
    Backport of commit 2a6bc36
  4. [asp.net] A few moves/changes following previous patch review

    grendello committed Dec 1, 2010
        Backport of commit 21d2c6a
    
        * Makefile: Compile tests with TEST defined (to include System.Web.Util.
        MachineKeySectionUtils unit tests)
        * System.Web.dll.sources: Move MachineKeySectionUtils.cs from System.
        Web.Configuration_2.0 to System.Web.Util
        * System.Web_test.dll.sources: Move MachineKeySectionUtilsTest.cs from
        System.Web.Configuration_2.0 to System.Web.Util
    
        * System.Web.Configuration_2.0/MachineKeySection.cs: Adjust using
        clauses. Uncomment some code. Fix TripleDES versus 3DES for Validation
        under NET_4_0. Remove 'private' on fields/methods.
        * System.Web.Handlers/AssemblyResourceLoader.cs: Adjust using clauses
        * System.Web.Security/MembershipHelper.cs: Adjust using clauses
        * System.Web.Security/RolePrincipal.cs: Adjust using clauses
        * System.Web.SessionState_2.0/SessionId.cs: Adjust using clauses
        * System.Web.UI/LosFormatter.cs: Adjust using clauses.
        * System.Web.Util/MachineKeySectionUtils.cs: Moved from System.Web.
        Configuration_2.0. Rename namespace and remove 'internal' on type
        declaration
    
        * Test/System.Web.Util/MachineKeySectionUtilsTest.cs: Moved from Test/
        System.Web.Configuration/MachineKeySectionTest.cs. Add test case for
        TripleDES versus 3DES
  5. [asp.net] Normalization of cryptographic uses in asp.net.

    grendello committed Dec 1, 2010
        Backport of commit a22389f
            Normalization of cryptographic uses in asp.net
    
        * System.Web.Configuration_2.0/MachineKeyRegistryStorage.cs:
        Remove key length check and generic key generation.
    
        * System.Web.Configuration_2.0/MachineKeySection.cs: Add support for 4.0
        ValidationAlgorithm and the use of custom algorithms (validation and
        decryption). Allow the use of any, valid, key length (based on the
        algorithm). Let each algorithm creates its own key (e.g. special needs,
        default length...)
    
        * System.Web.Configuration_2.0/MachineKeySectionUtils.cs: Remove key
        generation (from random) code and 192bits key length hack (won't work
        with custom algorithms). Add support for new (4.0) algorithms, including
        custom ones. Provide uniform/shared code to Encrypt/Decrypt, Sign/Verify
        and EncryptSign/VerifyDecrypt using MachineKeySection data.
    
        * System.Web.Configuration_2.0/MachineKeyValidation.cs: Add new (4.0)
        values.
    
        * System.Web.Configuration_2.0/MachineKeyValidationConverter.cs: Add
        support for new (4.0) algorithms.
    
        * System.Web.Handlers/AssemblyResourceLoader.cs: Use the new common
        cryptographic code and base64 the encrypted data.
    
        * System.Web.Security/FormsAuthentication.cs: Use the new common
        cryptographic code and base64 the signed and/or encrypted data.
    
        * System.Web.Security/MembershipHelper.cs: Use the new common
        cryptographic code - this should be 100% compatible with existing data.
    
        * System.Web.Security/RolePrincipal.cs: Use the new common cryptographic
        code.
    
        * System.Web.Security/SqliteMembershipProvider.cs: Adapt code for
        internal API change.
Commits on Apr 29, 2010
  1. 2010-04-29 Marek Habersack <mhabersack@novell.com>

    grendello committed Apr 29, 2010
    	* PageParser.cs, Page.cs: do not ignore the EnableViewStateMac
    	directive attribute. Fixes bug #592428
    	Fixes cross-site scripting vulnerability (CVE: CVE-2010-1459)
    	Credits: Web Security Research Group (WSRG) of Hewlett Packard
    	(HP)
    
    2010-04-29  Marek Habersack  <mhabersack@novell.com>
    
    	* PagesConfiguration.cs: make EnableViewStateMac default to
    	true. Fixes bug #592428 
    	Fixes cross-site scripting vulnerability (CVE: CVE-2010-1459)
    	Credits: Web Security Research Group (WSRG) of Hewlett Packard
    	(HP)
    
    svn path=/branches/mono-2-0/mcs/; revision=156449
Commits on Jul 14, 2009
  1. Security fix for CVE-2009-0217

    Sebastien Pouliot committed Jul 14, 2009
    svn path=/branches/mono-2-0/mcs/; revision=137888
Commits on Jun 17, 2009
  1. 2009-06-16 Geoff Norton <gnorton@novell.com>

    vargaz committed Jun 17, 2009
            * include/private/gcconfig.h:  Disable static scanning on this platform
            * misc.c: Enable platform-specific disabling of static scanning
    
    svn path=/branches/mono-2-0/mono/; revision=136281
Commits on May 30, 2009
  1. 2009-05-30 Zoltan Varga <vargaz@gmain.com>

    vargaz committed May 30, 2009
            * gc_wrapper.h: Disable thread-local allocation on arm.
    
    svn path=/branches/mono-2-0/mono/; revision=135096
Commits on Apr 6, 2009
  1. backport of the fix for 489019

    gonzalop committed Apr 6, 2009
    svn path=/branches/mono-2-0/mono/; revision=131136
  2. 2009-04-06 Zoltan Varga <vargaz@gmail.com>

    vargaz committed Apr 6, 2009
    	* mini-arm.c (mono_arch_output_basic_block): Fix int->float conversion of
    	negative numbers for vfp.
    
    	* basic-float.cs: Add a test.
    
    svn path=/branches/mono-2-0/mono/; revision=131129
  3. 2009-04-06 Zoltan Varga <vargaz@gmail.com>

    vargaz committed Apr 6, 2009
    	* arm/arm-vfp-codegen.h: Add ARM_FSITOS/ARM_FSITOD.
    
    svn path=/branches/mono-2-0/mono/; revision=131128
Commits on Apr 2, 2009
  1. 2009-04-02 Zoltan Varga <vargaz@gmail.com>

    vargaz committed Apr 2, 2009
    	* mini-arm.h mini-arm.c cpu-arm.md: Finish VFP support.
    
    svn path=/branches/mono-2-0/mono/; revision=130882
  2. 2009-04-02 Zoltan Varga <vargaz@gmail.com>

    vargaz committed Apr 2, 2009
    	* arm/arm-vfp-codegen.h: Add missing VFP codegen macros.
    
    svn path=/branches/mono-2-0/mono/; revision=130820
Commits on Jan 30, 2009
  1. 2009-01-30 Zoltan Varga <vargaz@gmail.com>

    vargaz committed Jan 30, 2009
    	* exceptions-arm.c (mono_arch_get_throw_exception_generic): Fix the
    	previous change.
    
    svn path=/branches/mono-2-0/mono/; revision=125027
Commits on Jan 29, 2009
  1. 2009-01-29 Zoltan Varga <vargaz@gmail.com>

    vargaz committed Jan 29, 2009
    	* aot-compiler.c aot-runtime.c: Add full-aot support delegate BeginInvoke/EndInvoke.
    
    svn path=/branches/mono-2-0/mono/; revision=124984
  2. 2009-01-29 Zoltan Varga <vargaz@gmail.com>

    vargaz committed Jan 29, 2009
    	* exceptions-arm.c (mono_arm_throw_exception_by_token): New helper function
    	to avoid calling mono_exception_from_token () from the throw trampoline.
    	(mono_arch_get_throw_exception_generic): call throw_exception_by_token
    	for throwing corlib exceptions, this fixes full-aot support for corlib
    	exceptions.
    
    svn path=/branches/mono-2-0/mono/; revision=124978
  3. 2009-01-29 Zoltan Varga <vargaz@gmail.com>

    vargaz committed Jan 29, 2009
    	* exceptions-arm.c (mono_arm_throw_exception_by_token): New helper function
    	to avoid calling mono_exception_from_token () from the throw trampoline.
    	(mono_arch_get_throw_exception_generic): call throw_exception_by_token
    	for throwing corlib exceptions, this fixes full-aot support for corlib
    	exceptions.
    
    svn path=/branches/mono-2-0/mono/; revision=124977
Commits on Jan 27, 2009
  1. 2009-01-26 Jeffrey Stedfast <fejj@novell.com>

    jstedfast committed Jan 27, 2009
    	* mono-mutex.[c,h]: Removed GPLv2 copyright notice which should
    	not have been there.
    
    
    svn path=/branches/mono-2-0/mono/; revision=124695
Commits on Jan 26, 2009
  1. 2009-01-26 Zoltan Varga <vargaz@gmail.com>

    vargaz committed Jan 26, 2009
    	Backport of r124456.
    
    	* exceptions-amd64.c (mono_arch_exceptions_init): Call 
    	get_throw_pending_exception () to avoid initialization races.
    
    	* mini-exceptions.c (mono_exceptions_init): Call an arch specific
    	mono_arch_exceptions_init () function.
    
    svn path=/branches/mono-2-0/mono/; revision=124460
Commits on Jan 23, 2009
  1. 2009-01-23 Zoltan Varga <vargaz@gmail.com>

    vargaz committed Jan 23, 2009
    	Backport of r124337.
    	
    	* aot-compiler.c aot-runtime.c: Treat delegate-invoke wrappers similarly to
    	runtime-invoke wrappers, since they are also shared based on signature.
    
    svn path=/branches/mono-2-0/mono/; revision=124338
Commits on Jan 22, 2009
  1. 2009-01-23 Zoltan Varga <vargaz@gmail.com>

    vargaz committed Jan 22, 2009
    	Backport of r124266.
    	
    	* metadata.c (mono_metadata_load_generic_params): Initialize the 
    	MonoGenericParam structure using memset so the image field is initialized
    	as well.
    
    svn path=/branches/mono-2-0/mono/; revision=124271
Commits on Jan 19, 2009
  1. 2009-01-19 Zoltan Varga <vargaz@gmail.com>

    vargaz committed Jan 19, 2009
    	Backport of r123812.
    	
    	* loader.c (search_in_array_class): Call mono_class_setup_methods () before
    	accessing klass->methods. Fixes #467385.
    
    svn path=/branches/mono-2-0/mono/; revision=123815
  2. 2009-01-19 Rodrigo Kumpera <rkumpera@novell.com>

    kumpera committed Jan 19, 2009
    	Backport of r123754.
    
    	* mini.c (mini_thread_cleanup): Don't cleanup TLS storage if the
    	thread been cleaned up is not the same currently in execution.
    
    	Fixes appdomain-unload crashes on windows, osx and linux variants
    	without the __thread keyword.
    
    
    svn path=/branches/mono-2-0/mono/; revision=123786
Commits on Jan 18, 2009
  1. 2009-01-16 Zoltan Varga <vargaz@gmail.com>

    vargaz committed Jan 18, 2009
    	Backport of r123201.
    	
    	* marshal.c: Avoid setting the exception clauses after a method has been entered 
    	into the wrapper caches. Fixes #465700.
    
    	* method-builder.c (mono_mb_set_clauses): New function to set the clauses of the
    	method builder.
    	(mono_mb_create_method): Set the clauses from the method builder.
    
    svn path=/branches/mono-2-0/mono/; revision=123727
  2. 2009-01-13 Zoltan Varga <vargaz@gmail.com>

    vargaz committed Jan 18, 2009
    	Backport of r123258.
    	
    	* mini.c (SIG_HANDLER_SIGNATURE): Avoid crashes when the current thread or
    	domain is not set. Fixes #465864.
    
    svn path=/branches/mono-2-0/mono/; revision=123726
  3. 2009-01-16 Zoltan Varga <vargaz@gmail.com>

    vargaz committed Jan 18, 2009
    	Backport of r123642.
    	
    	* threads.c (mono_threads_abort_appdomain_threads): Abort threads outside the
    	threads_lock () to prevent deadlocks.
    
    svn path=/branches/mono-2-0/mono/; revision=123724
Commits on Jan 12, 2009
  1. 2009-01-12 Zoltan Varga <vargaz@gmail.com>

    vargaz committed Jan 12, 2009
    	Backport of r123092.
    	
    	* marshal.c (mono_marshal_get_synchronized_wrapper): Make the 
    	initialization of the various _method variables thread safe. Fixes
    	#465377.
    
    svn path=/branches/mono-2-0/mono/; revision=123097
Commits on Jan 9, 2009
  1. 2009-01-09 Zoltan Varga <vargaz@gmail.com>

    vargaz committed Jan 9, 2009
    	Backport of r122907.
    	
    	* CustomAttributeData.cs (ToString): Applied patch from Leszek Ciesielski
    	<skolima@gmail.com>. Use DeclaringType.FullName instead of DeclaringType.Name.
    	Fixes #464830.
    
    svn path=/branches/mono-2-0/mcs/; revision=122910
Commits on Jan 8, 2009
  1. Backport of r122839.

    grendello committed Jan 8, 2009
    svn path=/branches/mono-2-0/mcs/; revision=122840
  2. 2009-01-08 Zoltan Varga <vargaz@gmail.com>

    vargaz committed Jan 8, 2009
    	Backport of r122804.
    	
    	* mini.c (mono_method_to_ir): Fix the check for the mscorlib ldstr 
    	optimization. Fixes #464520.
    
    svn path=/branches/mono-2-0/mono/; revision=122810
Commits on Jan 7, 2009
  1. 2008-12-16 Zoltan Varga <vargaz@gmail.com>

    vargaz committed Jan 7, 2009
    	* class.c (mono_class_get_fields): Handle loading errors.
    
    svn path=/branches/mono-2-0/mono/; revision=122713
  2. 2009-01-07 Zoltan Varga <vargaz@gmail.com>

    vargaz committed Jan 7, 2009
    	Backport of 122702.
    	
    	* mini-arm.c (mono_arch_flush_icache): Use __GNUC_PREREQ instead of checking
    	__GNUC_MINOR__ which can break when the major version changes.
    
    svn path=/branches/mono-2-0/mono/; revision=122707
Commits on Jan 5, 2009
  1. 2009-01-05 Zoltan Varga <vargaz@gmail.com>

    vargaz committed Jan 5, 2009
    	Backport of r122452.
    
    	* mini.c (mono_allocate_stack_slots_full2): Use mono_class_from_mono_type
    	instead of directly accessing type->data.klass. Fixes #462016.
    	(mono_allocate_stack_slots_full): Ditto.
    
    svn path=/branches/mono-2-0/mono/; revision=122454