Bug 584807 - typo in code of agent/mibgroup/ip-mib/data_access/systemstats_common.c
typo in code of agent/mibgroup/ip-mib/data_access/systemstats_common.c
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: net-snmp (Show other bugs)
5.5
All Linux
high Severity medium
: rc
: ---
Assigned To: Jan Safranek
BaseOS QE Security Team
:
Depends On:
Blocks: 590060 597265
  Show dependency treegraph
 
Reported: 2010-04-22 09:20 EDT by Olivier Fourdan
Modified: 2013-03-03 21:49 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 597265 (view as bug list)
Environment:
Last Closed: 2011-07-21 05:08:49 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Proposed patch (1009 bytes, patch)
2010-04-22 09:20 EDT, Olivier Fourdan
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1076 normal SHIPPED_LIVE net-snmp bug fix and enhancement update 2011-07-21 05:07:58 EDT

  None (edit)
Description Olivier Fourdan 2010-04-22 09:20:29 EDT
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 05:08:49 EDT
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 08:22:00 EDT
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

Note You need to log in before you can comment on or make changes to this bug.