From 1c73d53e9ce85ece92747cbd0fedc8e646f3880f Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Jan 17 2007 11:54:25 +0000 Subject: 2.5.90-15 --- diff --git a/glibc-fedora.patch b/glibc-fedora.patch index 186baeb..d5c19a1 100644 --- a/glibc-fedora.patch +++ b/glibc-fedora.patch @@ -2193,3 +2193,18 @@ cfi_startproc; PSEUDO_END (BP_SYM (__clone)) +--- libc/nscd/nscd_getserv_r.c 14 Jan 2007 05:21:12 -0000 1.1 ++++ libc/nscd/nscd_getserv_r.c 17 Jan 2007 11:53:35 -0000 +@@ -123,10 +123,10 @@ nscd_getserv_r (const char *crit, size_t + if (((uintptr_t) aliases_len & (__alignof__ (*aliases_len) - 1)) + != 0) + { +- uint32_t *tmp = alloca (hst_resp->h_aliases_cnt ++ uint32_t *tmp = alloca (serv_resp->s_aliases_cnt + * sizeof (uint32_t)); + aliases_len = memcpy (tmp, aliases_len, +- hst_resp->h_aliases_cnt ++ serv_resp->s_aliases_cnt + * sizeof (uint32_t)); + } + #endif