lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #64874] MDNS incomplete TXT passed to result_fn


From: Marek Láník
Subject: [lwip-devel] [bug #64874] MDNS incomplete TXT passed to result_fn
Date: Thu, 9 Nov 2023 02:56:03 -0500 (EST)

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

                 Summary: MDNS incomplete TXT passed to result_fn
                   Group: lwIP - A Lightweight TCP/IP stack
               Submitter: mlanik
               Submitted: Thu 09 Nov 2023 07:56:01 AM 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: 2.2.0


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Thu 09 Nov 2023 07:56:01 AM UTC By: Marek Láník <mlanik>
Using mdns_search_service

If the incomming DNS answer is in two pbufs and TXT record is split between
them, then called function result_fn parameter varpart contains incomplete
information.

suspicious line of code follows:

/* Direct call result_fn with varpart pointing in pbuf payload */
req->result_fn(&ans, (const char *)p->payload + offset, ans.rd_length, flags,
req->arg);








    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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