[PATCH] fopen: create short(er) temporary file name
authorDaniel Stenberg <daniel@haxx.se>
Thu, 23 Nov 2023 07:23:17 +0000 (08:23 +0100)
committerSamuel Henrique <samueloph@debian.org>
Sun, 9 Mar 2025 10:45:45 +0000 (10:45 +0000)
commitc112bf2c42fa41627963a02c5bfbc04e816e44cd
treec5bc6594466cc6b616a6dd05bde02f0636fe2cfb
parent46b8ebca827d43a0b854eda016ac4412feff8b40
[PATCH] fopen: create short(er) temporary file name

Only using random letters in the name plus a ".tmp" extension. Not by
appending characters to the final file name.

Reported-by: Maksymilian Arciemowicz
Closes #12388

Backported by: Samuel Henrique <samueloph@debian.org>:
 * The function Curl_rand_alnum was renamed to Curl_rand_hex

Gbp-Pq: Name CVE-2023-46219.patch
lib/fopen.c