From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) Dell would like to see this patch added to 7.1 The basic fix is to patch ucd-snmp/pass.c as follows: 407,408c407,410 < if (bin2asc(buf2, var_val_len) == (int)var_val_len) < sprintf(buf,"string %s",buf2); --- > if (var_val_len == 0) > sprintf(buf,"string \"\""); > else if (bin2asc(buf2, var_val_len) == (int)var_val_len) > sprintf(buf,"string \"%s\"",buf2); Net-snmp has had a chance to reproduce provide the above fix and include this fix into their tree. The request is for RedHat to include this patch as part of their 7.1 releases. Also information from sourceforge is provided below: http://sourceforge.net/tracker/index.php?func=detail&aid=40672 EAB Reproducible: Always Steps to Reproduce: 1. See code patch 2. 3.
I've built ucd-snmp-4.2-12 and have submitted it for approval.
approved this morning.
Created attachment 30834 [details] bad patch
Created attachment 30835 [details] Good patch
Note that the bad (current patch) has a printf(buf,"string\"\""); which should be a sprintf (good patch)
corrected in 4.2.1-7 and later.