This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nis/17913] NIS+ getservbyname() Stack allocation
- From: "ppluzhnikov at google dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 24 Aug 2015 03:55:44 +0000
- Subject: [Bug nis/17913] NIS+ getservbyname() Stack allocation
- Auto-submitted: auto-generated
- References: <bug-17913-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17913
--- Comment #1 from Paul Pluzhnikov <ppluzhnikov at google dot com> ---
The _nss_nis_getservbyport_r() checking was added in commit 315eb1d8 for PR
16932:
2014-05-12 Andreas Schwab <schwab@suse.de>
[BZ #16932]
* nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
(_nss_nis_gethostbyname4_r): Return error if item length is larger
than maximum RPC packet size.
* nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
* nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
* nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
(_nss_nis_getservbyport_r): Likewise.
--
You are receiving this mail because:
You are on the CC list for the bug.