mariadb/innobase
Timothy Smith a786fa6109 Apply 3 patches from innodb-5.0-ss2637.
This fixes Bug#36149: Read buffer overflow in srv0start.c found during "make
test"

Per-revision comments:

r2484 | vasil | 2008-05-28 15:32:48 +0300 (Wed, 28 May 2008) | 9 lines

Fix Bug#36149 Read buffer overflow in srv0start.c found during "make test"

Use strncmp(3) instead of memcmp(3) to avoid reading past end of the string
if it is empty (*str == '\0'). This bug is _not_ a buffer overflow.

Discussed with:	Sunny (via IM)

r2538 | inaam | 2008-07-15 21:24:02 +0300 (Tue, 15 Jul 2008) | 15 lines

Fix of issue# 4

Fixed a timing hole where a thread dropping an index can free the
in-memory index struct while another thread is still using
that structure to remove entries from adaptive hash index belonging
to one of the pages that belongs to the index being dropped.

The fix is to have a reference counter in the index struct and to
wait for this counter to drop to zero beforing freeing the struct.

Reviewed by: Heikki


r2544 | inaam | 2008-07-22 18:58:11 +0300 (Tue, 22 Jul 2008) | 8 lines

Removed UNIV_INLINE qualifier from btr_search_info_get_ref_count().
Otherwise compilation failed on non-debug builds.

Pointed by: Vasil
2008-12-12 17:40:31 -07:00
..
btr Apply 3 patches from innodb-5.0-ss2637. 2008-12-12 17:40:31 -07:00
buf Cherry-pick InnoDB fixes for Bug#34286, Bug#35352, and Bug#36600 from snapshot 2008-07-31 15:47:57 -06:00
data my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
db Added Innobase to source distribution 2001-02-17 14:19:19 +02:00
dict Apply 3 patches from innodb-5.0-ss2637. 2008-12-12 17:40:31 -07:00
dyn my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
eval my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
fil Merge mysql.com:/home/kent/bk/tmp2/mysql-4.1-build 2007-01-11 12:43:30 +01:00
fsp NULL MERGE this ChangeSet to 5.1 2007-08-15 17:20:54 -06:00
fut my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
ha Merge mysql.com:/home/kent/bk/tmp2/mysql-4.1-build 2007-01-11 12:43:30 +01:00
ibuf NULL MERGE UP to 5.1. 2007-07-10 08:16:51 -06:00
include Apply 3 patches from innodb-5.0-ss2637. 2008-12-12 17:40:31 -07:00
lock NULL MERGE UP to 5.1. 2007-07-10 08:16:51 -06:00
log NULL MERGE this ChangeSet to 5.1 2007-08-15 17:20:54 -06:00
mach my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mem my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mtr NULL MERGE UP to 5.1. 2007-07-10 08:16:51 -06:00
os Applied InnoDB snapshot innodb-5.0-ss2095 2007-11-20 10:53:19 -07:00
page my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
pars my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
que my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
read my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
rem NULL MERGE UP to 5.1. 2007-07-10 08:16:51 -06:00
row NULL MERGE UP to 5.1. 2007-07-10 08:16:51 -06:00
srv Apply 3 patches from innodb-5.0-ss2637. 2008-12-12 17:40:31 -07:00
sync Applied InnoDB snapshot innodb-5.0-ss2095 2007-11-20 10:53:19 -07:00
thr Merge mysql.com:/home/kent/bk/tmp2/mysql-4.1-build 2007-01-11 12:43:30 +01:00
trx Cherry-pick InnoDB fixes for Bug#34286, Bug#35352, and Bug#36600 from snapshot 2008-07-31 15:47:57 -06:00
usr my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
ut Apply the rest of innodb-5.0-ss2475. This fixes Bug#36819, "ut_usectime does 2008-12-12 15:48:26 -07:00
CMakeLists.txt Bug#25765 too many dbg heap assertions on windows 2007-03-20 10:07:23 -04:00
configure.in Apply innodb-5.0-ss1405 snapshot 2007-04-18 19:36:22 -06:00
Makefile.am my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00