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

Submitted by:  Daniel Velez <vdanika>
Submitted on:  Mon 28 Nov 2016 03:06:50 PM UTC  
 
Category: DNSSeverity: 3 - Normal
Item Group: Faulty BehaviourStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedPlanned 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>
Project Member
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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 28 Nov 2016 03:08:50 PM UTCdziegelStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1