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 length of packet.
> 
> Signed-off-by: Chintan Vankar <[email protected]>

Erm, if tiny-printf's sprintf doesn't work like lib/vsprintf.c's sprintf
in this regard, we should be fixing tiny-printf.

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to