Skip to content

Commit

Permalink
This should fix bug #7996 : gbak terminates/crashes when a read error…
Browse files Browse the repository at this point in the history
… occurs during restore
  • Loading branch information
hvlad committed Feb 8, 2024
1 parent 082030d commit 78eab2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/burp/restore.epp
Original file line number Diff line number Diff line change
Expand Up @@ -12304,7 +12304,7 @@ bool RestoreRelationTask::fileReader(Item& item)

const RCRD_LENGTH length = m_metadata.m_inMsgLen; // full record length

IOBuffer* ioBuf = NULL;
IOBuffer*& ioBuf = item.m_buffer = NULL;
FB_SSIZE_T space = 0; // space left in current buffer
UCHAR* buf = NULL; // pointer at the current buffer

Expand Down

0 comments on commit 78eab2d

Please sign in to comment.