buglwIP - A Lightweight TCP/IP stack - Bugs: bug #49727, Missing character of 'p' from...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #49727: Missing character of 'p' from "_tcp" and "_udp" strings

Submitter:  Daniel Velez <vdanika>
Submitted:  Mon 28 Nov 2016 03:06:50 PM UTC
   
 
Category:  DNS Severity:  3 - Normal
Item Group:  Faulty Behaviour Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Planned Release:  None
lwIP version:  2.0.0

Mon 28 Nov 2016 03:08:50 PM UTC, comment #1: 

Already fixed in git head. Commit ad17f345e7431ba69baae947c543bf2277256c92

but anyway, thanks for reporting!

Dirk Ziegelmeier <dziegel>
Group administrator
Mon 28 Nov 2016 03:06:50 PM UTC, original submission:  

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.

Daniel Velez <vdanika>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dziegel (Posted a comment)
  • -email is unavailable- added by vdanika (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-11-28 dziegel StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code