buglwIP - A Lightweight TCP/IP stack - Bugs: bug #57562, TFTP Filenames not properly...

 
 

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

bug #57562: TFTP Filenames not properly terminated

Submitter:  Christian Herber <christianherber>
Submitted:  Thu 09 Jan 2020 08:14:44 AM UTC
   
 
Category:  apps Severity:  3 - Normal
Item Group:  Faulty Behaviour Status:  Duplicate
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned Release:  None
lwIP version:  2.0.2

Thu 09 Jan 2020 08:01:07 PM UTC, comment #1: 

This is fixed since v2.1.0

Simon Goldschmidt <goldsimon>
Group administrator
Thu 09 Jan 2020 08:14:44 AM UTC, original submission:  

tftp_server line 247, copies the filename from tftp packet to the filename char array. This does not copy the termination character. In consequence, the filename passed to the open() function is not (always) terminated.

Christian Herber <christianherber>

 

(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 goldsimon (Posted a comment)
  • -email is unavailable- added by christianherber (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-01-09 goldsimon StatusNone Duplicate
        Assigned toNone goldsimon
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code