Bug 584807

Summary: typo in code of agent/mibgroup/ip-mib/data_access/systemstats_common.c
Product: Red Hat Enterprise Linux 5 Reporter: Olivier Fourdan <ofourdan>
Component: net-snmpAssignee: Jan Safranek <jsafrane>
Status: CLOSED ERRATA QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: high    
Version: 5.5CC: kem, ksrot, rvokal, tao, tumeya
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 597265 (view as bug list) Environment:
Last Closed: 2011-07-21 09:08:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 590060, 597265    
Attachments:
Description Flags
Proposed patch none

Description Olivier Fourdan 2010-04-22 13:20:29 UTC
Created attachment 408321 [details]
Proposed patch

Description of problem:

It seems there's a typo in netsnmp_access_systemstats_entry_update_stats() from agent/mibgroup/ip-mib/data_access/systemstats_common.c

  322         prev_vals->stats.InUnknownProtos = new_vals->stats.InUnknownProtos;
  323         prev_vals->stats.InTruncatedPkts = new_vals->stats.InTruncatedPkts;
  324         prev_vals->stats.ReasmReqds = new_vals->stats.InTruncatedPkts;
                                                            ^^^^^^^^^^^^^^^

Should be prev_vals->stats.ReasmReqds = new_vals->stats.ReasmReqds

Version-Release number of selected component (if applicable):

Reported on net-snmp-5.3.2.2-9.el5 but also present in current svn trunk upstream:

http://net-snmp.svn.sourceforge.net/viewvc/net-snmp/trunk/net-snmp/agent/mibgroup/ip-mib/data_access/systemstats_common.c?view=markup

(line 324)

How reproducible:
Steps to Reproduce:
Actual results:
Expected results:

N/A

Additional info:

Comment 7 errata-xmlrpc 2011-07-21 09:08:49 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-1076.html

Comment 8 errata-xmlrpc 2011-07-21 12:22:00 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-1076.html