MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:U-ROWVWADEjas Date:July 13 2007 5:29pm
Subject:bk commit into 6.0-falcon tree (jas:1.2632)
View as plain text  
Below is the list of changes that have just been committed into a local
6.0-falcon repository of . When  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, 2007-07-13 13:29:27-04:00, jas@rowvwade. +1 -0
  Fix out of allocated range reference to sparse array (should return
  null).
  
  This is a fix for bug 29601.

  storage/falcon/SparseArray.h@stripped, 2007-07-13 13:29:16-04:00, jas@rowvwade. +3 -0
    Fix out of allocated range reference to sparse array (should return
    null).

# 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:	jas
# Host:	rowvwade.
# Root:	D:/MySQL/mysql-5.1-falcon

--- 1.7/storage/falcon/SparseArray.h	2007-07-13 13:29:53 -04:00
+++ 1.8/storage/falcon/SparseArray.h	2007-07-13 13:29:53 -04:00
@@ -80,6 +80,9 @@
 		if (!vector)
 			return nullValue;
 
+		if (idx >= width)
+			return nullValue;
+
 		return ((T*) vector)[idx];			
 		};
 
Thread
bk commit into 6.0-falcon tree (jas:1.2632)U-ROWVWADEjas13 Jul