mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 18:03:03 +01:00
Restore zero-initialization of just allocated buffers, that was lost with fix for #7873, unfortunately.
This commit is contained in:
parent
2ba5910261
commit
9b1e09c1a3
@ -897,6 +897,8 @@ BackupManager::BackupManager(thread_db* tdbb, Database* _database, int ini_state
|
||||
UCHAR* temp_buffers = reinterpret_cast<UCHAR*>
|
||||
(temp_buffers_space.getAlignedBuffer(database->dbb_page_size * 3, database->getIOBlockSize()));
|
||||
|
||||
memset(temp_buffers, 0, database->dbb_page_size * 3);
|
||||
|
||||
backup_state = ini_state;
|
||||
|
||||
empty_buffer = reinterpret_cast<ULONG*>(temp_buffers);
|
||||
|
Loading…
Reference in New Issue
Block a user