← Commit list

3660e6da80

Daniel Stenberg
Daniel Stenberg
2025-10-06
SUCCESS Duration: 151s

Subject

tftp: return error if it hits an illegal state

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 →

lib/tftp.c+1 -1
@@ -564,7 +564,7 @@ static CURLcode tftp_send_first(struct tftp_conn *state,
default:
failf(state->data, "tftp_send_first: internal error");
- break;
+ return CURLE_TFTP_ILLEGAL;
}
return result;