This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nis/17913] NIS+ getservbyname() Stack allocation


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]