-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TDBStore: Must use work buffer with size of programming unit.
In TDBStore::copy_record() we must prepare our content in size of full programming unit. If we don't have big enough buffer we end up writing garbage from our stack. In most cases, this is prevent by usage of output buffer, but when writing the record header, due the padding, we must write one full programming unit.
- Loading branch information
Seppo Takalo
committed
Nov 9, 2020
1 parent
cdc2d45
commit c8426e8
Showing
2 changed files
with
19 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters