diff options
author | Satya B <satya.bn@sun.com> | 2009-04-07 16:54:32 +0530 |
---|---|---|
committer | Satya B <satya.bn@sun.com> | 2009-04-07 16:54:32 +0530 |
commit | 10350e2097393cb7410eedfcf6ba533faba20a56 (patch) | |
tree | c3cf0d01a49b23b2a17ced0a8aaaa9a51c8730d0 /sql/sql_base.cc | |
parent | 72e978828edb6b6cc045e6c728747dafd46b8732 (diff) | |
download | mariadb-git-10350e2097393cb7410eedfcf6ba533faba20a56.tar.gz |
Fix for Bug #43973 - backup_myisam.test fails on 6.0-bugteam
The test started failing following the push for BUG#41541.
Some of the algorithms access bytes beyond the input data
and this can affect up to one byte less than "word size"
which is BITS_SAVED / 8.
Fixed by adding (BITS_SAVED / 8) -1 bytes to buffer size
(i.e. Memory Segment #2) to avoid accessing un-allocated data.
myisam/mi_packrec.c:
Fixed _mi_read_pack_info() method to allocate (BITS_SAVED/8) - 1
bytes to the Memory Segment #2
mysql-test/r/myisampack.result:
Result file for BUG#43973
mysql-test/t/myisampack.test:
Testcase for BUG#43973
Diffstat (limited to 'sql/sql_base.cc')
0 files changed, 0 insertions, 0 deletions