components/net-snmp/patches/025.7162956.util_funcs.patch
author Huie-Ying Lee <huieying.lee@oracle.com>
Wed, 20 May 2015 15:14:17 -0700
branchs11-update
changeset 4329 771a6f41f496
parent 876 46e15d3fb303
permissions -rw-r--r--
21078900 openssh server should fatal out when pam_setcred and pam_open_session fail

--- a/agent/mibgroup/util_funcs.c	2007-01-11 23:13:56.000000000 +0100
+++ b/agent/mibgroup/util_funcs.c	2012-06-01 13:20:07.243670066 +0200
@@ -254,7 +254,7 @@
 #if HAVE_EXECV
     char            cachefile[STRMAX];
     char            cache[NETSNMP_MAXCACHESIZE];
-    ssize_t         cachebytes;
+    int             cachebytes;
     int             cfd;
 #ifdef NETSNMP_EXCACHETIME
     long            curtime;