File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -383,7 +383,7 @@ static Firebird::ITransaction* D__trans = NULL;
383383static Firebird::ITransaction* M__trans = NULL;
384384static int global_numbufs; // # of cache buffers on connect
385385static Firebird::IStatement* global_Stmt = NULL;
386- static SCHAR Password[128 ];
386+ static SCHAR Password[PASSWORD_LENGTH ];
387387static SCHAR Charset[128];
388388static bool Merge_stderr;
389389
@@ -6176,7 +6176,7 @@ static processing_state newdb(TEXT* dbname,
61766176 strcpy(dbname, save_database);
61776177 ISQL_FREE(save_database);
61786178
6179- TEXT local_psw[BUFFER_LENGTH128 ];
6179+ TEXT local_psw[PASSWORD_LENGTH ];
61806180 TEXT local_usr[BUFFER_LENGTH128];
61816181 TEXT local_sql_role[BUFFER_LENGTH256];
61826182
Original file line number Diff line number Diff line change 4242const int PRINT_BUFFER_LENGTH = 1024 ;
4343const int MAXTERM_SIZE = 32 ; // SQL termination character
4444const int USER_LENGTH = 128 ;
45- const int PASSWORD_LENGTH = 128 ;
45+ const int PASSWORD_LENGTH = 8192 ;
4646const int ROLE_LENGTH = 128 ;
4747
4848/* these constants are purely idiotic; there's no point in having
You can’t perform that action at this time.
0 commit comments