List:Commits« Previous MessageNext Message »
From:Ignacio Galarza Date:December 1 2006 3:04am
Subject:bk commit into 5.0 tree (iggy:1.2297) BUG#17951
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of iggy. When iggy 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-11-30 21:04:02-05:00, iggy@stripped +1 -0
  Bug#17951: myisampack --force --silent : abnormal end in Windows XP
  -myisampack wrote to a block on the heap that it did not allocate.

  myisam/myisampack.c@stripped, 2006-11-30 21:04:00-05:00, iggy@stripped +2
-0
    Bug#17951: myisampack --force --silent : abnormal end in Windows XP
    -Added additional check to ensure that only the allocated buffer is
    used.

# 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:	iggy
# Host:	rolltop.ignatz42.dyndns.org
# Root:	/mnt/storeage/bug17951/my50-bug17951

--- 1.52/myisam/myisampack.c	2006-11-30 21:04:08 -05:00
+++ 1.53/myisam/myisampack.c	2006-11-30 21:04:08 -05:00
@@ -2922,6 +2922,8 @@ static void flush_bits(void)
     bits-= 8;
     *file_buffer.pos++= (uchar) (bit_buffer >> bits);
   }
+  if (file_buffer.pos >= file_buffer.end)
+    VOID(flush_buffer(~ (ulong) 0));
   file_buffer.bits= BITS_SAVED;
   file_buffer.bitbucket= 0;
 }
Thread
bk commit into 5.0 tree (iggy:1.2297) BUG#17951Ignacio Galarza1 Dec