From 4505e0a611518792e2595ae633dc42a9720bd1f8 Mon Sep 17 00:00:00 2001 From: hvlad Date: Thu, 6 Mar 2008 19:06:40 +0000 Subject: [PATCH] Simpified fix for CORE-1775 : Improve performance of security checking --- src/jrd/scl.epp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jrd/scl.epp b/src/jrd/scl.epp index 329513c9cc..a3c0319aac 100644 --- a/src/jrd/scl.epp +++ b/src/jrd/scl.epp @@ -468,7 +468,7 @@ SecurityClass* SCL_get_class(const TEXT* _string) s_class; s_class = s_class->scl_next) { - if (string == s_class->scl_name) { + if (!strcmp(string.c_str(), s_class->scl_name)) { return s_class; } }