lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #9896] Fix incorrect check for request->error_index


From: Harrold
Subject: [lwip-devel] [patch #9896] Fix incorrect check for request->error_index not 0 in snmp_parse_inbound_frame()
Date: Mon, 24 Feb 2020 06:17:46 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.106 Safari/537.36

URL:
  <https://savannah.nongnu.org/patch/?9896>

                 Summary:  Fix incorrect check for request->error_index not 0
in snmp_parse_inbound_frame()
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: harrold68
            Submitted on: Mon 24 Feb 2020 11:17:45 AM UTC
                Category: apps
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

The check within snmp_parse_inbound_frame()() for a valid error_index seems
incorrect. It checks for (s32_value == 0), but s32_value is not used for
parsing the error_index.

The variable s32_value was set (and checked already) just before when parsing
the error_status.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 24 Feb 2020 11:17:45 AM UTC  Name:
fix_snmp_parse_inbound_frame.patch  Size: 850B   By: harrold68

<http://savannah.nongnu.org/patch/download.php?file_id=48488>

    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/patch/?9896>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]