1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 18:23:26 +02:00
Files
archived-php-src/ext
Athos Ribeiro cbfd73765a Fix off-by-one bug when truncating tempnam prefix
The tempnam documentation currently states that "Only the first 63
characters of the prefix are used, the rest are ignored". However when
the prefix is 64 characters-long, the current implementation fails to
strip the last character, diverging from the documented behavior. This
patch fixes the implementation so it matches the documented behavior for
that specific case where the prefix is 64 characters long.

Closes GH-11870

Signed-off-by: George Peter Banyard <girgias@php.net>
2023-08-08 09:46:27 +01:00
..
2022-06-25 07:39:55 +01:00
2022-07-27 12:13:32 +02:00
2022-09-13 11:33:09 +01:00
2023-07-18 19:21:13 +02:00
2022-04-25 14:29:44 +02:00
2023-03-27 16:33:36 +02:00
2023-08-03 21:48:34 +02:00
2023-03-27 16:33:36 +02:00
2023-07-31 19:53:43 +01:00
2023-03-01 23:02:03 +01:00
2023-03-27 16:33:36 +02:00
2023-07-31 19:53:43 +01:00
2023-07-31 19:53:43 +01:00
2023-08-01 11:41:13 +02:00