lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #49727] Missing character of 'p' from "_tcp" and "_udp


From: Daniel Velez
Subject: [lwip-devel] [bug #49727] Missing character of 'p' from "_tcp" and "_udp" strings
Date: Mon, 28 Nov 2016 15:06:53 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0

URL:
  <http://savannah.nongnu.org/bugs/?49727>

                 Summary: Missing character of 'p' from "_tcp" and "_udp"
strings
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: vdanika
            Submitted on: Mon 28 Nov 2016 03:06:50 PM GMT
                Category: DNS
                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.0.0

    _______________________________________________________

Details:

When mdnsResponder responses a query, it sends wrong protocol strings back,
'p' character is missing.

This is because in few cases the mdns_domain_add_label() function is called
with wrong length value.

The error caused by taking sizeof() a pointer instead of desired string, e.g.:
(u8_t)(sizeof(dnssd_protos[DNSSD_PROTO_UDP])-1).

This results in missing character of 'p' from "_tcp" and "_udp" strings.




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?49727>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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