16 lines
620 B
Diff
16 lines
620 B
Diff
Index: agent/mibgroup/ucd-snmp/versioninfo.c
|
|
===================================================================
|
|
--- agent/mibgroup/ucd-snmp/versioninfo.c.orig
|
|
+++ agent/mibgroup/ucd-snmp/versioninfo.c
|
|
@@ -130,8 +130,8 @@ var_extensible_version(struct variable *
|
|
case VERCONFIG:
|
|
#ifdef NETSNMP_CONFIGURE_OPTIONS
|
|
*var_len = strlen(config_opts);
|
|
- if (*var_len > 1024)
|
|
- *var_len = 1024; /* mib imposed restriction */
|
|
+ if (*var_len > 300)
|
|
+ *var_len = 300; /* mib imposed restriction */
|
|
return (u_char *) config_opts;
|
|
#else
|
|
sprintf(errmsg, "");
|