Skip to content

Commit a6435de

Browse files
WL#8885: Introduce a delay in authentication process
based on successive failed login attempts Post push fix : fixing valgrind issue.
1 parent 06448ce commit a6435de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/connection_control/connection_delay.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@ namespace connection_control
839839
char buff[1024];
840840
String *res;
841841
String filter(buff, sizeof(buff), system_charset_info);
842-
if (eq_func->arguments()[2] != NULL &&
842+
if (eq_func->arguments()[1] != NULL &&
843843
(res= eq_func->arguments()[1]->val_str(&filter)))
844844
{
845845
eq_arg->append(res->c_ptr_safe(), res->length());

0 commit comments

Comments
 (0)