Skip to content

Commit

Permalink
Postfix for AV due to CORE-3649
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPeshkoff committed Mar 19, 2012
1 parent c3d90b3 commit cf0128b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/burp/burp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1107,7 +1107,7 @@ int gbak(Firebird::UtilSvc* uSvc)
{
// All calls to exit_local(), normal and error exits, wind up here
tdgbl->burp_throw = false;
if (tdgbl->action->act_action == ACT_backup_fini)
if (tdgbl->action && tdgbl->action->act_action == ACT_backup_fini)
{
tdgbl->exit_code = 0;
}
Expand Down Expand Up @@ -1187,7 +1187,7 @@ void BURP_abort()
**************************************/
BurpGlobals* tdgbl = BurpGlobals::getSpecific();

BURP_print(true, tdgbl->action->act_action == ACT_backup_fini ? 351 : 83);
BURP_print(true, tdgbl->action && tdgbl->action->act_action == ACT_backup_fini ? 351 : 83);
// msg 351 Error closing database, but backup file is OK
// msg 83 Exiting before completion due to errors

Expand Down

0 comments on commit cf0128b

Please sign in to comment.