[bug #57562] TFTP Filenames not properly terminated

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[bug #57562] TFTP Filenames not properly terminated

Simon Goldschmidt
URL:
  <https://savannah.nongnu.org/bugs/?57562>

                 Summary: TFTP Filenames not properly terminated
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: christianherber
            Submitted on: Thu 09 Jan 2020 08:14:44 AM UTC
                Category: apps
                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.2

    _______________________________________________________

Details:

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.




    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?57562>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/


_______________________________________________
lwip-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-devel
Reply | Threaded
Open this post in threaded view
|

[bug #57562] TFTP Filenames not properly terminated

Simon Goldschmidt
Update of bug #57562 (project lwip):

                  Status:                    None => Duplicate              
             Assigned to:                    None => goldsimon              
             Open/Closed:                    Open => Closed                

    _______________________________________________________

Follow-up Comment #1:

This is fixed since v2.1.0

    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?57562>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/


_______________________________________________
lwip-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-devel