Author: madcoder Date: 2007-02-12 11:08:39 +0100 (Mon, 12 Feb 2007) New Revision: 1982
Added: glibc-package/trunk/debian/patches/any/cvs-getent-wrong-struct-size.diff Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/series Log: backport a fix for #347358. * patches/any/cvs-getent-wrong-struct-size.diff: fix a bad struct size in nss/getent.c, backport from glibc-2.5. Closes: #347358. Signed-off-by: Pierre Habouzit <[EMAIL PROTECTED]> Modified: glibc-package/trunk/debian/changelog =================================================================== --- glibc-package/trunk/debian/changelog 2007-02-12 10:01:19 UTC (rev 1981) +++ glibc-package/trunk/debian/changelog 2007-02-12 10:08:39 UTC (rev 1982) @@ -3,6 +3,8 @@ [ Pierre Habouzit ] * patches/any/cvs-sunrpc-xdrmem_setpos.diff: fix a pointer-to-cast problem in sunrpc, backport from glibc-2.5. Closes: #389084. + * patches/any/cvs-getent-wrong-struct-size.diff: fix a bad struct size in + nss/getent.c, backport from glibc-2.5. Closes: #347358. -- Pierre Habouzit <[EMAIL PROTECTED]> Mon, 12 Feb 2007 00:23:01 +0100 Added: glibc-package/trunk/debian/patches/any/cvs-getent-wrong-struct-size.diff =================================================================== --- glibc-package/trunk/debian/patches/any/cvs-getent-wrong-struct-size.diff 2007-02-12 10:01:19 UTC (rev 1981) +++ glibc-package/trunk/debian/patches/any/cvs-getent-wrong-struct-size.diff 2007-02-12 10:08:39 UTC (rev 1982) @@ -0,0 +1,16 @@ +Index: nss/getent.c +=================================================================== +--- nss/getent.c.orig ++++ nss/getent.c +@@ -279,9 +279,9 @@ + char addr[IN6ADDRSZ]; + + if (inet_pton (AF_INET6, key[i], &addr) > 0) +- host = gethostbyaddr (addr, sizeof (addr), AF_INET6); ++ host = gethostbyaddr (addr, IN6ADDRSZ, AF_INET6); + else if (inet_pton (AF_INET, key[i], &addr) > 0) +- host = gethostbyaddr (addr, sizeof (addr), AF_INET); ++ host = gethostbyaddr (addr, INADDRSZ, AF_INET); + else if ((host = gethostbyname2 (key[i], AF_INET6)) == NULL) + host = gethostbyname2 (key[i], AF_INET); + Modified: glibc-package/trunk/debian/patches/series =================================================================== --- glibc-package/trunk/debian/patches/series 2007-02-12 10:01:19 UTC (rev 1981) +++ glibc-package/trunk/debian/patches/series 2007-02-12 10:08:39 UTC (rev 1982) @@ -185,3 +185,4 @@ any/submitted-nis-netgrp.diff any/submitted-strfmon.diff any/cvs-sunrpc-xdrmem_setpos.diff +any/cvs-getent-wrong-struct-size.diff -p0 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]