summaryrefslogtreecommitdiff
path: root/Docs/glibc-2.2.5.patch
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2002-05-20 12:11:15 +0300
committerunknown <monty@hundin.mysql.fi>2002-05-20 12:11:15 +0300
commit3f8a7a587326132c6790ef28c31d243ed625f9e2 (patch)
tree9e0716683cba023d6db9e7a92a41e6f1facab243 /Docs/glibc-2.2.5.patch
parent8a32ef1cf9e3d92230416b882b697aeb8867278c (diff)
downloadmariadb-git-3f8a7a587326132c6790ef28c31d243ed625f9e2.tar.gz
Updated assembler code from MySQL 4.0 (to make them work with gcc 3.0)
Fixed memory overrun bug in glibc patch Updated french error messages Docs/glibc-2.2.5.patch: Fixed memory overrun bug in glibc patch sql/share/french/errmsg.txt: Updated french error messages (patch from Loic Le Loarer) strings/longlong2str-x86.s: Updated from MySQL 4.0 (to make them work with gcc 3.0) strings/strings-x86.s: Updated from MySQL 4.0 (to make them work with gcc 3.0)
Diffstat (limited to 'Docs/glibc-2.2.5.patch')
-rw-r--r--Docs/glibc-2.2.5.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/Docs/glibc-2.2.5.patch b/Docs/glibc-2.2.5.patch
index fc12486d7d0..801984c84f7 100644
--- a/Docs/glibc-2.2.5.patch
+++ b/Docs/glibc-2.2.5.patch
@@ -52,7 +52,7 @@ diff -r -c --exclude=*.info* glibc-2.2.4/nss/nsswitch.c glibc-2.2.4-new/nss/nssw
while (isspace (line[0]))
++line;
***************
-*** 510,522 ****
+522
if (name == line)
return result;
@@ -86,7 +86,7 @@ diff -r -c --exclude=*.info* glibc-2.2.4/nss/nsswitch.c glibc-2.2.4-new/nss/nssw
if (new_service == NULL)
return result;
-! *((char *) __mempcpy (new_service->name, name, name_alloc_len)) = '\0';
+! *((char *) __mempcpy (new_service->name, name, name_alloc_len-1)) = '\0';
/* Set default actions. */
new_service->actions[2 + NSS_STATUS_TRYAGAIN] = NSS_ACTION_CONTINUE;