This is the mail archive of the libc-hacker@sourceware.org mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, there is a off by one error in nis-publickey: 2005-10-28 Thorsten Kukuk <kukuk@suse.de> * nis/nss_nis/nis-publickey.c(_nss_nis_getpublickey): fix off by one error. --- nis/nss_nis/nis-publickey.c 26 Aug 2002 06:20:04 -0000 1.13 +++ nis/nss_nis/nis-publickey.c 28 Oct 2005 12:53:02 -0000 @@ -120,7 +120,7 @@ ++p; strncpy (buf, p, 2 * (HEXKEYBYTES + 1)); - buf[2 * (HEXKEYBYTES + 1)] = '\0'; + buf[2 * HEXKEYBYTES + 1] = '\0'; if (!xdecrypt (buf, passwd)) return NSS_STATUS_SUCCESS; -- Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk@suse.de SUSE LINUX Products GmbH Maxfeldstr. 5 D-90409 Nuernberg -------------------------------------------------------------------- Key fingerprint = A368 676B 5E1B 3E46 CFCE 2D97 F8FD 4E23 56C6 FB4B
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |