[git commit] tftp: fix maximum allowed blcok size form 65564 to 65464

Denys Vlasenko vda.linux at googlemail.com
Sat Oct 3 13:26:15 UTC 2026


commit: https://git.busybox.net/busybox/commit/?id=0625fac9fe5a85688f593113ff9798d73f9696fe
branch: https://git.busybox.net/busybox/log/?h=master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 networking/tftp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/networking/tftp.c b/networking/tftp.c
index e13223d1d..d1eebdf1c 100644
--- a/networking/tftp.c
+++ b/networking/tftp.c
@@ -832,7 +832,7 @@ int tftp_main(int argc UNUSED_PARAM, char **argv)
 # if ENABLE_FEATURE_TFTP_BLOCKSIZE
 	/* Check if the blksize is valid:
 	 * RFC2348 says between 8 and 65464 */
-	blksize = tftp_blksize_check(blksize_str, 65564);
+	blksize = tftp_blksize_check(blksize_str, 65464);
 	if (blksize < 0) {
 		//bb_error_msg("bad block size");
 		return EXIT_FAILURE;


More information about the busybox-cvs mailing list