]> git.ipfire.org Git - thirdparty/curl.git/commit
examples: fix two more cases of `stat()` TOCTOU
authorViktor Szakats <commit@vsz.me>
Tue, 30 Sep 2025 09:41:11 +0000 (11:41 +0200)
committerViktor Szakats <commit@vsz.me>
Tue, 30 Sep 2025 10:28:43 +0000 (12:28 +0200)
commitc478c7efdf4ebbc8d768ae4cdfdcecf49b68cf94
treea514a9623296ce36e1036f6d60e24b527a668e04
parent5b086ba18833a3970919e692865ebabc00166869
examples: fix two more cases of `stat()` TOCTOU

Also:
- ftpupload: bump an intermediate variable size.

Follow-up to f13250edf11312ab8c0425cf39b182a31b53c6f7 #18605

Closes #18778
docs/examples/ftpupload.c
docs/examples/httpput.c