Re: [PATCH 01/13] net: tftp: Increase TFTP pkt string length to include null character

2025-03-20 Thread Chintan Vankar
Hello Wadim, On 20/03/25 12:44, Wadim Egorov wrote: Am 09.01.25 um 23:27 schrieb Tom Rini: On Thu, Jan 09, 2025 at 12:41:56PM +0530, Vankar, Chintan wrote: On 1/7/2025 7:52 PM, Tom Rini wrote: On Tue, Jan 07, 2025 at 03:08:28PM +0530, Chintan Vankar wrote: 'sprintf()' function defined in '

Re: [PATCH 01/13] net: tftp: Increase TFTP pkt string length to include null character

2025-03-20 Thread Wadim Egorov
Am 09.01.25 um 23:27 schrieb Tom Rini: On Thu, Jan 09, 2025 at 12:41:56PM +0530, Vankar, Chintan wrote: On 1/7/2025 7:52 PM, Tom Rini wrote: On Tue, Jan 07, 2025 at 03:08:28PM +0530, Chintan Vankar wrote: 'sprintf()' function defined in 'tiny-printf.c' is returning length of the string excl

Re: [PATCH 01/13] net: tftp: Increase TFTP pkt string length to include null character

2025-01-09 Thread Tom Rini
On Thu, Jan 09, 2025 at 12:41:56PM +0530, Vankar, Chintan wrote: > > > On 1/7/2025 7:52 PM, Tom Rini wrote: > > On Tue, Jan 07, 2025 at 03:08:28PM +0530, Chintan Vankar wrote: > > > > > 'sprintf()' function defined in 'tiny-printf.c' is returning length of the > > > string excluding null charact

Re: [PATCH 01/13] net: tftp: Increase TFTP pkt string length to include null character

2025-01-08 Thread Vankar, Chintan
On 1/7/2025 7:52 PM, Tom Rini wrote: On Tue, Jan 07, 2025 at 03:08:28PM +0530, Chintan Vankar wrote: 'sprintf()' function defined in 'tiny-printf.c' is returning length of the string excluding null character. Fix this by increasing TFTP pkt length by 1 to avoid TFTP error of request being no

Re: [PATCH 01/13] net: tftp: Increase TFTP pkt string length to include null character

2025-01-07 Thread Tom Rini
On Tue, Jan 07, 2025 at 03:08:28PM +0530, Chintan Vankar wrote: > 'sprintf()' function defined in 'tiny-printf.c' is returning length of the > string excluding null character. Fix this by increasing TFTP pkt length by > 1 to avoid TFTP error of request being not-null terminated while > requesting

[PATCH 01/13] net: tftp: Increase TFTP pkt string length to include null character

2025-01-07 Thread Chintan Vankar
'sprintf()' function defined in 'tiny-printf.c' is returning length of the string excluding null character. Fix this by increasing TFTP pkt length by 1 to avoid TFTP error of request being not-null terminated while requesting length of packet. Signed-off-by: Chintan Vankar --- net/tftp.c | 6 +++