mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 10:03:03 +01:00
Fixed problem with uninitialized structure.
This commit is contained in:
parent
8447bf8ed1
commit
84b6956021
@ -20,7 +20,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): ______________________________________.
|
* Contributor(s): ______________________________________.
|
||||||
*
|
*
|
||||||
* $Id: rse.cpp,v 1.18 2003-01-16 17:47:04 skidder Exp $
|
* $Id: rse.cpp,v 1.19 2003-01-17 13:46:56 dimitr Exp $
|
||||||
*
|
*
|
||||||
* 2001.07.28: John Bellardo: Implemented rse_skip and made rse_first work with
|
* 2001.07.28: John Bellardo: Implemented rse_skip and made rse_first work with
|
||||||
* seekable streams.
|
* seekable streams.
|
||||||
@ -3696,6 +3696,7 @@ static void write_merge_block(TDBB tdbb, MFB mfb, ULONG block)
|
|||||||
|
|
||||||
if (!(sfb_ = mfb->mfb_sfb)) {
|
if (!(sfb_ = mfb->mfb_sfb)) {
|
||||||
sfb_ = mfb->mfb_sfb = FB_NEW(*getDefaultMemoryPool()) sfb;
|
sfb_ = mfb->mfb_sfb = FB_NEW(*getDefaultMemoryPool()) sfb;
|
||||||
|
memset(sfb_, 0, sizeof(struct sfb));
|
||||||
}
|
}
|
||||||
if (!sfb_->sfb_file_name) {
|
if (!sfb_->sfb_file_name) {
|
||||||
TEXT file_name[128];
|
TEXT file_name[128];
|
||||||
|
Loading…
Reference in New Issue
Block a user