[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, 10 Dec 2023 06:07:30 +0000 (06:07 +0000)
commit954ac0d90d29ea03766b4eb9964840feb9a2de13
tree867f25cd7d5f970bf6e438749df1a30df398afc3
parent5b2d519902a0155db70c9412e9b66dde07133516
[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