Below is the list of changes that have just been committed into a local
5.0 repository of svoj. When svoj does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet@stripped, 2006-10-25 15:59:05+05:00, svoj@stripped +1 -0
Merge mysql.com:/home/svoj/devel/mysql/BUG22053/mysql-4.1-engines
into mysql.com:/home/svoj/devel/mysql/BUG22053/mysql-5.0-engines
MERGE: 1.1616.2144.182
myisam/mi_dynrec.c@stripped, 2006-10-25 15:58:54+05:00, svoj@stripped +0 -0
Auto merged
MERGE: 1.36.1.5
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: svoj
# Host: april.(none)
# Root: /home/svoj/devel/mysql/BUG22053/mysql-5.0-engines/RESYNC
--- 1.43/myisam/mi_dynrec.c 2006-10-25 15:59:23 +05:00
+++ 1.44/myisam/mi_dynrec.c 2006-10-25 15:59:23 +05:00
@@ -1029,9 +1029,11 @@ ulong _mi_rec_unpack(register MI_INFO *i
{
uint size_length=rec_length- mi_portable_sizeof_char_ptr;
ulong blob_length=_mi_calc_blob_length(size_length,from);
- if ((ulong) (from_end-from) - size_length < blob_length ||
- min_pack_length > (uint) (from_end -(from+size_length+blob_length)))
- goto err;
+ ulong from_left= (ulong) (from_end - from);
+ if (from_left < size_length ||
+ from_left - size_length < blob_length ||
+ from_left - size_length - blob_length < min_pack_length)
+ goto err;
memcpy((byte*) to,(byte*) from,(size_t) size_length);
from+=size_length;
memcpy_fixed((byte*) to+size_length,(byte*) &from,sizeof(char*));
| Thread |
|---|
| • bk commit into 5.0 tree (svoj:1.2287) | Sergey Vojtovich | 25 Oct |