From 10541fc9dbe64ac7310357e0c8bba3a40c0f7b76 Mon Sep 17 00:00:00 2001 From: Ben Alex Date: Thu, 26 Jan 2006 09:28:30 +0000 Subject: [PATCH] SEC-137: Correct stack overflow with MethodInvocation.createFromClass(Class, Method). --- .../java/org/acegisecurity/util/MethodInvocationUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/org/acegisecurity/util/MethodInvocationUtils.java b/core/src/main/java/org/acegisecurity/util/MethodInvocationUtils.java index 12ff59443b..d8848227c5 100644 --- a/core/src/main/java/org/acegisecurity/util/MethodInvocationUtils.java +++ b/core/src/main/java/org/acegisecurity/util/MethodInvocationUtils.java @@ -1,4 +1,4 @@ -/* Copyright 2004, 2005 Acegi Technology Pty Limited +/* Copyright 2004, 2005, 2006 Acegi Technology Pty Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -100,7 +100,7 @@ public class MethodInvocationUtils { */ public static MethodInvocation createFromClass(Class clazz, String methodName) { - return createFromClass(clazz, methodName); + return createFromClass(clazz, methodName, null); } /**