aboutsummaryrefslogtreecommitdiff
path: root/nscd
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-02-01 16:14:15 +0000
committerUlrich Drepper <drepper@redhat.com>2007-02-01 16:14:15 +0000
commit4a44ce79c6dee9a77207466142a36caa9fa54141 (patch)
tree20a07e11954af12cf170253bbc4429e28ca928df /nscd
parent58a2d52e95b8c38ce43dcfbd6cce1d1ca1196c61 (diff)
downloadglibc-4a44ce79c6dee9a77207466142a36caa9fa54141.tar
glibc-4a44ce79c6dee9a77207466142a36caa9fa54141.tar.gz
glibc-4a44ce79c6dee9a77207466142a36caa9fa54141.tar.bz2
glibc-4a44ce79c6dee9a77207466142a36caa9fa54141.zip
* sysdeps/unix/sysv/linux/i386/sysdep.h (PTR_MANGLE): Roll value beforecvs/fedora-glibc-20070202T0923
returning. (PTR_DEMANGLE): Real definition now that it's not the same as PRT_MANGLE anymore. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. * string/strerror_l.c: New file. * string/Makefile (routines): Add strerror_l. * string/string.h: Declare strerror_l. * string/Versions: Export strerror_l for GLIBC_2.6. * nscd/connections.c (nscd_run): Don't define MAXKEYLEN here.
Diffstat (limited to 'nscd')
-rw-r--r--nscd/connections.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/nscd/connections.c b/nscd/connections.c
index 03a75f9765..1328dc055e 100644
--- a/nscd/connections.c
+++ b/nscd/connections.c
@@ -1430,7 +1430,6 @@ nscd_run (void *p)
/* It should not be possible to crash the nscd with a silly
request (i.e., a terribly large key). We limit the size to 1kb. */
-#define MAXKEYLEN 1024
if (__builtin_expect (req.key_len, 1) < 0
|| __builtin_expect (req.key_len, 1) > MAXKEYLEN)
{