mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 14:03:02 +01:00
Prevent garbage text output in log file
This commit is contained in:
parent
11116b88a5
commit
c0301b7e5f
@ -1658,7 +1658,8 @@ ULONG ISC_exception_post(ULONG except_code, TEXT * err_msg)
|
||||
err_msg = "";
|
||||
}
|
||||
|
||||
TEXT *log_msg = (TEXT *) gds__alloc(strlen(err_msg) + 256);
|
||||
TEXT* log_msg = (TEXT*) gds__alloc(strlen(err_msg) + 256);
|
||||
log_msg[0] = '\0';
|
||||
|
||||
switch (except_code) {
|
||||
case EXCEPTION_ACCESS_VIOLATION:
|
||||
|
Loading…
Reference in New Issue
Block a user