about summary refs log tree commit diff
path: root/nis/nis_call.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-05-24 04:07:18 +0000
committerUlrich Drepper <drepper@redhat.com>2006-05-24 04:07:18 +0000
commit2d571cd1258ab7c20a49e802e31870041dc10a56 (patch)
treeb211f02b858e06c3efe20a7708fe162c9df3d33c /nis/nis_call.c
parenta17fa6100dd400cd0c64aab1803c2047c95bfd5b (diff)
downloadglibc-2d571cd1258ab7c20a49e802e31870041dc10a56.tar.gz
glibc-2d571cd1258ab7c20a49e802e31870041dc10a56.tar.xz
glibc-2d571cd1258ab7c20a49e802e31870041dc10a56.zip
* nis/nis_domain_of_r.c (nis_domain_of_r): Add missing buffer
	overflow test.
Diffstat (limited to 'nis/nis_call.c')
-rw-r--r--nis/nis_call.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/nis/nis_call.c b/nis/nis_call.c
index bd6bcc50ab..9769f68174 100644
--- a/nis/nis_call.c
+++ b/nis/nis_call.c
@@ -30,6 +30,7 @@
 
 #include "nis_xdr.h"
 #include "nis_intern.h"
+#include <libnsl.h>
 
 static const struct timeval RPCTIMEOUT = {10, 0};
 static const struct timeval UDPTIMEOUT = {5, 0};
@@ -293,6 +294,8 @@ __do_niscall3 (dir_binding *dbp, u_long prog, xdrproc_t xargs, caddr_t req,
 
   return retcode;
 }
+libnsl_hidden_def (__do_niscall3)
+
 
 nis_error
 __do_niscall2 (const nis_server *server, u_int server_len, u_long prog,
@@ -573,6 +576,7 @@ __prepare_niscall (const_nis_name name, directory_obj **dirp,
 
   return retcode;
 }
+libnsl_hidden_def (__prepare_niscall)
 
 
 nis_error