[patch #9896] Fix incorrect check for request->error_index not 0 in snmp_parse_inbound_frame()

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[patch #9896] Fix incorrect check for request->error_index not 0 in snmp_parse_inbound_frame()

Ashley Duncan
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/


_______________________________________________
lwip-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-devel