[Top][All Lists]

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

[lwip-devel] [bug #54228] dhcp.c, 1685: extra check

From: Andrey Vinogradov
Subject: [lwip-devel] [bug #54228] dhcp.c, 1685: extra check
Date: Mon, 2 Jul 2018 05:23:18 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3472.3 Safari/537.36


                 Summary: dhcp.c, 1685: extra check
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: andreyvinogradov
            Submitted on: Пн. 02 июля 2018 09:23:17
                Category: DHCP
                Severity: 3 - Normal
              Item Group: Compiler Warning
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
            lwIP version: git head



u16_t offset;
u16_t offset_max;
if ((offset < offset_max) && offset_max) {

if offset_max = 0, it means that offset < 0. So should be just

if (offset < offset_max) {
or some bug


Reply to this item at:


  Сообщение отправлено по Savannah

reply via email to

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