summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-02-04 08:05:24 -0600
committerTom Rini <[email protected]>2026-02-04 08:05:24 -0600
commiteb1562cc3e4c5130c76db1c1ea57156322362a7c (patch)
treeba5d95a9e4401433f460db33c3df0c265e2e45db /lib
parent3c72973b7a7fbc3f57b20bf2e2e630ba9d31a686 (diff)
parentf0a1eb8a3d13112f69c69b4c4752147cebe66900 (diff)
Merge tag 'net-20260204' of https://source.denx.de/u-boot/custodians/u-boot-net
Pull request net-20260204. net: - phy: aquantia: add support for Marvell CUX3410 10Gb PHY - drivers: phy: fix code documentation typo udevice_ops net-lwip: - Command fixes and improvements (dhcp, dns, nfs) - dhcp, tftp: do not write past end of buffer - Add TFTPSERVERIP Kconfig option misc: - Update Jerome's email address
Diffstat (limited to 'lib')
-rw-r--r--lib/lwip/lwip/src/apps/tftp/tftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lwip/lwip/src/apps/tftp/tftp.c b/lib/lwip/lwip/src/apps/tftp/tftp.c
index ecb6c55ae11..25da952e925 100644
--- a/lib/lwip/lwip/src/apps/tftp/tftp.c
+++ b/lib/lwip/lwip/src/apps/tftp/tftp.c
@@ -191,7 +191,7 @@ send_request(const ip_addr_t *addr, u16_t port, u16_t opcode, const char* fname,
MEMCPY(payload+2, fname, fname_length);
MEMCPY(payload+2+fname_length, mode, mode_length);
if (tftp_state.blksize)
- sprintf(payload+2+fname_length+mode_length, "blksize%c%d%c", 0, tftp_state.blksize, 0);
+ sprintf(payload+2+fname_length+mode_length, "blksize%c%d", 0, tftp_state.blksize);
tftp_state.wait_oack = true;
ret = udp_sendto(tftp_state.upcb, p, addr, port);