← Commit list

ca70514d8

Denys Vlasenko
Denys Vlasenko
2026-10-04
SUCCESS Duration: 328s

Subject

tftp: fix maximum allowed block size from 65564 to 65464 (location #2)

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/tftp.c+1 -1
@@ -962,7 +962,7 @@ int tftpd_main(int argc UNUSED_PARAM, char **argv)
if (opt_len > 0) {
res = tftp_get_option("blksize", opt_str, opt_len);
if (res) {
- blksize = tftp_blksize_check(res, 65564);
+ blksize = tftp_blksize_check(res, 65464);
if (blksize < 0) {
G_error_pkt_reason = ERR_BAD_OPT;
/* will just send error pkt */