[Top][All Lists]

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

[lwip-devel] [bug #50829] [CPPCHECK] Array index used before limits chec

From: user name
Subject: [lwip-devel] [bug #50829] [CPPCHECK] Array index used before limits check.
Date: Tue, 18 Apr 2017 21:58:17 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0


                 Summary: [CPPCHECK] Array index used before limits check.
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: username
            Submitted on: Wed 19 Apr 2017 01:58:16 AM UTC
                Category: IPv4
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
            lwIP version: git head




  while ((q != NULL) && (options[offset] != DHCP_OPTION_END) && (offset <
offset_max)) {
should be 
  while ((q != NULL) && (offset < offset_max) && (options[offset] !=

See https://jira.reactos.org/browse/CORE-8978 for more info.
Sorry I can't be much more helpful, I'm only a messenger, telling about an
issue someone else found.

Patch credits should go to "Kudratov Olimjon".


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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