lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #61066] mdns_resp_remove_netif does not set service po


From: Paul Reimer
Subject: [lwip-devel] [bug #61066] mdns_resp_remove_netif does not set service pointers to NULL after freeing
Date: Fri, 20 Aug 2021 17:47:12 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1 Safari/605.1.15

URL:
  <https://savannah.nongnu.org/bugs/?61066>

                 Summary: mdns_resp_remove_netif does not set service pointers
to NULL after freeing
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: zaber_paul
            Submitted on: Fri 20 Aug 2021 09:47:10 PM UTC
                Category: apps
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
            lwIP version: git head

    _______________________________________________________

Details:

mdns_resp_remove_netif calls mem_free on each element of the mdns->services
array, but it does not set the pointers to NULL after doing so (which becomes
an issue when repeatedly calling mdns_resp_add_netif / mdns_resp_remove_netif
during runtime):

https://git.savannah.nongnu.org/cgit/lwip.git/tree/src/apps/mdns/mdns.c#n2439




    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?61066>

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




reply via email to

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