8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 09:23:03 +01:00

Prevent garbage text output in log file

This commit is contained in:
tamlin 2003-02-12 18:47:00 +00:00
parent 11116b88a5
commit c0301b7e5f

View File

@ -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: