Below is the list of changes that have just been committed into a local
4.1 repository of serg. When serg 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://www.mysql.com/doc/I/n/Installing_source_tree.html
ChangeSet
1.2005 04/08/21 23:53:42 serg@stripped +1 -0
libedit safety fix: account for closing \0
cmd-line-utils/libedit/history.c
1.4 04/08/21 23:53:37 serg@stripped +1 -1
account for closing \0
# 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: serg
# Host: serg.mylan
# Root: /usr/home/serg/Abk/mysql-4.1
--- 1.3/cmd-line-utils/libedit/history.c Fri Aug 20 01:34:29 2004
+++ 1.4/cmd-line-utils/libedit/history.c Sat Aug 21 23:53:37 2004
@@ -647,7 +647,7 @@
for (retval = HLAST(h, &ev);
retval != -1;
retval = HPREV(h, &ev), i++) {
- len = strlen(ev.str) * 4;
+ len = strlen(ev.str) * 4 + 1;
if (len >= max_size) {
max_size = (len + 1023) & ~1023;
ptr = h_realloc(ptr, max_size);
| Thread |
|---|
| • bk commit into 4.1 tree (serg:1.2005) | Sergei Golubchik | 21 Aug |