Re: [PATCH 1/2] tftp: rework the logic to validate the load address

2024-09-17 Thread Vaishnav Achath
On 16/09/24 20:50, Sughosh Ganu wrote: Use the lmb_read_check() function to verify if it is safe to use a region of memory to load data from a tftp command. The current logic checks the amount of free memory available, starting from the 'load address'. This call fails if the same region of mem

[PATCH 1/2] tftp: rework the logic to validate the load address

2024-09-16 Thread Sughosh Ganu
Use the lmb_read_check() function to verify if it is safe to use a region of memory to load data from a tftp command. The current logic checks the amount of free memory available, starting from the 'load address'. This call fails if the same region of memory has been used earlier. This used to work