Below is the list of changes that have just been committed into a local
5.0 repository of msvensson. When msvensson 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, 2008-05-02 12:49:31+02:00, msvensson@stripped +1 -0
Bug#35986 valgrind warning in DbugParse for empty string in SET GLOBAL DEBUG=""
- Code in DbugParse was reading from beyond end of the control string
dbug/dbug.c@stripped, 2008-05-02 12:49:29+02:00, msvensson@stripped +1 -1
Don't try to parse control strings that hasn't got any tokens
or is zero size
diff -Nrup a/dbug/dbug.c b/dbug/dbug.c
--- a/dbug/dbug.c 2008-03-28 19:02:22 +01:00
+++ b/dbug/dbug.c 2008-05-02 12:49:29 +02:00
@@ -493,7 +493,7 @@ static void DbugParse(CODE_STATE *cs, co
}
end= DbugStrTok(control);
- while (1)
+ while (control < end)
{
int c, sign= (*control == '+') ? 1 : (*control == '-') ? -1 : 0;
if (sign) control++;
| Thread |
|---|
| • bk commit into 5.0 tree (msvensson:1.2614) BUG#35986 | msvensson | 2 May |