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

Submitted by:  Christian Herber <christianherber>
Submitted on:  Thu 09 Jan 2020 08:14:44 AM UTC  
Category:  apps Severity:  3 - Normal
Item Group:  Faulty Behaviour Status:  Duplicate
Privacy:  Public Assigned to:  Simon Goldschmidt <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>
Project AdministratorIn charge of this item.
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>


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)

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

    Only logged-in users can vote.




    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.5