From 422c017ca50f553f1ee8676869182bff046aec1c Mon Sep 17 00:00:00 2001 From: Nick Kamal Date: Tue, 10 Dec 2024 18:51:55 -0500 Subject: [PATCH] changing lower bound to 1 --- runtime/rastrace/method_trigger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/rastrace/method_trigger.c b/runtime/rastrace/method_trigger.c index 827df0c43d9..809628dba5d 100644 --- a/runtime/rastrace/method_trigger.c +++ b/runtime/rastrace/method_trigger.c @@ -572,7 +572,7 @@ setMaxStringLength(J9JavaVM *vm, const char *str, BOOLEAN atRuntime) goto err; } - if ((0 <= value) && (value <= RAS_MAX_STRING_LENGTH_LIMIT)) { + if ((1 <= value) && (value <= RAS_MAX_STRING_LENGTH_LIMIT)) { RAS_GLOBAL_FROM_JAVAVM(maxStringLength, vm) = (unsigned int)value; return OMR_ERROR_NONE; }